1 |
|
RM = rm |
2 |
|
RMALL = $(RM) -fv |
3 |
|
|
4 |
MANAKAI_ROOT_DIR = ../ |
all: |
|
BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
|
|
LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
|
|
|
|
|
DIS_DIR = $(MANAKAI_ROOT_DIR)lib/Message/DOM/ |
|
|
DIS_FILES = $(DIS_DIR)DOM*.dis |
|
|
|
|
|
PERL = perl -I$(LIB_DIR) |
|
|
PERLC = $(PERL) -c -w |
|
|
RM = rm -fv |
|
|
|
|
|
MKDOMMEMLIST_PL = $(BIN_DIR)mkdommemlist.pl |
|
|
MKDOMMEMLIST = $(PERL) $(MKDOMMEMLIST_PL) |
|
|
|
|
|
DOMMEMLIST = dommemlist.pl.tmp |
|
|
GENERATED_FILES = $(DOMMEMLIST) |
|
|
|
|
|
all: $(GENERATED_FILES) |
|
|
|
|
|
$(DOMMEMLIST): $(DIS_FILES) $(MKDOMMEMLIST_PL) |
|
|
$(MKDOMMEMLIST) $(DIS_FILES) > $@ |
|
|
$(PERLC) $@ |
|
5 |
|
|
6 |
clean: |
clean: |
7 |
$(RM) $(GENERATED_FILES) *~ .*~ *.BAK .*.BAK |
$(RMALL) *~ .*~ *.BAK .*.BAK |
8 |
|
|
9 |
|
## License: Public Domain. |
10 |
|
## $Date$ |