clang compile fixes

This commit is contained in:
Ben Gras 2012-02-11 18:46:09 +01:00
parent f94e915e33
commit a73c217bf6
3 changed files with 16 additions and 0 deletions

View file

@ -3,7 +3,12 @@
PROG= cut
.if ${COMPILER_TYPE} != "gnu"
LDADD+= -lminixutil
DPADD+= ${LIBMINIXUTIL}
.else
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.endif
.include <bsd.prog.mk>

View file

@ -6,7 +6,12 @@
PROG= find
SRCS= find.c function.c ls.c main.c misc.c operator.c option.c
.if ${COMPILER_TYPE} != "gnu"
LDADD+=-lminixutil
DPADD+=${LIBMINIXUTIL}
.else
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.endif
.include <bsd.prog.mk>

View file

@ -6,8 +6,14 @@ SRCS= conv.c display.c hexdump.c hexsyntax.c odsyntax.c parse.c
MAN= hexdump.1 #od.1
.ifndef HOSTPROG
.if ${COMPILER_TYPE} != "gnu"
LDADD+=-lminixutil
DPADD+=${LIBMINIXUTIL}
.else
LDADD+= -lutil
DPADD+= ${LIBUTIL}
.endif
#LINKS= ${BINDIR}/hexdump ${BINDIR}/od
.endif