1 |
wakaba |
1.1 |
|
2 |
|
|
MANAKAI_ROOT_DIR = ../ |
3 |
|
|
BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
4 |
|
|
LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
5 |
|
|
|
6 |
|
|
DIS_DIR = $(MANAKAI_ROOT_DIR)lib/Message/DOM/ |
7 |
|
|
DIS_FILES = $(DIS_DIR)DOM*.dis |
8 |
|
|
|
9 |
|
|
PERL = perl -I$(LIB_DIR) |
10 |
|
|
PERLC = $(PERL) -c -w |
11 |
|
|
RM = rm -fv |
12 |
|
|
|
13 |
|
|
MKDOMMEMLIST_PL = $(BIN_DIR)mkdommemlist.pl |
14 |
|
|
MKDOMMEMLIST = $(PERL) $(MKDOMMEMLIST_PL) |
15 |
|
|
|
16 |
|
|
DOMMEMLIST = dommemlist.pl.tmp |
17 |
|
|
GENERATED_FILES = $(DOMMEMLIST) |
18 |
|
|
|
19 |
|
|
all: $(GENERATED_FILES) |
20 |
|
|
|
21 |
|
|
$(DOMMEMLIST): $(DIS_FILES) $(MKDOMMEMLIST_PL) |
22 |
|
|
$(MKDOMMEMLIST) $(DIS_FILES) > $@ |
23 |
|
|
$(PERLC) $@ |
24 |
|
|
|
25 |
|
|
clean: |
26 |
|
|
$(RM) $(GENERATED_FILES) *~ .*~ *.BAK .*.BAK |