diff options
author | Roy Marples <roy@marples.name> | 2008-01-07 14:20:13 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-07 14:20:13 +0000 |
commit | d22fc0dd931e43be5f20526e8e43a303d054ca21 (patch) | |
tree | 8c47e8d9a54cfbd42a7ad58f2d01a0a2807e4577 /src/librc | |
parent | c25651057038c6ef4f8cbd6819aa0b5ed892087a (diff) |
Allow depend creation again. This doesn't work on GNU make, but does on all others.
Diffstat (limited to 'src/librc')
-rw-r--r-- | src/librc/Makefile | 2 | ||||
-rw-r--r-- | src/librc/librc.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/librc/Makefile b/src/librc/Makefile index e510b1f4..741545e1 100644 --- a/src/librc/Makefile +++ b/src/librc/Makefile @@ -11,6 +11,8 @@ VERSION_MAP= rc.map CFLAGS+= -DLIB=\"${LIBNAME}\" LDADD+= ${LIBKVM} +CFLAGS+= -I$(TOPDIR) + SHLIBDIR= /${LIBNAME} include $(TOPDIR)/cc.mk diff --git a/src/librc/librc.h b/src/librc/librc.h index 491462b8..d70ffa17 100644 --- a/src/librc/librc.h +++ b/src/librc/librc.h @@ -65,10 +65,10 @@ #include "librc-depend.h" #include "rc.h" -#include "../rc-misc.h" -#include "../strlist.h" +#include "rc-misc.h" +#include "strlist.h" -#include "../hidden-visibility.h" +#include "hidden-visibility.h" #define librc_hidden_proto(x) hidden_proto(x) #define librc_hidden_def(x) hidden_def(x) |