aboutsummaryrefslogtreecommitdiff
path: root/src/librc/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-07 09:39:44 +0000
committerRoy Marples <roy@marples.name>2008-01-07 09:39:44 +0000
commit74e0e58b899accd2bd72a7d7303331e47089959f (patch)
treeae6ae3c726a8e8b30ca53ad883df66aa0244ec0c /src/librc/Makefile
parent18adcb1ee8d9c09b0788d899be421e0f5ef1068a (diff)
Stop using CPPFLAGS
Diffstat (limited to 'src/librc/Makefile')
-rw-r--r--src/librc/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/librc/Makefile b/src/librc/Makefile
index 722f4a31..e510b1f4 100644
--- a/src/librc/Makefile
+++ b/src/librc/Makefile
@@ -1,16 +1,17 @@
-TOPDIR= ..
+TOPDIR= ..
include $(TOPDIR)/os.mk
-LIB= rc
-SHLIB_MAJOR= 1
-SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c librc-strlist.c
-INCS= rc.h
+LIB= rc
+SHLIB_MAJOR= 1
+SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c \
+ librc-strlist.c
+INCS= rc.h
VERSION_MAP= rc.map
-CPPFLAGS+= -DLIB=\"${LIBNAME}\"
-LDADD+= ${LIBKVM}
+CFLAGS+= -DLIB=\"${LIBNAME}\"
+LDADD+= ${LIBKVM}
-SHLIBDIR= /${LIBNAME}
+SHLIBDIR= /${LIBNAME}
include $(TOPDIR)/cc.mk
include $(TOPDIR)/lib.mk