5 ADLIB_PATH
= ..
/..
/include
7 CINCLUDE
= -I
$(ADLIB_PATH
)
13 D
= $(ADLIB_PATH
)/AD
/rewrite
16 OBJS
= twig.
$(OBJ
) b_item.
$(OBJ
) b_items.
$(OBJ
) b_rules.
$(OBJ
) burs_gen.
$(OBJ
) \
17 twig_gen.
$(OBJ
) burs.
$(OBJ
) cache.
$(OBJ
)
24 b_rules.
cc: b_rules.pcc
$(ad
)/automata
/treegram.ph
26 twig.
$(OBJ
): twig.
cc $D/twig.h
$(ad
)/automata
/topdown.h \
27 $(ad
)/automata
/ac.h
$(ad
)/automata
/sparsdfa.h \
28 $(ad
)/automata
/compdfa.h
$(ad
)/automata
/dfatable.h \
29 $(ad
)/memory
/mem.h
$(ad
)/memory
/boundtag.h \
30 $(ad
)/contain
/bitset.h
$(ad
)/generic
/generic.h
31 twig_gen.
$(OBJ
): twig_gen.
cc $D/twig_gen.h
$(ad
)/automata
/topdown.h \
32 $(ad
)/automata
/ac.h
$(ad
)/automata
/sparsdfa.h \
33 $(ad
)/automata
/compdfa.h
$(ad
)/automata
/dfatable.h \
34 $(ad
)/memory
/mem.h
$(ad
)/memory
/boundtag.h \
35 $(ad
)/contain
/bitset.h
$(ad
)/generic
/generic.h
36 b_item.
$(OBJ
): b_item.
cc $D/b_item.h
$(ad
)/automata
/treetab.h \
37 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h \
38 $(ad
)/generic
/generic.h
39 b_items.
$(OBJ
): b_items.
cc $D/b_items.h
$D/b_item.h
$(ad
)/automata
/treetab.h \
40 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h \
41 $(ad
)/generic
/generic.h
42 b_rules.
$(OBJ
): b_rules.
cc $D/b_rules.h
$D/b_items.h
$D/b_item.h \
43 $(ad
)/automata
/treetab.h \
44 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h \
45 $(ad
)/generic
/generic.h
46 burs.
$(OBJ
): burs.
cc $D/burs.h \
47 $(ad
)/automata
/treetab.h
$(ad
)/automata
/treeauto.h \
48 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h
49 burs_gen.
$(OBJ
): burs_gen.
cc $D/burs_gen.h \
50 $D/b_items.h
$D/b_item.h
$D/b_rules.h \
51 $(ad
)/automata
/treetab.h
$(ad
)/automata
/treeauto.h \
52 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h \
53 $(ad
)/generic
/generic.h
$(ad
)/hash
/dchash.h \
54 $(ad
)/automata
/dfatable.h
$(ad
)/automata
/compdfa.h \
55 $(ad
)/automata
/sparsdfa.h
56 burs_gn2.
$(OBJ
): burs_gn2.
cc $D/burs_gn2.h
$D/burs_gen.h \
57 $D/b_items.h
$D/b_item.h
$D/b_rules.h \
58 $(ad
)/automata
/treetab.h
$(ad
)/automata
/treeauto.h \
59 $(ad
)/automata
/treegram.h
$(ad
)/memory
/mem.h \
60 $(ad
)/generic
/generic.h
$(ad
)/hash
/dchash.h \
61 $(ad
)/automata
/dfatable.h
$(ad
)/automata
/compdfa.h \
62 $(ad
)/automata
/sparsdfa.h
66 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.
$(OBJ
)=.
cc)
69 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.
$(OBJ
)=.
cpp)
72 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.
$(OBJ
)=.c
++)
75 $(CC
) -c
$(COPTS
) $(CINCLUDE
) $(@
:.
$(OBJ
)=.c
)
78 # $(PROP) $(PROP_OPTS) $(CINCLUDE) $(@:.cc=.pcc)
81 # $(PROP) $(PROP_OPTS) $(CINCLUDE) $(@:.h=.ph)