# Compile the entire package. This is the default target in # Automake-generated Makefiles, but it does not need to be the default # in third-party Makefiles. all: PYTHONPATH=$(ORB_PYTHONPATH) $(PYTHON) @abs_srcdir@/setup.py --idlcompile --idlcompiler=$(PY_IDLC_PATH) --idlroot=$(CIPRES_IDL_DIR) --idlcosdir=$(ORB_COSS_IDL_DIRS) --idlcosfiles="$(FROM_ORB_PREFIXES)" --idldefs="$(DEFS) $(IDL_PY_CPP_FLAGS) $(IDLPYFLAGS) -DRENDEZ_VOUS" # Copy files to distribute into $(distdir), before a tarball is # constructed. Of course this target is not required if the no-dist # option (see Options) is used. #The variables $(top_distdir) and # $(distdir) (see Dist) will be passed from the outer package to the # subpackage when the distdir target is invoked. These two variables # have been adjusted for the directory that is being recursed into, so # they are ready to use. EXTRA_DIST = \ DevReadme.txt \ PIPRes \ README.txt \ examples \ setup.py \ test \ test_install dist-hook: find "$(distdir)" -depth -name .svn -and -type d -and -exec rm -rf {} \; # Install or uninstall files # see http://sources.redhat.com/automake/automake.html#Install install-exec-hook: @echo install-exec-hook target unimplemented uninstall: rm -rf "$(pythondir)/PIPRes" # Install only tex-info files # See http://sources.redhat.com/automake/automake.html#Texinfo install-info: @echo The install-info target is not implemented. # Create install dirs, but don't install any files installdirs: @echo The installdirs target is not implemented. # Check (test) the package # See http://sources.redhat.com/automake/automake.html#Tests check: PYTHONPATH="$(PYTHONPATH):@prefix@/@CIPRES_OMNIORBPY_PYTHONPATH@:@abs_srcdir@" $(PYTHON) @abs_srcdir@/PIPRes/scripts/run_pipres_tests.py "@abs_srcdir@/test" installcheck: (CIPRES_ROOT="@prefix@" source "@prefix@/share/cipres/python.bashrc" ; $(PYTHON) @abs_srcdir@/PIPRes/scripts/run_pipres_tests.py "@abs_srcdir@/test_install") mostlyclean: @echo The mostlyclean target is not implemented. clean: $(PYTHON) @abs_srcdir@/setup.py clean # Todo if "python" directory already exists, verify that it's a link to our python directory. install: all PYTHONPATH=$(ORB_PYTHONPATH) $(PYTHON) @abs_srcdir@/setup.py install --prefix=$(prefix) --install-purelib=$(pythondir) --install-platlib=$(pythondir) ( cd $(prefix)/lib && \ if test ! -e python ; then \ $(LN_S) python$(PYTHON_VERSION) python; \ fi; ) # s,@pythondir@,${prefix}/lib/python2.4/site-packages,;t t distclean: @echo The distclean target is not implemented. maintainer-clean: clean @echo The maintainer-clean target is not implemented. dvi: @echo The dvi target is not implemented. pdf: @echo The pdf target is not implemented. ps: @echo The ps target is not implemented. info: @echo The info target is not implemented html: @echo The html target is not implemented tags: @echo The tags target is not implemented. ctags: @echo The ctags target is not implemented.