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