# # ant tasks in generated build.xmls: # clean -- clean the output (target) directory # compile -- compile code in src/main # compile-tests -- compile test code # get-deps -- download all dependencies # jar -- generate a jar # test -- run test cases # # JAVA_MODULES=cipres-idl-jar cipres-library-jar install-data-hook: # cp $(DESTDIR)$(pkgdatadir)/cipres_registry_template.xml $(DESTDIR)$(pkgdatadir)/cipres_registry.xml uninstall-hook: echo " rm -f '$(DESTDIR)$(sysconfdir)/cipres_registry.xml'" rm -f $(DESTDIR)$(sysconfdir)/cipres_registry.xml cd cipres-idl-jar && @ANT@ @ANT_ARGS@ uninstall cd cipres-library-jar && @ANT@ @ANT_ARGS@ uninstall cd native && make uninstall # 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: $(install_sh) -d cipres-idl-jar cd cipres-idl-jar && @ANT@ @ANT_ARGS@ jar $(install_sh) -d cipres-library-jar cd cipres-library-jar && @ANT@ @ANT_ARGS@ jar cd native && make # 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 = \ cipres-idl-jar \ cipres-library-jar \ jars \ native dist-hook: find "$(distdir)/cipres-idl-jar" -depth -name .svn -and -type d -and -exec rm -rf {} \; find "$(distdir)/cipres-library-jar" -depth -name .svn -and -type d -and -exec rm -rf {} \; find "$(distdir)/jars" -depth -name .svn -and -type d -and -exec rm -rf {} \; find "$(distdir)/native" -depth -name .svn -and -type d -and -exec rm -rf {} \; rm -rf "$(distdir)/jars/org/cipres" # these are distclean operations, but that target isn't executed in native # because it isn't listed as a subdir rm -rf "$(distdir)/native/.libs" rm -rf "$(distdir)/native/.deps" rm -f "$(distdir)/native/*.o" rm -f "$(distdir)/native/*.lo" rm -f "$(distdir)/native/Makefile" # Install or uninstall files # see http://sources.redhat.com/automake/automake.html#Install install-exec-hook: cd cipres-idl-jar && @ANT@ @ANT_ARGS@ install cd cipres-library-jar && @ANT@ @ANT_ARGS@ install cd native && make install installcheck-local: cd cipres-idl-jar && @ANT@ @ANT_ARGS@ test cd cipres-library-jar && @ANT@ @ANT_ARGS@ test check: cd cipres-idl-jar && @ANT@ @ANT_ARGS@ test cd cipres-library-jar && @ANT@ @ANT_ARGS@ test clean: cd cipres-idl-jar && @ANT@ @ANT_ARGS@ clean cd cipres-library-jar && @ANT@ @ANT_ARGS@ clean html: cd cipres-library-jar && @ANT@ @ANT_ARGS@ javadoc