diff options
| author | Roy Marples <roy@marples.name> | 2016-10-07 09:42:38 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-10-07 09:42:38 +0000 |
| commit | e43c5c2b8aa14dd47da448beed12895d92ac8e64 (patch) | |
| tree | 24c132dc9448b2f23cd7e3122ca95f69307c436c /Makefile | |
| parent | 49586ac2d25d5013fd970009160c6a4341ac772a (diff) | |
| download | dhcpcd-e43c5c2b8aa14dd47da448beed12895d92ac8e64.tar.xz | |
Fix build system to make import correctly for authentication.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -18,7 +18,7 @@ CPPFLAGS+= -I./crypt SRCS+= ${DHCPCD_SRCS} DHCPCD_DEFS?= dhcpcd-definitions.conf -OBJS+= ${SRCS:.c=.o} ${AUTH_SRCS:.c=.o} ${COMPAT_SRCS:.c=.o} +OBJS+= ${SRCS:.c=.o} ${CRYPT_SRCS:.c=.o} ${COMPAT_SRCS:.c=.o} SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks @@ -91,8 +91,8 @@ dhcpcd-embedded.c: genembedc ${DHCPCD_DEFS} dhcpcd-embedded.c.in if-options.c: dhcpcd-embedded.h -.depend: ${SRCS} ${COMPAT_SRCS} ${AUTH_SRCS} - ${CC} ${CPPFLAGS} -MM ${SRCS} ${COMPAT_SRCS} ${AUTH_SRCS} > .depend +.depend: ${SRCS} ${COMPAT_SRCS} ${CRYPT_SRCS} + ${CC} ${CPPFLAGS} -MM ${SRCS} ${COMPAT_SRCS} ${CRYPT_SRCS} > .depend depend: .depend @@ -172,10 +172,10 @@ import: ${SRCS} hooks sed -e '/^compat\//d' | \ sed -e '/^crypt\//d' | \ sort -u) /tmp/${DISTPREFIX}; \ - if test -n "${AUTH_SRCS}"; then \ + if test -n "${CRYPT_SRCS}"; then \ ${INSTALL} -d /tmp/${DISTPREFIX}/crypt; \ - cp ${AUTH_SRCS} /tmp/${DISTPREFIX}/crypt; \ - cp $$(${CC} ${CPPFLAGS} -DDEPGEN -MM ${AUTH_SRCS} | \ + cp ${CRYPT_SRCS} /tmp/${DISTPREFIX}/crypt; \ + 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; \ |
