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
|
# @configure_input@
#
# Master definition file for the man-db package.
#
# Copyright (C) 1994 Graeme Wilford.
#
# This file is part of man-db.
#
# man-db 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 of the License, or
# (at your option) any later version.
#
# man-db 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-db; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Sat Aug 6 13:28:44 BST 1994 Wilf. (G.Wilford@ee.surrey.ac.uk):
#---------------------------------------------------------------------#
# The values defined in this file are used throughout the compilation #
# of this package: changes should be made here, rather than in the #
# individual Makefiles. Most of these variables are determined by #
# ./configure #
#---------------------------------------------------------------------#
# Programs
SHELL = /bin/sh
CC = @CC@
LEX = @LEX@
RANLIB = @RANLIB@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
MKINSTALLDIRS = $(top_srcdir)/tools/mkinstalldirs
MKTAGS = ctags -stv
# C compilation parameters
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LDLIBS = @LIBS@ #@LEXLIB@
# Allow prog-specific MANDEFS and ensure MANCPPFLAGS comes before
# user/configure defined CPPFLAGS
USERCPPFLAGS := $(CPPFLAGS)
override CPPFLAGS = $(DEFS) $(MANDEFS) $(MANCPPFLAGS) $(USERCPPFLAGS)
# system directories
prefix = @prefix@
exec_prefix = @exec_prefix@
# GNU installation variables
bindir = $(exec_prefix)/bin
sbindir = $(exec_prefix)/sbin
localedir = $(exec_prefix)/lib/locale
manroot = $(prefix)/share/man
man1dir = man1
man5dir = man5
man8dir = man8
man1ext = .1
man5ext = .5
man8ext = .8
# special rule for sysconfdir
ifeq ($(notdir $(prefix)),usr)
sysconfdir = $(dir $(prefix))etc
else
sysconfdir = $(prefix)/etc
endif
# The names of the installed programs/manual pages are referred to
# as variables. They all undergo autoconf transformation rules.
transform=@program_transform_name@
man = $(shell echo man |sed '$(transform)')
mandb = $(shell echo mandb |sed '$(transform)')
catman = $(shell echo catman |sed '$(transform)')
whatis = $(shell echo whatis |sed '$(transform)')
apropos = $(shell echo apropos |sed '$(transform)')
manpath = $(shell echo manpath |sed '$(transform)')
zsoelim = $(shell echo zsoelim |sed '$(transform)')
lexgrog = $(shell echo lexgrog |sed '$(transform)')
config_file = @config_file@
# These are phony in all directories
DEFAULT_TARGETS = TAGS all install uninstall \
mostlyclean clean distclean realclean
# Some misc stuff...
debug = @debug@
date = @date@
version = @VERSION@
man_install_flags = @man_install_flags@
# some path definitions required by the manpage Makefile...
pager="@pager@"
troff="@troff@"
#-----------------------------------#
# Nothing worth changing below here #
#-----------------------------------#
# ** WARNING ** don't put any non-pattern rules here or they'll
# become the default for all Makefiles.
# A couple of rules.
.depend/%.d: %.c
@test -d .depend || mkdir .depend
@$(CPP) -M $(CPPFLAGS) $< | \
sed -e 's,$*\.o[ ]*,& $@,g' > $@ || (rm -f $@; exit 1)
%.i: %.c
$(CPP) $(CPPFLAGS) $< > $@
# A rule to re-create subdirectory Makefiles
ifneq ($(top_srcdir),$(srcdir))
%: %.in
-$(MAKE) -C .. `basename \`pwd\``/$@
endif
|