51 ROOTETCMAILD= $(ROOTETC)/mail
52 MAILXHELP= mailx.help mailx.help.~
53 ROOTMAILXHELP= $(MAILXHELP:%=$(ROOTMAILXD)/%)
54 MAILXRC= $(MISC)/mailx.rc
55 UCBMAILRC= $(MISC)/Mail.rc
56 ROOTMAILXRC= $(MAILXRC:$(MISC)/%=$(ROOTETCMAILD)/%)
57 ROOTUCBMAILRC= $(UCBMAILRC:$(MISC)/%=$(ROOTETCMAILD)/%)
58 ROOTUCBMAIL= $(ROOT)/usr/ucb/mail
59 ROOTUCBCAPMAIL= $(ROOT)/usr/ucb/Mail
60
61 $(ROOTPROG) := FILEMODE = 02511
62 $(ROOTMAILXHELP) := FILEMODE = 0644
63 $(ROOTMAILXRC) := FILEMODE = 0644
64 $(ROOTUCBMAILRC) := FILEMODE = 0644
65
66 CPPFLAGS= -Ihdr -DUSG -DOPTIM $(CPPFLAGS.master)
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += -_gcc=-Wno-uninitialized
69 CERRWARN += -_gcc=-Wno-unused-variable
70 CERRWARN += -_gcc=-Wno-clobbered
71 LINTFLAGS= -hb
72 LDLIBS += -lmail -lcustr
73 LDFLAGS += $(MAPFILE.NGB:%=-M%)
74
75 CLOBBERFILES += $(MAILXHELP)
76
77 # install rules
78 $(ROOTMAILXD)/% : %
79 $(INS.file)
80
81 $(ROOTETCMAILD)/% : $(MISC)/%
82 $(INS.file)
83
84 .KEEP_STATE:
85
86 all: $(PROG) $(MAILXHELP) $(MAILXRC) $(UCBMAILRC)
87
88 $(PROG): $(OBJS) $(LIBMAIL)
89 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
90 $(POST_PROCESS)
|
51 ROOTETCMAILD= $(ROOTETC)/mail
52 MAILXHELP= mailx.help mailx.help.~
53 ROOTMAILXHELP= $(MAILXHELP:%=$(ROOTMAILXD)/%)
54 MAILXRC= $(MISC)/mailx.rc
55 UCBMAILRC= $(MISC)/Mail.rc
56 ROOTMAILXRC= $(MAILXRC:$(MISC)/%=$(ROOTETCMAILD)/%)
57 ROOTUCBMAILRC= $(UCBMAILRC:$(MISC)/%=$(ROOTETCMAILD)/%)
58 ROOTUCBMAIL= $(ROOT)/usr/ucb/mail
59 ROOTUCBCAPMAIL= $(ROOT)/usr/ucb/Mail
60
61 $(ROOTPROG) := FILEMODE = 02511
62 $(ROOTMAILXHELP) := FILEMODE = 0644
63 $(ROOTMAILXRC) := FILEMODE = 0644
64 $(ROOTUCBMAILRC) := FILEMODE = 0644
65
66 CPPFLAGS= -Ihdr -DUSG -DOPTIM $(CPPFLAGS.master)
67 CERRWARN += -_gcc=-Wno-parentheses
68 CERRWARN += -_gcc=-Wno-uninitialized
69 CERRWARN += -_gcc=-Wno-unused-variable
70 CERRWARN += -_gcc=-Wno-clobbered
71 # not linted
72 SMATCH=off
73
74 LINTFLAGS= -hb
75 LDLIBS += -lmail -lcustr
76 LDFLAGS += $(MAPFILE.NGB:%=-M%)
77
78 CLOBBERFILES += $(MAILXHELP)
79
80 # install rules
81 $(ROOTMAILXD)/% : %
82 $(INS.file)
83
84 $(ROOTETCMAILD)/% : $(MISC)/%
85 $(INS.file)
86
87 .KEEP_STATE:
88
89 all: $(PROG) $(MAILXHELP) $(MAILXRC) $(UCBMAILRC)
90
91 $(PROG): $(OBJS) $(LIBMAIL)
92 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
93 $(POST_PROCESS)
|