2 # Simple Makefile for the support programs.
4 # documentation support: man2html
5 # testing support: printenv recho zecho
7 # bashbug lives here but is created by the top-level makefile
9 # Currently only man2html is built
12 # Copyright (C) 1998 Free Software Foundation, Inc.
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)
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.
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.
34 BUILD_DIR = @BUILD_DIR@
45 PROFILE_FLAGS = @PROFILE_FLAGS@
47 LOCAL_CFLAGS = @LOCAL_CFLAGS@
50 LOCAL_DEFS = @LOCAL_DEFS@
51 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
52 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
55 INCLUDES = -I${BUILD_DIR} -I${topdir}
58 CCFLAGS = ${PROFILE_FLAGS} $(DEFS) $(LOCAL_DEFS) $(SYSTEM_FLAGS) $(CPPFLAGS) \
59 ${INCLUDES} $(LOCAL_CFLAGS) $(CFLAGS)
66 $(CC) -c $(CCFLAGS) $<
68 all: man2html$(EXEEXT)
70 man2html$(EXEEXT): $(OBJ1)
71 $(CC) $(CCFLAGS) $(OBJ1) -o $@ ${LIBS}
76 man2html.o: man2html.c