6c9e9abdea007fd076734b6a61554bea2c562596
[platform/upstream/bash.git] / support / Makefile.in
1 #
2 # Simple Makefile for the support programs.
3 #
4 # documentation support: man2html
5 # testing support: printenv recho zecho
6 #
7 # bashbug lives here but is created by the top-level makefile
8 #
9 # Currently only man2html is built
10 #
11
12 #
13 # Boilerplate
14 #
15 topdir = @top_srcdir@
16 srcdir = @srcdir@
17 VPATH = .:@srcdir@
18 BUILD_DIR = @BUILD_DIR@
19
20 RM      = rm -f
21 SHELL   = @MAKE_SHELL@
22 CC = @CC@
23
24 #
25 # Compiler options:
26 #
27 PROFILE_FLAGS = @PROFILE_FLAGS@
28 CFLAGS = @CFLAGS@
29 LOCAL_CFLAGS = @LOCAL_CFLAGS@
30 CPPFLAGS = @CPPFLAGS@
31 DEFS = @DEFS@
32 LOCAL_DEFS = @LOCAL_DEFS@
33 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
34 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
35 LIBS = @LIBS@
36
37 INCLUDES = -I${BUILD_DIR} -I${topdir}
38
39 #
40 CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) $(CPPFLAGS) \
41           ${INCLUDES} $(LOCAL_CFLAGS) $(CFLAGS)
42
43 SRC1 =  man2html.c
44 OBJ1 =  man2html.o
45
46 .c.o:
47         $(RM) $@
48         $(CC) -c $(CCFLAGS) $<
49
50 all: man2html
51
52 man2html: $(OBJ1)
53         $(CC) $(CCFLAGS) $(OBJ1) -o $@ ${LIBS}
54
55 clean:
56         rm man2html
57
58 man2html.o: man2html.c