]> diplodocus.org Git - nmh/blob - mts/sendmail/Makefile.in
Added notes about the configure change.
[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
28 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
29
30 .SUFFIXES:
31 .SUFFIXES: .c .o
32
33 .c.o:
34 $(COMPILE) $<
35
36 # source
37 SRCS = hosts.c sendmail.c
38
39 # object files in libsend.a
40 OBJS = hosts.o sendmail.o
41
42 # auxiliary files
43 AUX = Makefile.in
44
45 # all files in this directory included in the distribution
46 DIST = $(SRCS) $(AUX)
47
48 # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
49
50 all: libsend.a
51
52 libsend.a: $(OBJS)
53 rm -f $@
54 ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`
55 $(RANLIB) $@
56
57 install:
58
59 uninstall:
60
61 # ========== DEPENDENCIES FOR CLEANUP ==========
62
63 mostlyclean:
64 rm -f *.o *~
65
66 clean: mostlyclean
67 rm -f libsend.a
68
69 distclean: clean
70 rm -f Makefile
71
72 realclean: distclean
73
74 superclean: realclean
75
76 # ========== DEPENDENCIES FOR MAINTENANCE ==========
77
78 subdir = mts/sendmail
79
80 Makefile: Makefile.in ../../config.status
81 cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
82
83 distdir = ../../`cat ../../distname`/$(subdir)
84 nmhdist: $(DIST)
85 @echo "Copying distribution files in $(subdir)"
86 @for file in $(DIST); do \
87 cp -p $(srcdir)/$$file $(distdir); \
88 done
89