#******************************************************************************* # ALMA - Atacama Large Millimiter Array # (c) National Research Council of Canada, 2008 # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # "@(#) $Id: Makefile,v 1.3 2012/10/05 15:26:17 hsommer Exp $" # # Makefile of ........ # # who when what # -------- -------- ---------------------------------------------- # agrimstrup 2008-12-10 created # #******************************************************************************* # This Makefile follows VLT Standards (see Makefile(5) for more). #******************************************************************************* # REMARKS # None #------------------------------------------------------------------------ # # user definable C-compilation flags #USER_CFLAGS = -g # # additional include and library search paths #USER_INC = #USER_LIB = # # MODULE CODE DESCRIPTION: # ------------------------ # As a general rule: public file are "cleaned" and "installed" # local (_L) are not "installed". # # C programs (public and local) # ----------------------------- EXECUTABLES = EXECUTABLES_L = acsComponentSmartPtrTest acsComponentStorageTest # # acsComponentSmartPtrTest_OBJECTS = mockContainerServicesImpl \ mockComponentImpl \ acsComponentSmartPtrTestImpl \ acsComponentSmartPtrTest acsComponentSmartPtrTest_LIBS = cppunit loki acscomponent maci acsComponentStorageTest_OBJECTS = mockContainerServicesImpl \ mockComponentImpl \ acsComponentStorageTestImpl \ acsComponentStorageTest acsComponentStorageTest_LIBS = cppunit loki acscomponent maci # # list of all possible C-sources (used to create automatic dependencies) # ------------------------------ CSOURCENAMES = \ $(foreach exe, $(EXECUTABLES) $(EXECUTABLES_L), $($(exe)_OBJECTS)) \ $(foreach rtos, $(RTAI_MODULES) , $($(rtos)_OBJECTS)) \ $(foreach lib, $(LIBRARIES) $(LIBRARIES_L), $($(lib)_OBJECTS)) # # Java stuff # ----------------------------- DEBUG=on JARFILES = acsContainerServicesTest acsContainerServicesTest_DIRS = alma # #>>>>> END OF standard rules # # INCLUDE STANDARDS # ----------------- MAKEDIRTMP := $(shell searchFile include/acsMakefile) ifneq ($(MAKEDIRTMP),\#error\#) MAKEDIR := $(MAKEDIRTMP)/include include $(MAKEDIR)/acsMakefile endif # # TARGETS # ------- all: do_all mkdir -p tmp @echo " . . . 'all' done" clean : clean_all $(RM) *~ ../include/*~ $(RM) tmp tatlogs @echo " . . . clean done" clean_dist : clean_all clean_dist_all @echo " . . . clean_dist done" man : do_man @echo " . . . man page(s) done" install : install_all @echo " . . . installation done" #___oOo___