Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[34865e]: src / Makefile.in Maximize Restore History

Download this file

Makefile.in    176 lines (133 with data), 5.5 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Master Makefile for man, apropos, whatis, and makewhatis
# Source: Makefile.in -- processed by configure, to create Makefile.
#
# Copyright (C) 1990, 1991, John W. Eaton.
# Copyright (C) 1994-2001, Andries E. Brouwer
# Copyright (C) 2005, Keith D. Marshall <keithmarshall@users.sourceforge.net>
#
# This file is part of the man package.
#
# man is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
#
# man is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
# with man; see the file COPYING. If not, write to the Free Software
# Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
#
# various changes - aeb, March 1994
# use of catalogs - aeb, June 1994
# autoconf hooks - kdm, May 2005
# VPATH support - kdm, June 2005
# To allow building in a separate build directory,
# (when the "make" program in use supports the VPATH capability),
# set up the srcdir mapping to VPATH.
srcdir = @srcdir@
VPATH = $(srcdir)
# Other autoconf specified directory references.
top_srcdir = @top_srcdir
top_builddir = @top_builddir@
# Compiler and installer.
CC = @CC@
INSTALL = @INSTALL@
# Platform dependent file name extensions.
EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
pager = @pager@
DEFS = @DEFS@
GREPSILENT = -DGREPSILENT=\"@man_grepsilent@\"
CWARN = -Wall -Wstrict-prototypes -Wmissing-prototypes
CWARNNP = -Wall
INCLUDES = -I$(srcdir) -I$(top_builddir)
.c.$(OBJEXT):
$(CC) -c $(CWARN) $(CFLAGS) $(INCLUDES) $(DEFS) $<
# LDFLAGS = -g
# LDFLAGS = -s
all: man man.conf apropos whatis makewhatis
MANOBJS = \
man.$(OBJEXT) manfile.$(OBJEXT) manpath.$(OBJEXT) \
man-config.$(OBJEXT) man-getopt.$(OBJEXT) man-iconv.$(OBJEXT) \
to_cat.$(OBJEXT) different.$(OBJEXT) gripes.$(OBJEXT) \
glob.$(OBJEXT) util.$(OBJEXT) msg.$(OBJEXT)
WIN32MANOBJS = winposix.$(OBJEXT)
man: $(MANOBJS) $(WIN32MANOBJS) $(LIBS)
$(CC) $(LDFLAGS) -o man $(MANOBJS) $(WIN32MANOBJS) $(LIBS)
man.$(OBJEXT): man.c
$(CC) -c $(CWARN) $(CFLAGS) $(INCLUDES) $(DEFS) $(GREPSILENT) man.c
msg.c gripedefs.h: ../msgs/mess.en makemsg
./makemsg ../msgs/mess.en gripedefs.h msg.c
makemsg: makemsg.$(OBJEXT)
# glob.c does not have prototypes
glob.$(OBJEXT): glob.c ndir.h
$(CC) -c $(CWARNNP) $(CFLAGS) $(INCLUDES) $(DEFS) glob.c
man-config.$(OBJEXT) man-getopt.$(OBJEXT) man.$(OBJEXT) manpath.$(OBJEXT) \
to_cat.$(OBJEXT): defs.h
different.$(OBJEXT) man.$(OBJEXT): different.h
man.$(OBJEXT) manfile.$(OBJEXT): glob.h
different.$(OBJEXT) gripes.$(OBJEXT) man-config.$(OBJEXT) man-getopt.$(OBJEXT) \
man.$(OBJEXT) manpath.$(OBJEXT) util.$(OBJEXT): gripes.h gripedefs.h
different.$(OBJEXT) man-config.$(OBJEXT) man-getopt.$(OBJEXT) \
man.$(OBJEXT) manpath.$(OBJEXT): man-config.h
gripes.$(OBJEXT) man-config.$(OBJEXT) man-getopt.$(OBJEXT) \
man.$(OBJEXT) manpath.$(OBJEXT) util.$(OBJEXT): man.h
man-getopt.$(OBJEXT) man.$(OBJEXT) manpath.$(OBJEXT): man-getopt.h
man.$(OBJEXT) manfile.$(OBJEXT) to_cat.$(OBJEXT): manfile.h
man.$(OBJEXT) man-iconv.$(OBJEXT): man-iconv.h
man.$(OBJEXT) manpath.$(OBJEXT): manpath.h
man-config.$(OBJEXT): paths.h
different.$(OBJEXT) man-config.$(OBJEXT) man-getopt.$(OBJEXT) \
man.$(OBJEXT) manpath.$(OBJEXT) util.$(OBJEXT): util.h
man-getopt.$(OBJEXT): version.h
msg.$(OBJEXT): msg.c
gripes.$(OBJEXT): $(top_srcdir)/catopen/catopen.c
man.conf: man.conf.in $(config_sed)
sed -f $(top_builddir)/config.sed $(srcdir)/man.conf.in > man.conf
paths.h: paths.h.in $(config_sed)
sed -f $(top_builddir)/config.sed $(srcdir)/paths.h.in > paths.h
version.h: $(top_srcdir)/version Makefile
vers=`sed -e s/man-// $(top_srcdir)/version`; \
echo "static char version[] = \"$$vers\";" > version.h
apropos: apropos.sh Makefile
rm -f apropos
sed -e 's,%apropos_or_whatis%,apropos,' \
-e 's,%version%,@version@,' \
-e 's,%pager%,@pager@,' -e 's,%manpathoption%,@manpathoption@,' \
-e 's,%grepsilent%,@grepsilent@,' \
apropos.sh > apropos
chmod +x apropos
whatis: apropos.sh Makefile
rm -f whatis
sed -e 's,%apropos_or_whatis%,whatis,' \
-e 's,%version%,@version@,' \
-e 's,%pager%,@pager@,' -e 's,%manpathoption%,@manpathoption@,' \
-e 's,%grepsilent%,@grepsilent@,' \
apropos.sh > whatis
chmod +x whatis
makewhatis: makewhatis.sh Makefile
rm -f makewhatis
sed -e 's,%version%,@version@,' \
-e 's,%awk%,@awk@,' makewhatis.sh > makewhatis
chmod +x makewhatis
MANCONFIG=$(PREFIX)@man_config_file@
install: all apropos whatis makewhatis
mkdir -p $(PREFIX)@bindir@
$(INSTALL) -c @man_install_flags@ man $(PREFIX)@man@
$(INSTALL) -c -m 755 apropos $(PREFIX)@apropos@
$(INSTALL) -c -m 755 whatis $(PREFIX)@whatis@
$(INSTALL) -c -m 755 man2dvi $(PREFIX)@man2dvi@
mkdir -p $(PREFIX)@sbindir@
$(INSTALL) -c -m 754 makewhatis $(PREFIX)@makewhatis@
mkdir -p $(PREFIX)@man_config_dir@
if [ -f $(MANCONFIG) ]; then mv $(MANCONFIG) $(MANCONFIG).orig; fi
$(INSTALL) -c -m 644 man.conf $(MANCONFIG)
clean:
rm -f *.$(OBJEXT) *~ core man apropos whatis makewhatis makemsg
test -n "$(EXEEXT)" && rm -f *$(EXEEXT)
spotless: clean
rm -f Makefile config.status paths.h version.h man.conf
rm -f gripedefs.h msg.c mess.*.cat