diff options
author | jkh <jkh@FreeBSD.org> | 1993-07-08 21:57:48 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-07-08 21:57:48 +0000 |
commit | 217d2cb4822808e9c94d0903a3ab656183975ffc (patch) | |
tree | 4189a96df39d00921ce63de0fc2137b1c8e7d81f /gnu/usr.bin/man/manpath | |
parent | 69b29fcd363db478a7f173bbf34067d82c81026a (diff) | |
download | FreeBSD-src-217d2cb4822808e9c94d0903a3ab656183975ffc.zip FreeBSD-src-217d2cb4822808e9c94d0903a3ab656183975ffc.tar.gz |
Changed Makefile to use Nate's selective obj/noobj build scheme.
Diffstat (limited to 'gnu/usr.bin/man/manpath')
-rw-r--r-- | gnu/usr.bin/man/manpath/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/manpath/Makefile b/gnu/usr.bin/man/manpath/Makefile index 81897ab..76fdf9b 100644 --- a/gnu/usr.bin/man/manpath/Makefile +++ b/gnu/usr.bin/man/manpath/Makefile @@ -1,7 +1,12 @@ PROG= manpath MAN1= manpath.1 SRCS= manpath.c -LDADD+= -L${.CURDIR}/../lib -lman + +.if exists(${.CURDIR}/../lib/obj) +LDADD= -L${.CURDIR}/../lib/obj -lman +.else +LDADD= -L${.CURDIR}/../lib/ -lman +.endif CFLAGS+= -I${.CURDIR}/../lib -DMAIN -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS |