7dedeeae16f11c9d7f8718c8927d28444100e9ae
[mmh] / zotnet / bboards / Makefile.in
1 #
2 # Makefile for zotnet/bboards 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
18 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
19
20 .SUFFIXES:
21 .SUFFIXES: .c .o
22
23 .c.o:
24         $(COMPILE) $<
25
26 # header files
27 HDRS = bboards.h
28
29 # source files
30 SRCS = getbbent.c
31
32 # object files
33 OBJS = getbbent.o
34
35 # auxiliary files
36 AUX = Makefile.in
37
38 # all files in this directory included in the distribution
39 DIST = $(HDRS) $(SRCS) $(AUX)
40
41 # ========= DEPENDENCIES FOR BUILDING ==========
42
43 all: $(OBJS)
44
45 install:
46
47 uninstall:
48
49 # ========== DEPENDENCIES FOR CLEANUP ==========
50
51 mostlyclean:
52         rm -f *.o *~
53
54 clean: mostlyclean
55
56 distclean: clean
57         rm -f Makefile
58
59 realclean: distclean
60
61 superclean: realclean
62
63 # ========== DEPENDENCIES FOR MAINTENANCE ==========
64
65 subdir = zotnet/bboards
66
67 Makefile: Makefile.in ../../config.status
68         cd ../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
69  
70 distdir = ../../`cat ../../distname`/$(subdir)
71 nmhdist: $(DIST)
72         @echo "Copying distribution files in $(subdir)"
73         @for file in $(DIST); do \
74           cp -p $(srcdir)/$$file $(distdir); \
75         done
76