diff options
| author | Roy Marples <roy@marples.name> | 2014-07-30 10:58:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-07-30 10:58:20 +0000 |
| commit | a7d5172e5989bd4e633ff5cbf532f242e66b7a16 (patch) | |
| tree | 1bcb242080608d5643a9363d23dabbcb0d9af9b5 /Makefile | |
| parent | e41613f338bb184b0f4ebbd0c3175c3d030723b5 (diff) | |
| download | dhcpcd-a7d5172e5989bd4e633ff5cbf532f242e66b7a16.tar.xz | |
Fix import so that matching system vs local headers are not imported.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -147,7 +147,7 @@ import: ${SRCS} rm -rf /tmp/${DISTPREFIX} ${INSTALL} -d /tmp/${DISTPREFIX} cp ${SRCS} dhcpcd.conf dhcpcd-definitions.conf *.in /tmp/${DISTPREFIX} - cp $$(${CC} ${CPPFLAGS} -MM ${SRCS} | \ + cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${SRCS} | \ sed -e 's/^.*\.c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \ tr ' ' '\n' | \ sed -e '/^compat\//d' | \ @@ -156,7 +156,7 @@ import: ${SRCS} if test -n "${CRYPT_SRCS}"; then \ ${INSTALL} -d /tmp/${DISTPREFIX}/crypt; \ cp ${CRYPT_SRCS} /tmp/${DISTPREFIX}/crypt; \ - cp $$(${CC} ${CPPFLAGS} -MM ${CRYPT_SRCS} | \ + cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${CRYPT_SRCS} | \ sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \ tr ' ' '\n' | sed -e '/\/\.\.\//d' | \ sort -u) /tmp/${DISTPREFIX}/crypt; \ @@ -164,7 +164,7 @@ import: ${SRCS} if test -n "${COMPAT_SRCS}"; then \ ${INSTALL} -d /tmp/${DISTPREFIX}/compat; \ cp ${COMPAT_SRCS} /tmp/${DISTPREFIX}/compat; \ - cp $$(${CC} ${CPPFLAGS} -MM ${COMPAT_SRCS} | \ + cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${COMPAT_SRCS} | \ sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \ tr ' ' '\n' | \ sort -u) /tmp/${DISTPREFIX}/compat; \ |
