]> diplodocus.org Git - nmh/blob - mts/smtp/Makefile.in
Just reworded the bit about '%s' being safe not to quote (it's only safe not to
[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 INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
23
24 LORDER = @LORDER@
25 TSORT = @TSORT@
26 RANLIB = @RANLIB@
27 LIBTOOL = @LIBTOOL@
28 GNU_LIBTOOL = @GNU_LIBTOOL@
29
30 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
31
32 .SUFFIXES:
33 .SUFFIXES: .c .o
34
35 .c.o:
36 $(COMPILE) $<
37
38 # header files
39 HDRS = smtp.h
40
41 # source
42 SRCS = hosts.c smtp.c
43
44 # object files in libsmtp.a
45 OBJS = hosts.o smtp.o
46
47 # auxiliary files
48 AUX = Makefile.in
49
50 # all files in this directory included in the distribution
51 DIST = $(HDRS) $(SRCS) $(AUX)
52
53 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
54
55 all: libsmtp.a
56
57 libsmtp.a: $(OBJS)
58 rm -f $@
59 if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
60 $(LIBTOOL) -static -c $(OBJS) -o $@ ; \
61 else \
62 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \
63 $(RANLIB) $@ ; \
64 fi
65
66 install:
67
68 uninstall:
69
70 # ========== DEPENDENCIES FOR CLEANUP ==========
71
72 mostlyclean:
73 rm -f *.o *~
74
75 clean: mostlyclean
76 rm -f libsmtp.a
77
78 distclean: clean
79 rm -f Makefile
80
81 realclean: distclean
82
83 superclean: realclean
84
85 # ========== DEPENDENCIES FOR MAINTENANCE ==========
86
87 subdir = mts/smtp
88
89 Makefile: Makefile.in ../../config.status
90 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
91
92 distdir = ../../`cat ../../distname`/$(subdir)
93 nmhdist: $(DIST)
94 @echo "Copying distribution files in $(subdir)"
95 @for file in $(DIST); do \
96 cp -p $(srcdir)/$$file $(distdir); \
97 done
98