PERFORCE change 104103 for review
Todd Miller
millert at FreeBSD.org
Tue Aug 15 19:42:28 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=104103
Change 104103 by millert at millert_g4tower on 2006/08/15 19:41:52
Process yacc and lex input files correctly.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsemanage/src/Makefile#3 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/libsemanage/src/Makefile#3 (text+ko) ====
@@ -2,6 +2,9 @@
CFLAGS += -Wall -I../include -I../../libselinux/include -I../../libsepol/include
+LFLAGS = -s
+YFLAGS = -d
+
LIB = semanage
OBJS = boolean_record.o booleans_active.o booleans_activedb.o \
booleans_file.o booleans_local.o booleans_policy.o \
@@ -24,7 +27,15 @@
RANLIB = ranlib
INSTALL = install
-all: lib$(LIB).a
+all: conf-scan.c conf-parse.c lib$(LIB).a
+
+conf-scan.c: conf-scan.l conf-parse.h
+ $(LEX) $(LFLAGS) -o$@ $<
+
+conf-parse.h: conf-parse.c
+
+conf-parse.c: conf-parse.y
+ $(YACC) $(YFLAGS) -psemanage_ -o$@ $<
install: all
$(INSTALL) -o $(LIBOWN) -g $(LIBGRP) -m 0644 lib$(LIB).a \
More information about the trustedbsd-cvs
mailing list