]> git.ipfire.org Git - thirdparty/bash.git/blame - support/Makefile.in
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / support / Makefile.in
CommitLineData
cce855bc
JA
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#
bb70624e
JA
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.
cce855bc
JA
27
28#
29# Boilerplate
30#
31topdir = @top_srcdir@
32srcdir = @srcdir@
33VPATH = .:@srcdir@
34BUILD_DIR = @BUILD_DIR@
35
36RM = rm -f
b72432fd 37SHELL = @MAKE_SHELL@
cce855bc
JA
38CC = @CC@
39
bb70624e
JA
40EXEEXT = @EXEEXT@
41
cce855bc
JA
42#
43# Compiler options:
44#
45PROFILE_FLAGS = @PROFILE_FLAGS@
7117c2d2 46
cce855bc 47CFLAGS = @CFLAGS@
7117c2d2 48CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
cce855bc 49CPPFLAGS = @CPPFLAGS@
7117c2d2
JA
50CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
51LOCAL_CFLAGS = @LOCAL_CFLAGS@
cce855bc
JA
52DEFS = @DEFS@
53LOCAL_DEFS = @LOCAL_DEFS@
7117c2d2 54
cce855bc
JA
55LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
56LIBS = @LIBS@
7117c2d2
JA
57LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
58LDFLAGS_FOR_BUILD = $(LDFLAGS)
cce855bc
JA
59
60INCLUDES = -I${BUILD_DIR} -I${topdir}
61
7117c2d2
JA
62BASE_CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) \
63 ${INCLUDES} $(LOCAL_CFLAGS)
64
65CCFLAGS = $(BASE_CCFLAGS) $(CPPFLAGS) $(CFLAGS)
66CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
cce855bc
JA
67
68SRC1 = man2html.c
69OBJ1 = man2html.o
70
71.c.o:
72 $(RM) $@
7117c2d2 73 $(CC_FOR_BUILD) -c $(CCFLAGS_FOR_BUILD) $<
cce855bc 74
bb70624e 75all: man2html$(EXEEXT)
cce855bc 76
bb70624e 77man2html$(EXEEXT): $(OBJ1)
cce855bc
JA
78 $(CC) $(CCFLAGS) $(OBJ1) -o $@ ${LIBS}
79
80clean:
81 rm man2html
82
83man2html.o: man2html.c