#******************************************************************************* # E.S.O. - VLT project # # "@(#) $Id: Makefile,v 1.83 2005/01/31 22:18:34 dfugate Exp $" # # Makefile of ........ # # who when what # -------- -------- ---------------------------------------------- # rlemke 2001-03-20 Created from mount module example # almamgr 2000-07-20 created # #******************************************************************************* # This Makefile follows VLT Standards (see Makefile(5) for more). #******************************************************************************* # REMARKS # None #------------------------------------------------------------------------ USER_CFLAGS = USER_LIB = # Program to build # Can be overwritten in the call 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 = EXECUTABLES_L = # ---> CDB_Test in text directory # # # # Includes (.h) files (public and local) # --------------------------------- INCLUDES = INCLUDES_L = # # Libraries (public and local) # ---------------------------- LIBRARIES = LIBRARIES_L = ps_OBJECTS = mount_OBJECTS = # # Scripts (public and local) # ---------------------------- SCRIPTS = SCRIPTS_L = # # TCL scripts (public and local) # ------------------------------ TCL_SCRIPTS = TCL_SCRIPTS_L = # # TCL libraries (public and local) # ------------------------------ TCL_LIBRARIES = TCL_LIBRARIES_L = # # tttlll_OBJECTS = # # 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 = # # 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 = # #>>>>> END OF standard rules # # CHOSE PLATFORM # -------------- # Default is UNIX, for VxVorks application next line MUST BE UNCOMMENTED MAKE_VXWORKS = on ifdef WIND_BASE # # INCLUDE STANDARDS # ----------------- MAKEDIRTMP := $(shell searchFile include/acsMakefile) ifneq ($(MAKEDIRTMP),\#error\#) MAKEDIR := $(MAKEDIRTMP)/include include $(MAKEDIR)/acsMakefile endif # # TARGETS # ------- all: do_all @echo " . . . 'all' done" clean : clean_all $(RM) iors.dat *~ ../include/*~ ../dbl/*~ ../idl/*~ ../*~ core @echo " . . . clean done" man : do_man @echo " . . . man page(s) done" install : install_all @echo " . . . installation done" else all: @echo " WIND_BASE not defined. Nothing to do 'all'!" clean : @echo " WIND_BASE not defined. Nothing to 'clean' !" clean_dist : @echo " WIND_BASE not defined. Nothing to 'clean_dist' !" man : @echo " WIND_BASE not defined. Nothing to 'man' !" install : @echo " WIND_BASE not defined. Nothing to 'install' !" endif #___oOo___