summaryrefslogtreecommitdiffstats
path: root/usr.bin/vacation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vacation/Makefile')
-rw-r--r--usr.bin/vacation/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/usr.bin/vacation/Makefile b/usr.bin/vacation/Makefile
index b7d5584..63ba3ab 100644
--- a/usr.bin/vacation/Makefile
+++ b/usr.bin/vacation/Makefile
@@ -9,26 +9,14 @@ CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNEWDB -DNOT_SENDMAIL
CFLAGS+=-D_FFR_LISTDB -D_FFR_DEBUG
-.if exists(${.OBJDIR}/../../lib/libsm)
-LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
-.else
-LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
-.endif
-LIBSM:= ${LIBSMDIR}/libsm.a
-
-.if exists(${.OBJDIR}/../../lib/libsmdb)
-LIBSMDBDIR:= ${.OBJDIR}/../../lib/libsmdb
-.else
-LIBSMDBDIR!= cd ${.CURDIR}/../../lib/libsmdb; make -V .OBJDIR
-.endif
-LIBSMDB:= ${LIBSMDBDIR}/libsmdb.a
-
-.if exists(${.OBJDIR}/../../lib/libsmutil)
-LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
-.else
-LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
-.endif
-LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
+LIBSMDIR= ${.OBJDIR}/../../lib/libsm
+LIBSM= ${LIBSMDIR}/libsm.a
+
+LIBSMDBDIR= ${.OBJDIR}/../../lib/libsmdb
+LIBSMDB= ${LIBSMDBDIR}/libsmdb.a
+
+LIBSMUTILDIR= ${.OBJDIR}/../../lib/libsmutil
+LIBSMUTIL= ${LIBSMUTILDIR}/libsmutil.a
DPADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
LDADD= ${LIBSMDB} ${LIBSMUTIL} ${LIBSM}
OpenPOWER on IntegriCloud