]> git.ipfire.org Git - thirdparty/bash.git/blame - support/Makefile.in
Bash-4.3 patch 32
[thirdparty/bash.git] / support / Makefile.in
CommitLineData
cce855bc
JA
1#
2# Simple Makefile for the support programs.
3#
4# documentation support: man2html
3185942a 5# testing support: printenv recho zecho xcase
cce855bc
JA
6#
7# bashbug lives here but is created by the top-level makefile
8#
9# Currently only man2html is built
10#
3185942a 11# Copyright (C) 1998-2009 Free Software Foundation, Inc.
bb70624e 12
3185942a
JA
13# This program is free software: you can redistribute it and/or modify
14# it under the terms of the GNU General Public License as published by
15# the Free Software Foundation, either version 3 of the License, or
16# (at your option) any later version.
bb70624e 17
3185942a
JA
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
bb70624e 22
3185942a
JA
23# You should have received a copy of the GNU General Public License
24# along with this program. If not, see <http://www.gnu.org/licenses/>.
cce855bc
JA
25
26#
27# Boilerplate
28#
29topdir = @top_srcdir@
30srcdir = @srcdir@
31VPATH = .:@srcdir@
32BUILD_DIR = @BUILD_DIR@
33
34RM = rm -f
b72432fd 35SHELL = @MAKE_SHELL@
cce855bc 36CC = @CC@
b80f6443 37CC_FOR_BUILD = @CC_FOR_BUILD@
cce855bc 38
bb70624e
JA
39EXEEXT = @EXEEXT@
40
cce855bc
JA
41#
42# Compiler options:
43#
44PROFILE_FLAGS = @PROFILE_FLAGS@
7117c2d2 45
cce855bc 46CFLAGS = @CFLAGS@
7117c2d2 47CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
cce855bc 48CPPFLAGS = @CPPFLAGS@
7117c2d2
JA
49CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
50LOCAL_CFLAGS = @LOCAL_CFLAGS@
cce855bc
JA
51DEFS = @DEFS@
52LOCAL_DEFS = @LOCAL_DEFS@
7117c2d2 53
cce855bc 54LIBS = @LIBS@
0628567a
JA
55LIBS_FOR_BUILD = ${LIBS} # XXX
56
57LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
7117c2d2 58LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
3185942a 59LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
cce855bc
JA
60
61INCLUDES = -I${BUILD_DIR} -I${topdir}
62
7117c2d2
JA
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)
cce855bc
JA
68
69SRC1 = man2html.c
70OBJ1 = man2html.o
71
72.c.o:
73 $(RM) $@
7117c2d2 74 $(CC_FOR_BUILD) -c $(CCFLAGS_FOR_BUILD) $<
cce855bc 75
bb70624e 76all: man2html$(EXEEXT)
cce855bc 77
bb70624e 78man2html$(EXEEXT): $(OBJ1)
0628567a 79 $(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) $(OBJ1) -o $@ ${LIBS_FOR_BUILD}
cce855bc
JA
80
81clean:
b80f6443
JA
82 $(RM) man2html$(EXEEXT)
83
95732b49 84distclean maintainer-clean mostlyclean: clean
b80f6443 85 $(RM) $(OBJ1)
cce855bc
JA
86
87man2html.o: man2html.c