diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-29 07:22:41 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-29 07:22:41 +0000 |
commit | b5fd718695580fbc91bc7b00cd5d0682dafc33c4 (patch) | |
tree | 1f0b5e6d09b89d9df4858176cc97130dc782fa97 /usr.sbin/cron/crontab/Makefile | |
parent | 9bf406e50112e623ae319b8649bea7f082cd158d (diff) | |
download | FreeBSD-src-b5fd718695580fbc91bc7b00cd5d0682dafc33c4.zip FreeBSD-src-b5fd718695580fbc91bc7b00cd5d0682dafc33c4.tar.gz |
Make the LDADD stuff work properly with obj dirs. Whoops.
Submitted by: jkh
Diffstat (limited to 'usr.sbin/cron/crontab/Makefile')
-rw-r--r-- | usr.sbin/cron/crontab/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile index 3388969..e3fe3e5 100644 --- a/usr.sbin/cron/crontab/Makefile +++ b/usr.sbin/cron/crontab/Makefile @@ -3,8 +3,13 @@ BINDIR?= /usr/bin PROG= crontab SRCS= crontab.c CFLAGS+= -I${.CURDIR}/../cron -LDADD+= -L${.CURDIR}/../lib -lcron MAN1= crontab.1 MAN5= crontab.5 +.if exists(${.CURDIR}/../lib/obj) +LDADD+= -L${.CURDIR}/../lib/obj -lcron +.else +LDADD+= -L${.CURDIR}/../lib -lcron +.endif + .include <bsd.prog.mk> |