summaryrefslogtreecommitdiffstats
path: root/usr.sbin/editmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/editmap/Makefile')
-rw-r--r--usr.sbin/editmap/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/usr.sbin/editmap/Makefile b/usr.sbin/editmap/Makefile
index b141bfd..93e3e07 100644
--- a/usr.sbin/editmap/Makefile
+++ b/usr.sbin/editmap/Makefile
@@ -10,26 +10,14 @@ MAN= editmap.8
CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+= -DNEWDB -DNOT_SENDMAIL
-.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