MANAKAI_ROOT_DIR = ../../../ MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ DIS_SUFFIX = .dis DAC_SUFFIX = .dae DAEM_SUFFIX = .daem PM_SUFFIX = .pm CD = cd MAKE = make RM = rm PERL = perl PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR) PERL_OPTIONS = $(PERL_OPTIONS3) PERL_ = $(PERL) $(PERL_OPTIONS) PERLC = $(PERL) -c -w PERLC_OPTIONS3 = $(PERL_OPTIONS) PERLC_OPTIONS = $(PERLC_OPTIONS3) PERL_CHK = $(PERLC) $(PERLC_OPTIONS) TOUCH = touch NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# DIS_OPTIONS = DIS_OPTIONS_ALL = $(DIS_OPTIONS) \ --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ --dis-file-suffix="$(DIS_SUFFIX)" \ --daem-file-suffix="$(DAEM_SUFFIX)" DAC_OPTIONS = DAC_PL = $(MANAKAI_BIN_DIR)dac.pl DAC = $(PERL_) $(DAC_PL) $(DAC_OPTIONS) $(DIS_OPTIONS_ALL) \ --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \ --output-file-name= DAC2PM_OPTIONS3 = --enable-assert DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3) DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS) $(DIS_OPTIONS_ALL) UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX) DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \ DOMLS.dis GenericLS.dis DOM_LS_DIS_FILES = SimpleLS.dis DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \ $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) GENERATED_FILES = \ feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \ core$(DAC_SUFFIX) DOMMain$(PM_SUFFIX) \ DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ GenericLS$(PM_SUFFIX) \ ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) \ html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \ core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES) feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL) $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis core$(DAC_SUFFIX): feature$(DAC_SUFFIX) $(DOM_CORE_DIS_FILES) $(DAC_PL) $(DAC)$@.tmp.1 --input-db-file-name="$<" DOMLS.dis $(DAC)$@ --input-db-file-name="$@.tmp.1" GenericLS.dis $(RM) $@.tmp.1 ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL) $(DAC)$@ --input-db-file-name="$<" SimpleLS.dis html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL) $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ --output-file-path="$@" $(PERL_CHK) $@ .core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< \ --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)" $(PERL_CHK) DOMFeature$(PM_SUFFIX) $(PERL_CHK) DOMMain$(PM_SUFFIX) $(PERL_CHK) DOMCore$(PM_SUFFIX) $(PERL_CHK) DOMXML$(PM_SUFFIX) $(PERL_CHK) DOMLS$(PM_SUFFIX) $(PERL_CHK) GenericLS$(PM_SUFFIX) $(TOUCH) $@ $(DOM_LS_DIS_FILES:.dis=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ --output-file-path="$@" $(PERL_CHK) $@ .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< \ --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" $(PERL_CHK) SimpleLS$(PM_SUFFIX) $(TOUCH) $@ $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@ $(PERL_CHK) $@ .html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL) $(DAC2PM) $< \ --create-perl-module="$(NS_MDOM)DOMHTML DOMHTML$(PM_SUFFIX)" \ --create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)" $(PERL_CHK) DOMHTML$(PM_SUFFIX) $(PERL_CHK) DOMWebForms$(PM_SUFFIX) $(TOUCH) $@ feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL) $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \ --for="$(NS_MANAKAIDOM)ForSpecLatest" # $(UTIL_CORE_DAC_FILE) $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX) dummy: clean: $(RM) $(GENERATED_FILES) $(RM) .*.tmp *~ .*~ *.BAK .*.BAK $(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) ## $Date: 2005/09/30 13:06:15 $ ## License: Public Domain.