]> granicus.if.org Git - yasm/commitdiff
Add re2c to the build tree. Build tools with recursive make instead of from
authorPeter Johnson <peter@tortall.net>
Thu, 11 Apr 2002 07:21:38 +0000 (07:21 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 11 Apr 2002 07:21:38 +0000 (07:21 -0000)
top-level Makefile (for various reasons, including object name conflicts).

svn path=/trunk/yasm/; revision=585

12 files changed:
.cvsignore
Makefile.am
configure.ac
configure.in
tools/Makefile.am [new file with mode: 0644]
tools/Makefile.inc [deleted file]
tools/lemon/.cvsignore [new file with mode: 0644]
tools/lemon/Makefile.am [new file with mode: 0644]
tools/lemon/Makefile.inc [deleted file]
tools/re2c/.cvsignore [new file with mode: 0644]
tools/re2c/Makefile.am [new file with mode: 0644]
tools/re2c/Makefile.inc [new file with mode: 0644]

index f9603540876e88eb287781acec4e6776c40b72f6..ba35409f2c7f97e38ef2adcda6e7db34cd2adc58 100644 (file)
@@ -7,7 +7,6 @@ nasm-token.c
 yapp-token.c
 yasm
 *_test
-lemon
 configure
 configure.scan
 config.*
index e0ae8ef71983e9646c8071eca7c32b67db467827..17f53943bcbad89fb6ee3272d9be0e28ad750f80 100644 (file)
@@ -1,6 +1,6 @@
 # $IdPath$
 
-SUBDIRS = intl po
+SUBDIRS = tools intl po
 
 CFLAGS = @ANSI_CFLAGS@
 AM_YFLAGS = -d
@@ -24,7 +24,6 @@ EXTRA_DIST = \
        src/Makefile.inc
 
 include check/Makefile.inc
-include tools/Makefile.inc
 include src/Makefile.inc
 
 EXTRA_DIST += \
index 57c810545ee66100e6ccd1255f69155cd9dd02b0..5582b223aa265b1d534dbde2082eeff2258518d1 100644 (file)
@@ -274,6 +274,9 @@ case "$host" in
 esac
 
 AC_CONFIG_FILES([Makefile
+       tools/Makefile
+       tools/lemon/Makefile
+       tools/re2c/Makefile
        intl/Makefile
        po/Makefile.in
 ])
index 57c810545ee66100e6ccd1255f69155cd9dd02b0..5582b223aa265b1d534dbde2082eeff2258518d1 100644 (file)
@@ -274,6 +274,9 @@ case "$host" in
 esac
 
 AC_CONFIG_FILES([Makefile
+       tools/Makefile
+       tools/lemon/Makefile
+       tools/re2c/Makefile
        intl/Makefile
        po/Makefile.in
 ])
diff --git a/tools/Makefile.am b/tools/Makefile.am
new file mode 100644 (file)
index 0000000..4890371
--- /dev/null
@@ -0,0 +1,2 @@
+# $IdPath$
+SUBDIRS = lemon re2c
diff --git a/tools/Makefile.inc b/tools/Makefile.inc
deleted file mode 100644 (file)
index 1bdf4a6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# $IdPath$
-
-EXTRA_DIST += \
-       tools/Makefile.inc
-
-include tools/lemon/Makefile.inc
diff --git a/tools/lemon/.cvsignore b/tools/lemon/.cvsignore
new file mode 100644 (file)
index 0000000..bde2990
--- /dev/null
@@ -0,0 +1 @@
+lemon
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am
new file mode 100644 (file)
index 0000000..4fbe1a6
--- /dev/null
@@ -0,0 +1,12 @@
+# $IdPath$
+CFLAGS = @ANSI_CFLAGS@
+
+noinst_PROGRAMS = lemon
+
+lemon_SOURCES = \
+       lemon.c
+
+EXTRA_DIST = \
+       lemon.html      \
+       lempar.c        \
+       README
diff --git a/tools/lemon/Makefile.inc b/tools/lemon/Makefile.inc
deleted file mode 100644 (file)
index bf7c101..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# $IdPath$
-
-noinst_PROGRAMS = lemon
-
-lemon_SOURCES = \
-       tools/lemon/lemon.c
-
-EXTRA_DIST += \
-       tools/lemon/Makefile.inc        \
-       tools/lemon/lemon.html          \
-       tools/lemon/lempar.c            \
-       tools/lemon/README
diff --git a/tools/re2c/.cvsignore b/tools/re2c/.cvsignore
new file mode 100644 (file)
index 0000000..f549679
--- /dev/null
@@ -0,0 +1,3 @@
+parser.c
+parser.h
+re2c
diff --git a/tools/re2c/Makefile.am b/tools/re2c/Makefile.am
new file mode 100644 (file)
index 0000000..c66920b
--- /dev/null
@@ -0,0 +1,45 @@
+# $IdPath$
+AM_YFLAGS = -d
+
+noinst_PROGRAMS = re2c
+
+re2c_SOURCES = \
+       basics.h        \
+       globals.h       \
+       ins.h           \
+       re.h            \
+       token.h         \
+       code.c          \
+       dfa.h           \
+       dfa.c           \
+       main.c          \
+       parse.h         \
+       parser.y        \
+       actions.c       \
+       scanner.h       \
+       scanner.c       \
+       substr.h        \
+       substr.c        \
+       translate.c
+
+EXTRA_DIST = \
+       CHANGELOG               \
+       NO_WARRANTY             \
+       README                  \
+       scanner.re              \
+       re2c.1                  \
+       bootstrap/re2c.man      \
+       bootstrap/scanner.c     \
+       doc/loplas.ps.gz        \
+       doc/sample.bib          \
+       examples/basemmap.c     \
+       examples/c.re           \
+       examples/cmmap.re       \
+       examples/cnokw.re       \
+       examples/cunroll.re     \
+       examples/modula.re      \
+       examples/sample.re      \
+       examples/simple.re      \
+       examples/rexx/README    \
+       examples/rexx/rexx.l    \
+       examples/rexx/scanio.c
diff --git a/tools/re2c/Makefile.inc b/tools/re2c/Makefile.inc
new file mode 100644 (file)
index 0000000..c66920b
--- /dev/null
@@ -0,0 +1,45 @@
+# $IdPath$
+AM_YFLAGS = -d
+
+noinst_PROGRAMS = re2c
+
+re2c_SOURCES = \
+       basics.h        \
+       globals.h       \
+       ins.h           \
+       re.h            \
+       token.h         \
+       code.c          \
+       dfa.h           \
+       dfa.c           \
+       main.c          \
+       parse.h         \
+       parser.y        \
+       actions.c       \
+       scanner.h       \
+       scanner.c       \
+       substr.h        \
+       substr.c        \
+       translate.c
+
+EXTRA_DIST = \
+       CHANGELOG               \
+       NO_WARRANTY             \
+       README                  \
+       scanner.re              \
+       re2c.1                  \
+       bootstrap/re2c.man      \
+       bootstrap/scanner.c     \
+       doc/loplas.ps.gz        \
+       doc/sample.bib          \
+       examples/basemmap.c     \
+       examples/c.re           \
+       examples/cmmap.re       \
+       examples/cnokw.re       \
+       examples/cunroll.re     \
+       examples/modula.re      \
+       examples/sample.re      \
+       examples/simple.re      \
+       examples/rexx/README    \
+       examples/rexx/rexx.l    \
+       examples/rexx/scanio.c