1 |
MANAKAI_ROOT_DIR = ../ |
RM = rm |
2 |
MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
RMALL = $(RM) -fv |
|
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
|
3 |
|
|
4 |
RM = rm -fv |
all: |
|
|
|
|
DIS_SUFFIX = .dis |
|
|
DAC_SUFFIX = .dae |
|
|
DAEM_SUFFIX = .daem |
|
|
|
|
|
PERL_OPTIONS = |
|
|
PERL = perl |
|
|
PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) |
|
|
PERLC = $(PERL) -c -w |
|
|
PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) |
|
|
|
|
|
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)" |
|
|
|
|
|
MKDOMMEMLIST_OPTIONS = |
|
|
MKDOMMEMLIST_PL = $(MANAKAI_BIN_DIR)mkdommemlist.pl |
|
|
MKDOMMEMLIST = $(PERL_) $(MKDOMMEMLIST_PL) $(MKDOMMEMLIST_OPTIONS) \ |
|
|
$(DIS_OPTIONS_ALL) |
|
|
|
|
|
DOMMEMLIST = dommemlist.pl.tmp |
|
|
GENERATED_FILES = $(DOMMEMLIST) |
|
|
|
|
|
DOM_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX) |
|
|
|
|
|
all: $(GENERATED_FILES) |
|
|
|
|
|
$(DOMMEMLIST): $(DOM_DAC) $(MKDOMMEMLIST_PL) |
|
|
$(MKDOMMEMLIST) $< > $@ |
|
|
$(PERLC_) $@ |
|
5 |
|
|
6 |
clean: |
clean: |
7 |
$(RM) $(GENERATED_FILES) *~ .*~ *.BAK .*.BAK |
$(RMALL) *~ .*~ *.BAK .*.BAK |
8 |
|
|
9 |
|
## License: Public Domain. |
10 |
|
## $Date$ |