source: trunk/third/nmh/mts/sendmail/Makefile.in @ 12455

Revision 12455, 1.5 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1#
2# Makefile for mts/sendmail subdirectory
3#
4# $Id: Makefile.in,v 1.1.1.1 1999-02-07 18:14:12 danw Exp $
5#
6
7SHELL = /bin/sh
8
9top_srcdir = @top_srcdir@
10srcdir     = @srcdir@
11VPATH      = @srcdir@
12
13prefix      = @prefix@
14exec_prefix = @exec_prefix@
15bindir      = @bindir@
16libdir      = @libdir@
17etcdir      = @sysconfdir@
18
19CC       = @CC@
20CFLAGS   = @CFLAGS@
21DEFS     = @DEFS@
22INCLUDES = -I../.. -I$(srcdir) -I$(top_srcdir)
23
24LORDER  = @LORDER@
25TSORT   = @TSORT@
26RANLIB  = @RANLIB@
27
28COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
29
30.SUFFIXES:
31.SUFFIXES: .c .o
32
33.c.o:
34        $(COMPILE) $<
35
36# source
37SRCS = hosts.c sendmail.c
38
39# object files in libsend.a
40OBJS = hosts.o sendmail.o
41
42# auxiliary files
43AUX = Makefile.in
44
45# all files in this directory included in the distribution
46DIST = $(SRCS) $(AUX)
47
48# ========= DEPENDENCIES FOR BUILDING AND INSTALLING ==========
49
50all: libsend.a
51
52libsend.a: $(OBJS)
53        rm -f $@
54        ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)`
55        $(RANLIB) $@
56
57install:
58
59uninstall:
60
61# ========== DEPENDENCIES FOR CLEANUP ==========
62
63mostlyclean:
64        rm -f *.o *~
65
66clean: mostlyclean
67        rm -f libsend.a
68
69distclean: clean
70        rm -f Makefile
71
72realclean: distclean
73
74superclean: realclean
75
76# ========== DEPENDENCIES FOR MAINTENANCE ==========
77
78subdir = mts/sendmail
79
80Makefile: Makefile.in ../../config.status
81        cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
82 
83distdir = ../../`cat ../../distname`/$(subdir)
84nmhdist: $(DIST)
85        @echo "Copying distribution files in $(subdir)"
86        @for file in $(DIST); do \
87          cp -p $(srcdir)/$$file $(distdir); \
88        done
89
Note: See TracBrowser for help on using the repository browser.