aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap_cmds
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap_cmds')
-rw-r--r--bootstrap_cmds/Makefile3
-rw-r--r--bootstrap_cmds/Makefile.inc1
-rw-r--r--bootstrap_cmds/migcom.tproj/Makefile24
-rw-r--r--bootstrap_cmds/migcom.tproj/lexxer.l2
4 files changed, 29 insertions, 1 deletions
diff --git a/bootstrap_cmds/Makefile b/bootstrap_cmds/Makefile
new file mode 100644
index 0000000..0b2a259
--- /dev/null
+++ b/bootstrap_cmds/Makefile
@@ -0,0 +1,3 @@
+SUBDIR= migcom.tproj
+
+.include <bsd.subdir.mk>
diff --git a/bootstrap_cmds/Makefile.inc b/bootstrap_cmds/Makefile.inc
new file mode 100644
index 0000000..01b5f23
--- /dev/null
+++ b/bootstrap_cmds/Makefile.inc
@@ -0,0 +1 @@
+.include "../Makefile.inc"
diff --git a/bootstrap_cmds/migcom.tproj/Makefile b/bootstrap_cmds/migcom.tproj/Makefile
new file mode 100644
index 0000000..150a059
--- /dev/null
+++ b/bootstrap_cmds/migcom.tproj/Makefile
@@ -0,0 +1,24 @@
+PROG= migcom
+SRCS= error.c \
+ global.c \
+ header.c \
+ mig.c \
+ routine.c \
+ server.c \
+ statement.c \
+ string.c \
+ type.c \
+ user.c \
+ utils.c \
+ lexxer.l \
+ parser.y
+SCRIPTS= mig.sh
+
+VERSION!= cat ${.CURDIR}/../.apple_version
+
+CFLAGS+=-DMIG_VERSION=\"mig-${VERSION}\"
+
+BINDIR=/usr/libexec/
+SCRIPTSDIR=/usr/bin/
+
+.include <bsd.prog.mk>
diff --git a/bootstrap_cmds/migcom.tproj/lexxer.l b/bootstrap_cmds/migcom.tproj/lexxer.l
index 82b32e5..4a784c0 100644
--- a/bootstrap_cmds/migcom.tproj/lexxer.l
+++ b/bootstrap_cmds/migcom.tproj/lexxer.l
@@ -71,7 +71,7 @@ FileName ({QString}|{AString})
#include <mach/std_types.h>
#include "statement.h"
#include "global.h"
-#include "y.tab.h" // was parser.h
+#include "parser.h"
#include "lexxer.h"
#include "mig_machine.h"