2 # Makefile for zotnet/mts subdirectory
9 top_srcdir = @top_srcdir@
14 exec_prefix = @exec_prefix@
19 mailspool = @mailspool@
20 sendmailpath = @sendmailpath@
25 KRB4_INCLUDES = @KRB4_INCLUDES@
26 HESIOD_INCLUDES = @HESIOD_INCLUDES@
27 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) $(KRB4_INCLUDES) $(HESIOD_INCLUDES)
28 CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' -DMAILSPOOL='"$(mailspool)"' -DSENDMAILPATH='"$(sendmailpath)"'
30 LINTFLAGS = @LINTFLAGS@
32 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
33 COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS)
55 # all files in this directory included in the distribution
56 DIST = $(HDRS) $(SRCS) $(AUX)
58 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
69 # ========== DEPENDENCIES FOR CLEANUP ==========
83 # ========== DEPENDENCIES FOR LINT ================
86 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
88 # ========== DEPENDENCIES FOR MAINTENANCE ==========
92 Makefile: Makefile.in ../../config.status
93 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
95 distdir = ../../`cat ../../distname`/$(subdir)
97 @echo "Copying distribution files in $(subdir)"
98 @for file in $(DIST); do \
99 cp -p $(srcdir)/$$file $(distdir); \