source: vendor/bash/3.1-p17/support/Makefile.in

Last change on this file was 3228, checked in by bird, 18 years ago

bash 3.1

File size: 2.1 KB
Line 
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# Copyright (C) 1998 Free Software Foundation, Inc.
13
14# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License as published by
16# the Free Software Foundation; either version 2, or (at your option)
17# any later version.
18
19# This program is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22# GNU General Public License for more details.
23
24# You should have received a copy of the GNU General Public License
25# along with this program; if not, write to the Free Software
26# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
27
28#
29# Boilerplate
30#
31topdir = @top_srcdir@
32srcdir = @srcdir@
33VPATH = .:@srcdir@
34BUILD_DIR = @BUILD_DIR@
35
36RM = rm -f
37SHELL = @MAKE_SHELL@
38CC = @CC@
39CC_FOR_BUILD = @CC_FOR_BUILD@
40
41EXEEXT = @EXEEXT@
42
43#
44# Compiler options:
45#
46PROFILE_FLAGS = @PROFILE_FLAGS@
47
48CFLAGS = @CFLAGS@
49CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
50CPPFLAGS = @CPPFLAGS@
51CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
52LOCAL_CFLAGS = @LOCAL_CFLAGS@
53DEFS = @DEFS@
54LOCAL_DEFS = @LOCAL_DEFS@
55
56LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
57LIBS = @LIBS@
58LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
59LDFLAGS_FOR_BUILD = $(LDFLAGS)
60
61INCLUDES = -I${BUILD_DIR} -I${topdir}
62
63BASE_CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) \
64 ${INCLUDES} $(LOCAL_CFLAGS)
65
66CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
67CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
68
69SRC1 = man2html.c
70OBJ1 = man2html.o
71
72.c.o:
73 $(RM) $@
74 $(CC_FOR_BUILD) -c $(CCFLAGS_FOR_BUILD) $<
75
76all: man2html$(EXEEXT)
77
78man2html$(EXEEXT): $(OBJ1)
79 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) $(OBJ1) -o $@ ${LIBS}
80
81clean:
82 $(RM) man2html$(EXEEXT)
83
84distclean maintainer-clean mostlyclean: clean
85 $(RM) $(OBJ1)
86
87man2html.o: man2html.c
Note: See TracBrowser for help on using the repository browser.