PERFORCE change 99631 for review

Spencer Whitman swhitman at FreeBSD.org
Mon Jun 19 18:45:29 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=99631

Change 99631 by swhitman at swhitman_joecatmini on 2006/06/19 18:45:23

	Got Makefile to compile code, but does not link properly.  Added 
	the original Makefile (Makefile2).

Affected files ...

.. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile#2 edit
.. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile2#1 add
.. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#2 edit
.. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/parser.c#2 edit

Differences ...

==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile#2 (text+ko) ====

@@ -16,9 +16,11 @@
 
 NO_MAN	=	ha
 
-CIFLAGS	+=	-I. -I${.CURDIR}
+CIFLAGS	+=	-I. -I${.CURDIR} -I${.CURDIR}/../src/include -I${.CURDIR}/../src/sys/ -I${.CURDIR}/../src/sys/sys/ -I${.CURDIR}/../src/sys/machine/
+#CLIBS 	+=	-L../src/lib/
 CFLAGS	+=	${CIFLAGS}
-
+CFLAGS 	+=	${CLIBS}
+CFLAGS 	+= 	-nostdinc
 CFLAGS	+=	-g
 
 .include <bsd.prog.mk>

==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#2 (text+ko) ====

@@ -11,12 +11,12 @@
 #include <printf.h>
 #include <sys/queue.h>
 
-#include "k.h"
+#include <k.h>
 
 /* Printf Render for Token -------------------------------------------*/
 
 static int
-printf_arginfo_token(const struct printf_info /* *pi */ __unused, size_t n, int *argt)
+printf_arginfo_token(const struct printf_info  *pi  __unused, size_t n, int *argt)
 {
 
 	assert(n >= 1);

==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/parser.c#2 (text+ko) ====



More information about the p4-projects mailing list