summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc1obj
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-07-28 05:27:21 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-07-28 05:27:21 +0000
commit81efba8c9e6d0a67d8b81cc82ef6d625b004afc9 (patch)
treed38f606f4ee3571f7c56d00ef0cbb35442e1d0d3 /gnu/usr.bin/cc/cc1obj
parent2814077c60957569429de24b75c24a2768c571c4 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/cc1obj')
-rw-r--r--gnu/usr.bin/cc/cc1obj/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/cc/cc1obj/Makefile b/gnu/usr.bin/cc/cc1obj/Makefile
index 9d9e59867301..c0257438a74e 100644
--- a/gnu/usr.bin/cc/cc1obj/Makefile
+++ b/gnu/usr.bin/cc/cc1obj/Makefile
@@ -5,14 +5,14 @@
.PATH: ${GCCDIR}/objc ${GCCDIR}
PROG= cc1obj
-SRCS= objc-parse+DIKED.c objc-act.c objc-lang.c main.c c-decl.c
+SRCS= main.c objc-parse+DIKED.c objc-act.c objc-lang.c c-decl.c
BINDIR= /usr/libexec
NOMAN= 1
NOSHARED?=yes
CFLAGS+= -I${GCCDIR}/objc -I.
-DPADD= ${LIBCC_INT}
+DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
#-----------------------------------------------------------------------
@@ -23,9 +23,8 @@ objc-parse+DIKED.c: objc-parse.c
${.ALLSRC} > ${.TARGET}
objc-parse.y: c-parse.in
- sed -e "/^ifc$$/,/^end ifc$$/d" \
- -e "/^ifobjc$$/d" \
- -e "/^end ifobjc$$/d" \
+ sed -e "/^@@ifc.*/,/^@@end_ifc.*/d" \
+ -e "/^@@ifobjc.*/d" -e "/^@@end_ifobjc.*/d" \
${.ALLSRC} > ${.TARGET}
CLEANFILES= objc-parse+DIKED.c objc-parse.c objc-parse.y