eb720d8a55b9a0e7c8568f2f26089d5e5886079e
[mmh] / mts / mmdf / Makefile.in
1 #
2 # Makefile for mts/mmdf subdirectory
3 #
4 # $Id$
5 #
6
7 SHELL = /bin/sh
8
9 srcdir = @srcdir@
10 VPATH  = @srcdir@
11
12 prefix      = @prefix@
13 exec_prefix = @exec_prefix@
14 bindir      = @bindir@
15 libdir      = @libdir@
16 etcdir      = @sysconfdir@
17
18 LINT        = @LINT@
19 LINTFLAGS   = @LINTFLAGS@
20
21 .SUFFIXES:
22
23 # source files
24 SRC = hosts.c
25
26 # auxiliary files
27 AUX = Makefile.in
28
29 # all files in this directory included in the distribution
30 DIST = $(SRC) $(AUX)
31
32 # ========= DEPENDENCIES FOR BUILDING ==========
33
34 all:
35
36 install:
37
38 uninstall:
39
40 # ========== DEPENDENCIES FOR CLEANUP ==========
41
42 mostlyclean:
43         rm -f *~
44
45 clean: mostlyclean
46
47 distclean: clean
48         rm -f Makefile
49
50 realclean: distclean
51
52 superclean: realclean
53
54 # ========== DEPENDENCIES FOR LINT =================
55
56 lint: 
57         $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
58
59 # ========== DEPENDENCIES FOR MAINTENANCE ==========
60
61 subdir = mts/mmdf
62
63 Makefile: Makefile.in ../../config.status
64         cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
65  
66 distdir = ../../`cat ../../distname`/$(subdir)
67 nmhdist: $(DIST)
68         @echo "Copying distribution files in $(subdir)"
69         @for file in $(DIST); do \
70           cp -p $(srcdir)/$$file $(distdir); \
71         done
72