#******************************************************************************* # 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 #------------------------------------------------------------------------ ACSERRDEF = ACSErrTypeAcsVlt #Java sources JARFILES = acsVltImpl acsTifGUI acsTifGUI_DIRS = VisualACSApplication acsVltImpl_DIRS = alma acsVltImpl_DIRS = alma acsVltImplGUI_DIRS = acsVltImplGUI acsVltImpl_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 EXECUTABLES = acsVltContainer acsVltContainer_OBJECTS = acsVltContainer acsVltContainer_LIBS = eccs CCS fnd C++ # # 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 = acsVltMountImpl.h acsVltMountLoopImpl.h \ acsVltMountNotifyImpl.h # # Libraries (public and local) # ---------------------------- LIBRARIES = acsVltMountImpl acsVltMountLoopImpl acsVltMountNotifyImpl acsVltMountImpl_OBJECTS = acsVltMountImpl acsVltMountImplDLL acsVltMountImpl_LIBS = eccs CCS fnd C++ acsVltMountStubs ACSErrTypeAcsVlt acsVltMountLoopImpl_OBJECTS = acsVltMountLoopImpl acsVltMountImpl acsVltMountLoopImpl_LIBS = eccs CCS fnd C++ acsVltMountStubs ACSErrTypeAcsVlt acsVltMountNotifyImpl_OBJECTS = acsVltMountNotifyImpl acsVltMountNotifyImpl_LIBS = acsVltMountStubs acsnc ACSErrTypeAcsVlt # # On-Line Database Files # ---------------------- CDB_SCHEMAS = AcsVltMount AcsVltMountRW # # 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 = acsVltMount USER_IDL = # Python stuff PY_SCRIPTS = acsVltMountSimple acsVltMountCallback acsVltMountSupplier acsVltMountConsumer PY_PACKAGES = ACSVLT_MOUNTImpl # # Install jar files for Abeans # TODO: This will be integrated in the ACS Makefile # ABEANS = ACSErrTypeAcsVlt acsVltMount ABEANS_IDL = $(foreach abeans, $(ABEANS), ../idl/$(abeans).idl) ABEANS_JAR = $(foreach abeans, $(ABEANS), ../lib/$(abeans)Abeans.jar) INSTALL_FILES = $(ABEANS_JAR) # #>>>>> 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 # # TARGETS # ------- all: do_all abeans @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___