summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Makefile.in13
-rw-r--r--src/util/configure.in6
-rw-r--r--src/util/unifdef/Makefile.in26
-rw-r--r--src/util/unifdef/configure.in3
4 files changed, 48 insertions, 0 deletions
diff --git a/src/util/Makefile.in b/src/util/Makefile.in
new file mode 100644
index 000000000..2cc270244
--- /dev/null
+++ b/src/util/Makefile.in
@@ -0,0 +1,13 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+DEFS = @DEFS@
+LIBS = @LIBS@
+
+CFLAGS = -g
+LDFLAGS = -g
+
+SUBDIRS = @SUBDIRS@
+
+
+
diff --git a/src/util/configure.in b/src/util/configure.in
new file mode 100644
index 000000000..e2387b44c
--- /dev/null
+++ b/src/util/configure.in
@@ -0,0 +1,6 @@
+AC_INIT(configure.in)
+CONFIG_DIRS(unifdef et ss)
+MAKE_SUBDIRS("making",all)
+MAKE_SUBDIRS("cleaning",clean)
+CONFIG_RULES
+AC_OUTPUT(Makefile,[EXTRA_RULES])
diff --git a/src/util/unifdef/Makefile.in b/src/util/unifdef/Makefile.in
new file mode 100644
index 000000000..88765b4f3
--- /dev/null
+++ b/src/util/unifdef/Makefile.in
@@ -0,0 +1,26 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+DEFS = @DEFS@
+LIBS = @LIBS@
+
+CFLAGS = -g $(DEFS) $(LOCALINCLUDE)
+LDFLAGS = -g
+
+all::
+
+unifdef: unifdef.o
+ $(CC) $(CFLAGS) -o unifdef unifdef.o
+
+unifdef.o: unifdef.c
+
+all:: unifdef
+
+
+clean::
+ $(RM) unifdef.o unifdef
+
+includes:: unifdef
+
+install::
+ $(INSTALLPROG) unifdef ${DESTDIR}$(PROGDIR)/unifdef
diff --git a/src/util/unifdef/configure.in b/src/util/unifdef/configure.in
new file mode 100644
index 000000000..f56fa1022
--- /dev/null
+++ b/src/util/unifdef/configure.in
@@ -0,0 +1,3 @@
+AC_INIT(unifdef.c)
+CONFIG_RULES
+AC_OUTPUT(Makefile,[EXTRA_RULES])