]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
bootstrap_cmds: Patches all working
authorCameron Katri <me@cameronkatri.com>
Sun, 9 May 2021 18:41:01 +0000 (14:41 -0400)
committerCameron Katri <me@cameronkatri.com>
Sun, 9 May 2021 18:41:01 +0000 (14:41 -0400)
bootstrap_cmds/Makefile [new file with mode: 0644]
bootstrap_cmds/migcom.tproj/Makefile [new file with mode: 0644]
bootstrap_cmds/migcom.tproj/lexxer.l

diff --git a/bootstrap_cmds/Makefile b/bootstrap_cmds/Makefile
new file mode 100644 (file)
index 0000000..0b2a259
--- /dev/null
@@ -0,0 +1,3 @@
+SUBDIR=        migcom.tproj
+
+.include <bsd.subdir.mk>
diff --git a/bootstrap_cmds/migcom.tproj/Makefile b/bootstrap_cmds/migcom.tproj/Makefile
new file mode 100644 (file)
index 0000000..6677a74
--- /dev/null
@@ -0,0 +1,22 @@
+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
+
+CFLAGS+=-DMIG_VERSION=\"mig-116.100.1\"
+
+BINDIR=/usr/libexec/
+SCRIPTSDIR=/usr/bin/
+
+.include <bsd.prog.mk>
index 82b32e5289a467a3cd9c062d4fa8cb38e72706ca..4a784c0947090c8cce32ed8809b5a4769a8b6378 100644 (file)
@@ -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"