LOCALLIBS = ../config/version.o ../config/config.o ../sbr/libmh.a ../$(MTSLIB) ../zotnet/libzot.a
LINKLIBS = $(LOCALLIBS) $(KRB4_LIBS) $(HESIOD_LIBS) $(LIBS)
+LINT = @LINT@
+LINTFLAGS = @LINTFLAGS@
+
TERMLIB = @TERMLIB@
LEXLIB = @LEXLIB@
-POPLIB = @POPLIB@
+APOPLIB = @APOPLIB@
+POPLIB = @POPLIB@ $(APOPLIB)
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
LINK = $(CC) $(LDFLAGS) -o $@
# commands to build
CMDS = ali anno burst comp dist flist folder forw mark mhbuild \
- mhlist mhmail mhn mhparam mhpath mhshow mhstore mhtest msgchk \
+ mhlist mhmail mhn mhparam mhpath mhshow mhstore msgchk \
msh packf pick prompter refile repl rmf rmm scan send show \
- sortm viamail whatnow whom
+ sortm whatnow whom
## removed this from CMDS until I can fix it
## OTHERCMDS = vmh
# misc support binaries
MISC = ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack \
- rcvstore rcvtty slocal spost
+ rcvstore rcvtty slocal spost viamail mhtest
# commands with 'S'pecial installation needs
SCMDS = inc
# install commands with special installation needs (thus no $(SCMDS) use here)
install-scmds:
- if test x$(SETGID_MAIL) = x1; then \
+ if test x$(SETGID_MAIL) != x; then \
$(INSTALL_PROGRAM) -g $(MAIL_SPOOL_GRP) -m 2755 inc $(bindir)/$$cmd; \
else \
$(INSTALL_PROGRAM) inc $(bindir)/$$cmd; \
superclean: realclean
+# ========== DEPENDENCIES FOR LINT ================
+
+lint:
+ $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
+
# ========== DEPENDENCIES FOR MAINTENANCE ==========
subdir = uip