ossp-pkg/l2/Makefile.in 1.29 -> 1.30
--- Makefile.in 2001/11/05 20:39:35 1.29
+++ Makefile.in 2001/11/07 16:17:09 1.30
@@ -53,6 +53,8 @@
RMDIR = rmdir
POD2MAN = pod2man
TRUE = true
+BISON = bison
+FLEX = flex
SHTOOL = ./shtool
LIBTOOL = ./libtool
@@ -83,6 +85,9 @@
l2_ut_level.lo \
l2_ut_fmtcb.lo \
l2_ut_sa.lo \
+ l2_spec.lo \
+ l2_spec_scan.lo \
+ l2_spec_parse.lo \
l2_version.lo
# list of source files
@@ -159,6 +164,14 @@
./l2_ut_pcre.gen >l2_ut_pcre.tab
-$(RM) l2_ut_pcre.gen
+# build specification parser/scanner
+l2_spec.c: l2_spec.h l2_spec_parse.h
+l2_spec_scan.lo: l2_spec_scan.c l2_spec_parse.h
+l2_spec_scan.c: l2_spec_scan.l
+ $(FLEX) -f -Pl2_spec_ -s -8 -B -ol2_spec_scan.c l2_spec_scan.l
+l2_spec_parse.c l2_spec_parse.h: l2_spec_parse.y
+ $(BISON) -d -k -pl2_spec_ -ol2_spec_parse.c l2_spec_parse.y
+
# build test suite programs
l2_test: l2_test.o libl2.la
$(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o l2_test l2_test.o libl2.la $(LIBS)
@@ -240,6 +253,8 @@
-$(RMDIR) .libs >/dev/null 2>&1 || $(TRUE)
$(RM) $(TARGET_LIBS)
$(RM) $(TARGET_TESTS)
+ $(RM) l2_spec_scan.c # FIXME: remove later
+ $(RM) l2_spec_parse.c l2_spec_parse.h # FIXME: remove later
# remove everything which can be regenerated
# by "./configure && make all"
@@ -264,6 +279,8 @@
$(RM) l2_config.h.in
$(RM) l2.3
$(RM) l2++.3
+ $(RM) l2_spec_scan.c
+ $(RM) l2_spec_parse.c l2_spec_parse.h
# roll a distribution tarball
dist: distclean
|
|