summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
committerjkh <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
commit8eb37231d4405088a481324c2ec41ac851e8d8f7 (patch)
treedc80da53186aab7c56424c2574b0cd7928930721 /usr.sbin/cron
parent3acbd3cce674dab9a0afdee1f6e50196f4585ffa (diff)
downloadFreeBSD-src-8eb37231d4405088a481324c2ec41ac851e8d8f7.zip
FreeBSD-src-8eb37231d4405088a481324c2ec41ac851e8d8f7.tar.gz
Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/cron/Makefile6
-rw-r--r--usr.sbin/cron/crontab/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/cron/cron/Makefile b/usr.sbin/cron/cron/Makefile
index 905c3ec..27d2a3a 100644
--- a/usr.sbin/cron/cron/Makefile
+++ b/usr.sbin/cron/cron/Makefile
@@ -4,9 +4,9 @@ PROG= cron
SRCS= cron.c database.c do_command.c job.c user.c popen.c
MAN8= cron.8
-.if exists(${.CURDIR}/../lib/obj)
-LDDESTDIR+= -L${.CURDIR}/../lib/obj
-DPADD+= ${.CURDIR}/../lib/obj/libcron.a
+.if exists(${.OBJDIR}/../lib)
+LDDESTDIR+= -L${.OBJDIR}/../lib
+DPADD+= ${.OBJDIR}/../lib/libcron.a
.else
LDDESTDIR+= -L${.CURDIR}/../lib
DPADD+= ${.CURDIR}/../lib/libcron.a
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile
index 09a1fdc..cce341d 100644
--- a/usr.sbin/cron/crontab/Makefile
+++ b/usr.sbin/cron/crontab/Makefile
@@ -6,9 +6,9 @@ CFLAGS+= -I${.CURDIR}/../cron
MAN1= crontab.1
MAN5= crontab.5
-.if exists(${.CURDIR}/../lib/obj)
-LDDESTDIR+= -L${.CURDIR}/../lib/obj
-DPADD+= ${.CURDIR}/../lib/obj/libcron.a
+.if exists(${.OBJDIR}/../lib)
+LDDESTDIR+= -L${.OBJDIR}/../lib
+DPADD+= ${.OBJDIR}/../lib/libcron.a
.else
LDDESTDIR+= -L${.CURDIR}/../lib
DPADD+= ${.CURDIR}/../lib/libcron.a
OpenPOWER on IntegriCloud