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