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