# $HeadURL$ $LastChangedRevision$ ifndef FACILITY_APPLICATIONS_MK FACILITY_APPLICATIONS_MK = 1 # In pass #1: load recipe generators # In pass #0: load generated recipes include method-install.mk # Variables mentioned both in pass#1 and pass#0. # The following should be defined somewhere else: INSTALL_APPS, UNINSTALL_APPS # Tell recipe generators what to generate recipes for ifeq ($(PCMS_PASS_NUM),1) all.install: $(patsubst %,%.install,$(INSTALL_APPS)) all.uninstall: $(patsubst %,%.uninstall,$(UNINSTALL_APPS)) # The real Makefile else ifeq ($(PCMS_PASS_NUM),0) all.facility: applications.facility applications.facility: $(patsubst %,%.install,$(INSTALL_APPS)) $(patsubst %,%.uninstall,$(UNINSTALL_APPS)) touch $@ endif # PCMS_PASS_NUM endif # FACILITY_APPLICATIONS_MK