]> diplodocus.org Git - nmh/blob - mts/smtp/Makefile.in
fix for bug #578 repl leaks umask; there are several other
[nmh] / mts / smtp / Makefile.in
1 #
2 # Makefile for mts/smtp subdirectory
3 #
4 # $Id$
5 #
6
7 SHELL = /bin/sh
8
9 top_srcdir = @top_srcdir@
10 srcdir = @srcdir@
11 VPATH = @srcdir@
12
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15 bindir = @bindir@
16 libdir = @libdir@
17 etcdir = @sysconfdir@
18
19 CC = @CC@
20 CFLAGS = @CFLAGS@
21 DEFS = @DEFS@
22 SASL_INCLUDES = @SASL_INCLUDES@
23 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir) $(SASL_INCLUDES)
24 LINT = @LINT@
25 LINTFLAGS = @LINTFLAGS@
26
27 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
28
29 .SUFFIXES:
30 .SUFFIXES: .c .o
31
32 .c.o:
33 $(COMPILE) $<
34
35 # header files
36 HDRS = smtp.h
37
38 # source
39 SRCS = hosts.c smtp.c
40
41 # object files in libsmtp.a
42 OBJS = hosts.o smtp.o
43
44 # auxiliary files
45 AUX = Makefile.in
46
47 # all files in this directory included in the distribution
48 DIST = $(HDRS) $(SRCS) $(AUX)
49
50 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
51
52 all: $(OBJS)
53
54 install:
55
56 uninstall:
57
58 # ========== DEPENDENCIES FOR CLEANUP ==========
59
60 mostlyclean:
61 rm -f *.o *~
62
63 clean: mostlyclean
64
65 distclean: clean
66 rm -f Makefile
67
68 realclean: distclean
69
70 superclean: realclean
71
72 # ========== DEPENDENCIES FOR LINT =================
73
74 lint:
75 $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
76
77 # ========== DEPENDENCIES FOR MAINTENANCE ==========
78
79 subdir = mts/smtp
80
81 Makefile: Makefile.in ../../config.status
82 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
83
84 distdir = ../../`cat ../../distname`/$(subdir)
85 nmhdist: $(DIST)
86 @echo "Copying distribution files in $(subdir)"
87 @for file in $(DIST); do \
88 cp -p $(srcdir)/$$file $(distdir); \
89 done
90