Deleted Added
full compact
Makefile.in (18099) Makefile.in (55839)
1# Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
2# Written by James Clark (jjc@jclark.com)
3#
4# This file is part of groff.
5#
6# groff is free software; you can redistribute it and/or modify it under
7# the terms of the GNU General Public License as published by the Free
8# Software Foundation; either version 2, or (at your option) any later

--- 152 unchanged lines hidden (view full) ---

161# -DHAVE_SYS_DIR_H if you have <sys/dir.h>
162# -DHAVE_STDLIB_H if you have <stdlib.h>
163# -DHAVE_RENAME if you have rename()
164# -DHAVE_MKSTEMP if you have mkstemp()
165# -DSTDLIB_H_DECLARES_GETOPT if your C++ <stdlib.h> declares getopt()
166# -DUNISTD_H_DECLARES_GETOPT if your C++ <unistd.h> declares getopt()
167# -DSTDLIB_H_DECLARES_PUTENV if your C++ <stdlib.h> declares putenv()
168# -DSTDIO_H_DECLARES_POPEN if your C++ <stdio.h> declares popen()
1# Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
2# Written by James Clark (jjc@jclark.com)
3#
4# This file is part of groff.
5#
6# groff is free software; you can redistribute it and/or modify it under
7# the terms of the GNU General Public License as published by the Free
8# Software Foundation; either version 2, or (at your option) any later

--- 152 unchanged lines hidden (view full) ---

161# -DHAVE_SYS_DIR_H if you have <sys/dir.h>
162# -DHAVE_STDLIB_H if you have <stdlib.h>
163# -DHAVE_RENAME if you have rename()
164# -DHAVE_MKSTEMP if you have mkstemp()
165# -DSTDLIB_H_DECLARES_GETOPT if your C++ <stdlib.h> declares getopt()
166# -DUNISTD_H_DECLARES_GETOPT if your C++ <unistd.h> declares getopt()
167# -DSTDLIB_H_DECLARES_PUTENV if your C++ <stdlib.h> declares putenv()
168# -DSTDIO_H_DECLARES_POPEN if your C++ <stdio.h> declares popen()
169# -DSTDIO_H_DECLARES_PCLOSE if your C++ <stdio.h> declares pclose()
170# -DHAVE_SYS_NERR if you have sysnerr in <errno.h> or <stdio.h>
171# -DHAVE_SYS_ERRLIST if you have sys_errlist in <errno.h> or
172# <stdio.h>
173# -DMATH_H_DECLARES_HYPOT if you have hypot() in <math.h>
169# -DTRADITIONAL_CPP if your C++ compiler uses a traditional
174# -DTRADITIONAL_CPP if your C++ compiler uses a traditional
170# (Reiser) preprocessor.
175# (Reiser) preprocessor
171# -DLONG_FOR_TIME_T if localtime() takes a long * not a time_t *
172# -DHAVE_STRUCT_EXCEPTION if <math.h> defines struct exception
173# -DRETSIGTYPE=int if signal handlers return int not void
174DEFINES=@DEFS@
175
176# Include fmod.o, strtol.o, getcwd.o, strerror.o, putenv.o in LIBOBJS if
177# your C library is missing the corresponding function.
178LIBOBJS=@LIBOBJS@
179
180# CCC is the compiler for C++ (.cc) files.
181CCC=@CXX@
182CC=@CC@
183# CCDEFINES are definitions for C++ compilations.
184CCDEFINES=$(DEFINES)
185# CDEFINES are definitions for C compilations.
186CDEFINES=$(DEFINES)
187
188CCFLAGS=@CXXFLAGS@
189CFLAGS=@CFLAGS@
176# -DLONG_FOR_TIME_T if localtime() takes a long * not a time_t *
177# -DHAVE_STRUCT_EXCEPTION if <math.h> defines struct exception
178# -DRETSIGTYPE=int if signal handlers return int not void
179DEFINES=@DEFS@
180
181# Include fmod.o, strtol.o, getcwd.o, strerror.o, putenv.o in LIBOBJS if
182# your C library is missing the corresponding function.
183LIBOBJS=@LIBOBJS@
184
185# CCC is the compiler for C++ (.cc) files.
186CCC=@CXX@
187CC=@CC@
188# CCDEFINES are definitions for C++ compilations.
189CCDEFINES=$(DEFINES)
190# CDEFINES are definitions for C compilations.
191CDEFINES=$(DEFINES)
192
193CCFLAGS=@CXXFLAGS@
194CFLAGS=@CFLAGS@
190LDFLAGS=
195LDFLAGS=@LDFLAGS@
191YACC=@YACC@
192YACCFLAGS=-v
193
194LIBS=@LIBS@
196YACC=@YACC@
197YACCFLAGS=-v
198
199LIBS=@LIBS@
200LIBM=@LIBM@
195RANLIB=@RANLIB@
196INSTALL=@INSTALL@
197INSTALL_PROGRAM=@INSTALL_PROGRAM@
198INSTALL_DATA=@INSTALL_DATA@
199LN_S=@LN_S@
200AR=ar
201ETAGS=etags
202ETAGSFLAGS=

--- 26 unchanged lines hidden (view full) ---

229 "manroot=$(manroot)" "man1ext=$(man1ext)" "man1dir=$(man1dir)" \
230 "man5ext=$(man5ext)" "man5dir=$(man5dir)" \
231 "man7ext=$(man7ext)" "man7dir=$(man7dir)" \
232 "tmac_wrap=$(tmac_wrap)" "sys_tmac_prefix=$(sys_tmac_prefix)" \
233 "tmac_an_prefix=$(tmac_an_prefix)" \
234 "tmac_s_prefix=$(tmac_s_prefix)" "tmac_m_prefix=$(tmac_m_prefix)" \
235 "CCC=$(CCC)" "CC=$(CC)" "CCDEFINES=$(CCDEFINES)" "CDEFINES=$(CDEFINES)" \
236 "CCFLAGS=$(CCFLAGS)" "CFLAGS=$(CFLAGS)" "LDFLAGS=$(LDFLAGS)" \
201RANLIB=@RANLIB@
202INSTALL=@INSTALL@
203INSTALL_PROGRAM=@INSTALL_PROGRAM@
204INSTALL_DATA=@INSTALL_DATA@
205LN_S=@LN_S@
206AR=ar
207ETAGS=etags
208ETAGSFLAGS=

--- 26 unchanged lines hidden (view full) ---

235 "manroot=$(manroot)" "man1ext=$(man1ext)" "man1dir=$(man1dir)" \
236 "man5ext=$(man5ext)" "man5dir=$(man5dir)" \
237 "man7ext=$(man7ext)" "man7dir=$(man7dir)" \
238 "tmac_wrap=$(tmac_wrap)" "sys_tmac_prefix=$(sys_tmac_prefix)" \
239 "tmac_an_prefix=$(tmac_an_prefix)" \
240 "tmac_s_prefix=$(tmac_s_prefix)" "tmac_m_prefix=$(tmac_m_prefix)" \
241 "CCC=$(CCC)" "CC=$(CC)" "CCDEFINES=$(CCDEFINES)" "CDEFINES=$(CDEFINES)" \
242 "CCFLAGS=$(CCFLAGS)" "CFLAGS=$(CFLAGS)" "LDFLAGS=$(LDFLAGS)" \
237 "YACC=$(YACC)" "YACCFLAGS=$(YACCFLAGS)" \
243 "YACC=$(YACC)" "YACCFLAGS=$(YACCFLAGS)" "LIBM=$(LIBM)" \
238 "LIBS=$(LIBS)" "LIBOBJS=$(LIBOBJS)" "RANLIB=$(RANLIB)" "AR=$(AR)" \
239 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_DATA=$(INSTALL_DATA)" \
240 "ETAGS=$(ETAGS)" "ETAGSFLAGS=$(ETAGSFLAGS)" "ETAGSCCFLAG=$(ETAGSCCFLAG)" \
241 "PERLPATH=$(PERLPATH)" "SH_SCRIPT_SED_CMD=$(SH_SCRIPT_SED_CMD)" \
242 "PURIFY=$(PURIFY)" "PURIFYCCFLAGS=$(PURIFYCCFLAGS)"
243
244SHELL=/bin/sh
245INCDIRS=include
246LIBDIRS=libgroff libdriver libbib
247CCPROGDIRS=groff troff tbl pic eqn grops grotty grodvi tfmtodit \
244 "LIBS=$(LIBS)" "LIBOBJS=$(LIBOBJS)" "RANLIB=$(RANLIB)" "AR=$(AR)" \
245 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_DATA=$(INSTALL_DATA)" \
246 "ETAGS=$(ETAGS)" "ETAGSFLAGS=$(ETAGSFLAGS)" "ETAGSCCFLAG=$(ETAGSCCFLAG)" \
247 "PERLPATH=$(PERLPATH)" "SH_SCRIPT_SED_CMD=$(SH_SCRIPT_SED_CMD)" \
248 "PURIFY=$(PURIFY)" "PURIFYCCFLAGS=$(PURIFYCCFLAGS)"
249
250SHELL=/bin/sh
251INCDIRS=include
252LIBDIRS=libgroff libdriver libbib
253CCPROGDIRS=groff troff tbl pic eqn grops grotty grodvi tfmtodit \
248 grolj4 hpftodit refer lookbib indxbib lkbib soelim addftinfo
254 grolj4 hpftodit refer lookbib indxbib lkbib soelim addftinfo \
255 grohtml
249CPROGDIRS=pfbtops psbb
250PROGDIRS=$(CCPROGDIRS) $(CPROGDIRS)
251DEVDIRS=devps devdvi devascii devlatin1 devX75 devX75-12 devX100 devX100-12 \
256CPROGDIRS=pfbtops psbb
257PROGDIRS=$(CCPROGDIRS) $(CPROGDIRS)
258DEVDIRS=devps devdvi devascii devlatin1 devX75 devX75-12 devX100 devX100-12 \
252 devlj4
259 devlj4 devhtml
253OTHERDIRS=man tmac afmtodit grog nroff mm
254ALLDIRS=$(INCDIRS) $(LIBDIRS) $(PROGDIRS) $(DEVDIRS) $(OTHERDIRS)
255EXTRADIRS=devps/generate devdvi/generate xditview doc
256DISTDIRS=$(ALLDIRS) $(EXTRADIRS)
257TARGETS=all install install_bin install_data clean distclean mostlyclean \
258 realclean extraclean distfiles TAGS depend uninstall_sub
259
260do=all
261dodirs=$(ALLDIRS) dot
262# Default target for subdir_Makefile
263subdir=troff
264
265
266$(TARGETS):
267 @$(MAKE) $(MDEFINES) do=$@ $(dodirs)
268
269dot: FORCE
270 @$(MAKE) $(MDEFINES) srcdir=$(srcdir) VPATH=$(srcdir) \
271 -f $(srcdir)/Makefile.comm -f $(srcdir)/Makefile.sub $(do)
260OTHERDIRS=man tmac afmtodit grog nroff mm
261ALLDIRS=$(INCDIRS) $(LIBDIRS) $(PROGDIRS) $(DEVDIRS) $(OTHERDIRS)
262EXTRADIRS=devps/generate devdvi/generate xditview doc
263DISTDIRS=$(ALLDIRS) $(EXTRADIRS)
264TARGETS=all install install_bin install_data clean distclean mostlyclean \
265 realclean extraclean distfiles TAGS depend uninstall_sub
266
267do=all
268dodirs=$(ALLDIRS) dot
269# Default target for subdir_Makefile
270subdir=troff
271
272
273$(TARGETS):
274 @$(MAKE) $(MDEFINES) do=$@ $(dodirs)
275
276dot: FORCE
277 @$(MAKE) $(MDEFINES) srcdir=$(srcdir) VPATH=$(srcdir) \
278 -f $(srcdir)/Makefile.comm -f $(srcdir)/Makefile.sub $(do)
272
279
273$(LIBDIRS): FORCE
274 @if test $(srcdir) = .; \
275 then srcdir=.; \
276 else srcdir=`cd $(srcdir); pwd`/$@; \
277 fi; \
278 test -d $@ || mkdir $@; \
279 cd $@; \
280 $(MAKE) $(MDEFINES) srcdir=$$srcdir VPATH=$$srcdir \

--- 62 unchanged lines hidden (view full) ---

343 done; \
344 $(MAKE) srcdir=$$srcdir VPATH=$$srcdir extraclean; \
345 for d in $(EXTRADIRS); do \
346 (cd $$d; $(MAKE) extraclean); \
347 done; \
348 rm -f Makefile; \
349 $(LN_S) $$srcdir/Makefile.init Makefile
350 mv tmp groff-$(version)
280$(LIBDIRS): FORCE
281 @if test $(srcdir) = .; \
282 then srcdir=.; \
283 else srcdir=`cd $(srcdir); pwd`/$@; \
284 fi; \
285 test -d $@ || mkdir $@; \
286 cd $@; \
287 $(MAKE) $(MDEFINES) srcdir=$$srcdir VPATH=$$srcdir \

--- 62 unchanged lines hidden (view full) ---

350 done; \
351 $(MAKE) srcdir=$$srcdir VPATH=$$srcdir extraclean; \
352 for d in $(EXTRADIRS); do \
353 (cd $$d; $(MAKE) extraclean); \
354 done; \
355 rm -f Makefile; \
356 $(LN_S) $$srcdir/Makefile.init Makefile
357 mv tmp groff-$(version)
358 rm -f groff-$(version).tar.gz
351 tar cfh - groff-$(version) | gzip -c >groff-$(version).tar.gz
352 rm -fr groff-$(version)
353
354# $(PROGDIRS): libgroff
355# grops grotty grodvi: libdriver
356# refer lookbib indxbib lkbib: libbib
357# $(LIBDIRS) $(PROGDIRS): include
358

--- 38 unchanged lines hidden ---
359 tar cfh - groff-$(version) | gzip -c >groff-$(version).tar.gz
360 rm -fr groff-$(version)
361
362# $(PROGDIRS): libgroff
363# grops grotty grodvi: libdriver
364# refer lookbib indxbib lkbib: libbib
365# $(LIBDIRS) $(PROGDIRS): include
366

--- 38 unchanged lines hidden ---