Print this page
5166 sendmail package should be replaceable
*** 25,40 ****
# cmd/sendmail/aux/Makefile
#
include ../../Makefile.cmd
include ../Makefile.cmd
! PROG= mailstats mconnect vacation mailcompat praliases mailq
LIBPROG= mail.local smrsh
USRSBINPROG= etrn makemap editmap
# $(PROG) by default
CLOBBERFILES= $(LIBPROG) $(USRSBINPROG)
OBJS= $(PROG:%=%.o)
--- 25,42 ----
# cmd/sendmail/aux/Makefile
#
include ../../Makefile.cmd
include ../Makefile.cmd
! PROG= mailstats mconnect vacation mailcompat praliases
LIBPROG= mail.local smrsh
USRSBINPROG= etrn makemap editmap
+ LIBSMTPSMPROG= mailq
+
# $(PROG) by default
CLOBBERFILES= $(LIBPROG) $(USRSBINPROG)
OBJS= $(PROG:%=%.o)
*** 49,59 ****
makemap := LDLIBS += -lldap
mconnect := LDLIBS += -lsocket -lnsl
praliases := LDLIBS += -lldap
smrsh := LDLIBS += -lldap
vacation := LDLIBS += -lldap
! $(ROOTBIN)/mailq := FILEMODE = 4555
INCPATH= -I../src -I../db -I../include
ENVDEF= -DNOT_SENDMAIL
SUNENVDEF= -DSUN_EXTENSIONS -DUSE_VENDOR_CF_PATH
--- 51,61 ----
makemap := LDLIBS += -lldap
mconnect := LDLIBS += -lsocket -lnsl
praliases := LDLIBS += -lldap
smrsh := LDLIBS += -lldap
vacation := LDLIBS += -lldap
! $(ROOTLIBSMTPSM)/mailq := FILEMODE = 4555
INCPATH= -I../src -I../db -I../include
ENVDEF= -DNOT_SENDMAIL
SUNENVDEF= -DSUN_EXTENSIONS -DUSE_VENDOR_CF_PATH
*** 65,75 ****
# with libc, but can be confined to the applications themselves.
LDFLAGS += $(MAPFILE.NGB:%=-M%)
.KEEP_STATE:
! all: $(PROG) $(LIBPROG) $(USRSBINPROG)
convtime.o: ../src/convtime.c
$(COMPILE.c) ../src/convtime.c
$(POST_PROCESS_O)
--- 67,77 ----
# with libc, but can be confined to the applications themselves.
LDFLAGS += $(MAPFILE.NGB:%=-M%)
.KEEP_STATE:
! all: $(PROG) $(LIBSMTPSMPROG) $(LIBPROG) $(USRSBINPROG)
convtime.o: ../src/convtime.c
$(COMPILE.c) ../src/convtime.c
$(POST_PROCESS_O)
*** 109,119 ****
$(LINK.c) mailstats.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \
../libsm/libsm.a
$(POST_PROCESS)
install: all $(ROOTPROG) $(ROOTLIB)/mail.local $(ROOTLIB)/smrsh \
! $(ROOTUSRSBIN)/makemap $(ROOTUSRSBIN)/etrn $(ROOTUSRSBIN)/editmap
clean:
$(RM) $(OBJS) *.o
lint: lint_PROG
--- 111,122 ----
$(LINK.c) mailstats.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \
../libsm/libsm.a
$(POST_PROCESS)
install: all $(ROOTPROG) $(ROOTLIB)/mail.local $(ROOTLIB)/smrsh \
! $(ROOTLIBSMTPSM)/mailq $(ROOTUSRSBIN)/makemap \
! $(ROOTUSRSBIN)/etrn $(ROOTUSRSBIN)/editmap
clean:
$(RM) $(OBJS) *.o
lint: lint_PROG