#******************************************************************************* # ALMA - Atacama Large Millimiter Array # (c) European Southern Observatory, 2002 # Copyright by ESO (in the framework of the ALMA collaboration), # All rights reserved # # 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.23 2012/01/21 22:48:11 tstaig Exp $" # # Makefile of ........ # # who when what # -------- -------- ---------------------------------------------- # oat 07/04/03 created # #******************************************************************************* # This Makefile follows VLT Standards (see Makefile(5) for more). #******************************************************************************* # REMARKS # None #------------------------------------------------------------------------ # # user definable C-compilation flags USER_CFLAGS = # # additional include and library search paths #USER_INC = #USER_LIB = PROG = # # MODULE CODE DESCRIPTION: # ------------------------ # As a general rule: public file are "cleaned" and "installed" # local (_L) are not "installed". # # C programs (public and local) # ----------------------------- EXECUTABLES = $(PROG) acssampOnlyNCServer \ acssampFullNCTest \ acssampOnlyNCClient \ acssampPerfServer \ acssampPerfClient EXECUTABLES_L = # # acssampOnlyNCServer_OBJECTS = acssampOnlyNCServer acssampOnlyNCServer_LIBS = acssampStubs maciClient acssampFullNCTest_OBJECTS = acssampFullNCTest acssampFullNCTest_LIBS = acssampStubs acsnc maciClient acssampOnlyNCClient_OBJECTS = acssampOnlyNCClient acssampOnlyNCClient_LIBS = acssampStubs acsnc maciClient acssampPerfServer_OBJECTS = acssampPerfServer acssampPerfServer_LIBS = acssampStubs maciClient acssampPerfClient_OBJECTS = acssampPerfClient acssampPerfClient_LIBS = acssampStubs acsnc maciClient # # special compilation flags for single c sources #yyyyy_CFLAGS = # # Includes (.h) files (public only) # --------------------------------- INCLUDES = # # Libraries (public and local) # ---------------------------- LIBRARIES = LIBRARIES_L = # # acssamp_OBJECTS = # # Scripts (public and local) # ---------------------------- SCRIPTS = acssampTestRun.sh \ startAcssampTest.sh \ acssampTATPrologue \ acssampTATEpilogue SCRIPTS_L = # # TCL scripts (public and local) # ------------------------------ #TCL_SCRIPTS = acssampTest #acssampTest_OBJECTS = acssampTest #acssampTest_TCLSH = expect TCL_SCRIPTS_L = # # Python stuff (public and local) # ---------------------------- PY_SCRIPTS = PY_SCRIPTS_L = acssampConsumer PY_MODULES = PY_MODULES_L = PY_PACKAGES = PY_PACKAGES_L = pppppp_MODULES = # # # IDL Files and flags # IDL_FILES = IDL_TAO_FLAGS = USER_IDL = # # Jarfiles and their directories # JARFILES = acssampJava acssampJava_DIRS = alma # # man pages to be done # -------------------- MANSECTIONS = MAN1 = MAN3 = MAN5 = MAN7 = MAN8 = # # local man pages # --------------- MANl = # # ASCII file to be converted into Framemaker-MIF # -------------------- ASCII_TO_MIF = # # other files to be installed #---------------------------- INSTALL_FILES = # # 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)) # #>>>>> 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 ref @if [ $(WIND_BASE) ]; then \ cp -f TestList_BOTH.lite TestList.lite; \ cp -f ref_BOTH/*.ref ref ;\ else\ cp -f TestList_WS.lite TestList.lite; \ cp -f ref_WS/*.ref ref ;\ fi; @echo " . . . 'all' done" clean : clean_all $(RM) *.ior *~ ../include/*~ ../dbl/*~ ../idl/*~ ../*~ core $(RM) TestList.lite tatlogs ref test.log $(RM) tmp/* @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" #___oOo___