diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libeinfo/Makefile | 6 | ||||
-rw-r--r-- | src/librc/Makefile | 6 | ||||
-rw-r--r-- | src/rc/Makefile | 3 |
3 files changed, 5 insertions, 10 deletions
diff --git a/src/libeinfo/Makefile b/src/libeinfo/Makefile index b40266f5..bcbfa62b 100644 --- a/src/libeinfo/Makefile +++ b/src/libeinfo/Makefile @@ -1,6 +1,3 @@ -MK= ../../mk -include ${MK}/os.mk - LIB= einfo SHLIB_MAJOR= 1 SRCS= libeinfo.c @@ -9,6 +6,7 @@ VERSION_MAP= einfo.map CFLAGS+= -I../includes -include ${MK}/cc.mk +MK= ../../mk include ${MK}/lib.mk +include ${MK}/cc.mk include ${MK}/${MKTERMCAP}.mk diff --git a/src/librc/Makefile b/src/librc/Makefile index 15c396b3..f47f5b07 100644 --- a/src/librc/Makefile +++ b/src/librc/Makefile @@ -1,6 +1,3 @@ -MK= ../../mk -include ${MK}/os.mk - LIB= rc SHLIB_MAJOR= 1 SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c \ @@ -14,5 +11,6 @@ LDADD+= ${LIBKVM} CFLAGS+= -I../includes -include ${MK}/cc.mk +MK= ../../mk include ${MK}/lib.mk +include ${MK}/cc.mk diff --git a/src/rc/Makefile b/src/rc/Makefile index 469ac984..8c43da85 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -36,9 +36,8 @@ LDADD+= -lutil -lrc -leinfo #LDFLAGS+= -Wl,--rpath=../librc -Wl,--rpath=../libeinfo MK= ../../mk -include ${MK}/cc.mk -include ${MK}/os.mk include ${MK}/prog.mk +include ${MK}/cc.mk CFLAGS+= -I../includes -I../librc -I../libeinfo CFLAGS+= -DLIB=\"${LIBNAME}\" |