#******************************************************************************* # ALMA - Atacama Large Millimiter Array # # "@(#) $Id: Makefile,v 1.10 2004/02/02 10:39:30 bjeram Exp $" # # Makefile of ........ # # #******************************************************************************* # REMARKS # This Makefile adds abeans generation for the example. # TODO: This will be refactored later on when the abeans generation # will be directly supported by the ACS Makefile #------------------------------------------------------------------------ #Python sources #PY_SCRIPTS = acscourseMountSupplier acscourseMountConsumer ACSERRDEF = ACSErrTypeISABELLA #Java sources JARFILES = isabellaGui isabellaGui_DIRS = pippo acscourseImpl_DIRS = alma acscourseImpl_EXTRAS = USER_CFLAGS = USER_LIB = -lACE \ -lTAO \ -lTAO_DsLogAdmin \ -lTAO_CosNaming \ -lTAO_IORTable \ -lTAO_PortableServer \ -lTAO_Svc_Utils \ -lTAO_CosTrading \ -lTAO_CosNotification \ -lTAO_DynamicAny \ -lTAO_IFR_Client \ -lTAO_CosProperty \ -lacsutil \ -lcdb \ -llogging \ -lacscomponent \ -lbaci \ -lmaci \ -lmaciClient \ -lacserr \ -lm # # MODULE CODE DESCRIPTION: # ------------------------ # As a general rule: public file are "cleaned" and "installed" # local (_L) are not "installed". # # Includes (.h) files (public and local) # --------------------------------- INCLUDES = isabellaLampImpl.h isabellasmartLampImpl.h isabellasmartLampLoopImpl.h # # Libraries (public and local) # ---------------------------- LIBRARIES = isabellaLampImpl isabellasmartLampImpl isabellasmartLampLoopImpl isabellaLampImpl_OBJECTS = isabellaLampImpl isabellaLampImpl_LIBS = isabellaLampStubs ACSErrTypeISABELLA isabellasmartLampImpl_OBJECTS = isabellasmartLampImpl isabellasmartLampImpl_LIBS = isabellaLampStubs ACSErrTypeISABELLA isabellasmartLampLoopImpl_OBJECTS = isabellasmartLampLoopImpl isabellasmartLampImpl isabellasmartLampLoopImpl_LIBS = isabellaLampStubs ACSErrTypeISABELLA # # On-Line Database Files # ---------------------- #CDB_SCHEMAS = ACSCourseMount ACSCourseMountRW #CDB_SCHEMAS = isabellasmart_LampRW CDB_SCHEMAS = SMART_LAMP # # list of all possible C-sources (used to create automatic dependencies) # ------------------------------ CSOURCENAMES = \ $(foreach exe, $(EXECUTABLES) $(EXECUTABLES_L), $($(exe)_OBJECTS)) \ $(foreach lib, $(LIBRARIES) $(LIBRARIES_L), $($(lib)_OBJECTS)) # # IDL FILES # IDL_FILES = isabellaLamp USER_IDL = # Python stuff #PY_SCRIPTS = mountSimple mountCallback #PY_PACKAGES = ISABELLA_LAMPImpl # #>>>>> END OF standard rules # # CHOSE PLATFORM # -------------- # Default is UNIX, for VxVorks application next line MUST BE UNCOMMENTED #MAKE_VXWORKS = on # # INCLUDE STANDARDS # ----------------- ifdef ACSROOT MAKEDIR = $(ACSROOT)/include include $(MAKEDIR)/acsMakefile else MAKEDIR = $(VLTROOT)/include include $(MAKEDIR)/vltMakefile endif ABEANS = ACSErrTypeISABELLA isabellaLamp ABEANS_IDL = $(foreach abeans, $(ABEANS), ../idl/$(abeans).idl) ABEANS_JAR = $(foreach abeans, $(ABEANS), ../lib/$(abeans)Abeans.jar) INSTALL_FILES = $(ABEANS_JAR) # # TARGETS # ------- #all: do_all abeans all: abeans do_all @echo " . . . 'all' done" # # Also deletes jar files for Abeans # TODO: This will be integrated in the ACS Makefile # clean : clean_all $(RM) *~ ../include/*~ ../idl/*~ ../*~ ../../*~ ../doc/html/* core $(RM) tmp.txt $(RM) ../lib/*Abeans.jar @echo " . . . clean done" clean_dist : clean clean_dist_all @echo " . . . clean_dist done" man : do_man @echo " . . . man page(s) done" install : install_all @echo " . . . installation done" # # Install jar files for Abeans # TODO: This will be integrated in the ACS Makefile # abeans : $(ABEANS_JAR) # ../lib/%Abeans.jar : ../idl/%.idl @export INSTALLDIR=../lib; abeansgen $? #___oOo___