29 #
30
31 PROG= sendmail
32
33 include ../../Makefile.cmd
34 include ../Makefile.cmd
35
36 OBJS= alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o \
37 deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o \
38 mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o \
39 recipient.o sasl.o savemail.o sfsasl.o sm_resolve.o srvrsmtp.o stab.o \
40 stats.o sysexits.o tls.o trace.o udb.o usersmtp.o util.o version.o
41
42 SRCS= $(OBJS:%.o=%.c)
43
44 MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
45 LDFLAGS += $(MAPFILES:%=-M%)
46
47 LDLIBS += ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \
48 -lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \
49 -lssl -lcrypto -lsasl
50
51 INCPATH= -I. -I../include -I../db
52
53 ENVDEF= -DNETINET6 -DTCPWRAPPERS -DSTARTTLS -DSASL=20115
54 SUNENVDEF= -DSUN_EXTENSIONS -DVENDOR_DEFAULT=VENDOR_SUN \
55 -DSUN_INIT_DOMAIN -DSUN_SIMPLIFIED_LDAP -D_FFR_LOCAL_DAEMON \
56 -D_FFR_MAIL_MACRO
57
58 CPPFLAGS = $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
59
60 FILEMODE= 2555
61
62 ROOTSYMLINKS= $(ROOTUSRSBIN)/newaliases $(ROOTUSRSBIN)/sendmail
63
64 # build rule
65 #
66
67 .KEEP_STATE:
68 all: $(PROG)
69
|
29 #
30
31 PROG= sendmail
32
33 include ../../Makefile.cmd
34 include ../Makefile.cmd
35
36 OBJS= alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o \
37 deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o \
38 mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o \
39 recipient.o sasl.o savemail.o sfsasl.o sm_resolve.o srvrsmtp.o stab.o \
40 stats.o sysexits.o tls.o trace.o udb.o usersmtp.o util.o version.o
41
42 SRCS= $(OBJS:%.o=%.c)
43
44 MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
45 LDFLAGS += $(MAPFILES:%=-M%)
46
47 LDLIBS += ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \
48 -lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \
49 -lsunw_ssl -lsunw_crypto -lsasl
50
51 INCPATH= -I. -I../include -I../db
52
53 ENVDEF= -DNETINET6 -DTCPWRAPPERS -DSTARTTLS -DSASL=20115
54 SUNENVDEF= -DSUN_EXTENSIONS -DVENDOR_DEFAULT=VENDOR_SUN \
55 -DSUN_INIT_DOMAIN -DSUN_SIMPLIFIED_LDAP -D_FFR_LOCAL_DAEMON \
56 -D_FFR_MAIL_MACRO
57
58 CPPFLAGS = $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
59
60 FILEMODE= 2555
61
62 ROOTSYMLINKS= $(ROOTUSRSBIN)/newaliases $(ROOTUSRSBIN)/sendmail
63
64 # build rule
65 #
66
67 .KEEP_STATE:
68 all: $(PROG)
69
|