summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sendmail
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/sendmail')
-rw-r--r--usr/src/cmd/sendmail/src/Makefile4
-rw-r--r--usr/src/cmd/sendmail/util/Makefile11
2 files changed, 5 insertions, 10 deletions
diff --git a/usr/src/cmd/sendmail/src/Makefile b/usr/src/cmd/sendmail/src/Makefile
index 8791902399..19698de5ad 100644
--- a/usr/src/cmd/sendmail/src/Makefile
+++ b/usr/src/cmd/sendmail/src/Makefile
@@ -42,7 +42,7 @@ OBJS= alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o \
SRCS= $(OBJS:%.o=%.c)
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
-LDFLAGS += $(MAPFILES:%=-M%)
+LDFLAGS += $(MAPFILES:%=-Wl,-M%)
LDLIBS += ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \
-lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \
@@ -83,6 +83,4 @@ $(ROOTSYMLINKS):
clean:
$(RM) $(PROG) $(OBJS)
-lint: lint_SRCS
-
include ../../Makefile.targ
diff --git a/usr/src/cmd/sendmail/util/Makefile b/usr/src/cmd/sendmail/util/Makefile
index 455879af02..0e5e6ee8e3 100644
--- a/usr/src/cmd/sendmail/util/Makefile
+++ b/usr/src/cmd/sendmail/util/Makefile
@@ -27,7 +27,7 @@
include ../../Makefile.cmd
include ../Makefile.cmd
-PROG= mailstats mconnect vacation mailcompat praliases
+PROG= mailstats mconnect vacation mailcompat praliases
LIBPROG= mail.local smrsh
@@ -38,11 +38,11 @@ LIBSMTPSMPROG= mailq
# $(PROG) by default
CLOBBERFILES= $(LIBPROG) $(USRSBINPROG) $(LIBSMTPSMPROG)
-OBJS= $(PROG:%=%.o)
+OBJS= $(PROG:%=%.o)
.PARALLEL: $(OBJS) $(PROG) $(LIBPROG) $(USRSBINPROG)
-SRCS= $(PROG:%=%.c)
+SRCS= $(PROG:%=%.c)
editmap := LDLIBS += -lldap
mail.local := LDLIBS += -lsocket -lnsl -lmail -lldap
@@ -65,7 +65,7 @@ CPPFLAGS = $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
# Nearly every support application provides sleep(). This isn't incompatible
# with libc, but can be confined to the applications themselves.
-LDFLAGS += $(MAPFILE.NGB:%=-M%)
+LDFLAGS += $(MAPFILE.NGB:%=-Wl,-M%)
.KEEP_STATE:
@@ -119,7 +119,4 @@ install: all $(ROOTPROG) $(ROOTLIB)/mail.local $(ROOTLIB)/smrsh \
clean:
$(RM) $(OBJS) *.o
-lint: lint_PROG
-
-
include ../../Makefile.targ