# $HeadURL$ $LastChangedRevision$ ############################################################################## # # PREAMBLE # ############################################################################## ADE_MF_MODROOT_DIR = .. include $(ADEROOT)/include/common/Makefile ############################################################################## # # MODULE-SPECIFIC VARIABLES USED ONLY IN THIS FILE # ############################################################################### # 'ADEINCDIRLSCHACK' is to facilitate the compilation of just one thing: # ADE's 'include' directory. In doing that compile, make will invoke the # SUBMAKER, and that will invoke '$(MAKE) lsc' in order to get the names of # the directory's sub components. That will fail, because *that* invocation # of make will look in 'Makefile', not 'Makefile.include' (this file). So, # by setting this variable here, and the SUBMAKER using it (well, most of # the time it doesn't because nobody else sets it!) we make it refer to the # right makefile for the list of sub components. # SUBMAKER ADEINCDIRLSCHACK = -f Makefile.include ADE_MF_INSTALL_CMD = $(ADE_MF_RECADEINST_CMD) ADE_MF_INSTALL_FLAGS = -m 644 -F Makefile.include $(INSTALL_FLAGS) #ADE_MF_INSTALL_ARGS = specified in the install target recipe ADE_MF_INSTALL_DIR = $(INCDIR) ############################################################################## # # MODULE-SPECIFIC DEPENDENCIES FOR STANDARD TARGETS # ############################################################################## ade_mf_install: $(ADE_MF_INSTALL_DIR) ############################################################################## # # MODULE-SPECIFIC DEPENDENCIES FOR NON-STANDARD TARGETS # ############################################################################## ############################################################################## # # MODULE-SPECIFIC RECIPES FOR STANDARD TARGETS # ############################################################################## ade_mf_install: $(ADE_MF_INSTALL_CMD) $(ADE_MF_INSTALL_FLAGS) . $(ADE_MF_INSTALL_DIR) ############################################################################## # # MODULE-SPECIFIC RECIPES FOR NON-STANDARD TARGETS # ############################################################################## $(ADE_MF_INSTALL_DIR): $(ADE_MF_ADEINST_CMD) -d $@