aboutsummaryrefslogtreecommitdiff
path: root/src/librc/Makefile
diff options
context:
space:
mode:
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