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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
|
# Copyright (c) 2000, FundsXpress Financial Network, Inc.
# This library is free software released "AS IS WITH ALL FAULTS"
# and WITHOUT ANY WARRANTIES under the terms of the GNU Lesser
# General Public License, Version 2.1, a copy of which can be
# found in the "COPYING" file of this distribution.
#
# $Id: common.mk,v 1.1.1.1 2003/12/06 19:47:27 hartmans Exp $
#
# Generated automatically from common.mk.in by configure.
#
# Main PSP Makefile include file
# This is the common makefile setup for the psp source tree
# First, set CC variables
VERSION=0.5.4
LDFLAGS=
LDARGS = $(LDFLAGS)
CC=@CC@
LIBS=-L$(buildtop)/lib $(LOCAL_LIBS)
CFLAGS= $(LOCAL_CFLAGS)
INCLUDES=$(PRECOMPPUBLIC) $(LOCAL_INCLUDES) -I$(srcdir) \
-I$(buildtop)/include -I.
LDFLAGS= $(LOCAL_LDFLAGS)
CPPFLAGS= $(LOCAL_CPPFLAGS)
DEFS= $(LOCAL_DEFS)
PROC=@PROC@
ifeq ("","yes")
MAKEFILE_PL_ARGS =
else
MAKEFILE_PL_ARGS = PREFIX=$(prefix) \
INSTALLDIRS=perl \
INSTALLPRIVLIB=$(inst_libperl) \
INSTALLMAN1DIR=$(prefix)/man \
INSTALLMAN3DIR=$(prefix)/man \
INSTALLARCHLIB=$(inst_libperl) \
INSTALLSCRIPT=$(exec_prefix)/bin
endif
# setup standard directories
prefix=/usr
localstatedir=${prefix}/var
exec_prefix=${prefix}
sysconfdir=${prefix}/etc
perl=/usr/bin/perl
includedir=${prefix}/include
libdir=${exec_prefix}/lib
bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin
datadir=${prefix}/share
# setup specilized directories
cgidir=${exec_prefix}/lib/cgi-bin/psp
ifeq ("","yes")
libperl=`perl -MConfig -e 'print "$Config{installsitelib}\n"'`
archlibperl=`perl -MConfig -e 'print "$Config{installsitearch}\n"'`
else
libperl=${prefix}/share/perl5
archlibperl=${exec_prefix}/lib/perl5
endif
piledir=${prefix}/share/piles
logdir=${prefix}/var/logs
# setup fx documentation directories
docdir=${prefix}/share/doc
htmldir=$(docdir)/html
htmlbindir=$(htmldir)/bin
htmlcgidir=$(htmldir)/cgi
htmllibdir=$(htmldir)/lib
dvidir=$(docdir)/dvi
psdir=$(docdir)/ps
pdfdir=$(docdir)/pdf
# setup installation directories, mirroring the previous directories
inst_includedir=${DESTDIR}$(includedir)
inst_libdir=${DESTDIR}${exec_prefix}/lib
inst_sysconfdir=${DESTDIR}${prefix}/etc
inst_bindir=${DESTDIR}${exec_prefix}/bin
inst_cgidir=${DESTDIR}$(cgidir)
inst_sbindir=${DESTDIR}${exec_prefix}/sbin
inst_datadir=${DESTDIR}${prefix}/share
inst_libperl=${DESTDIR}$(libperl)
inst_localstatedir=${DESTDIR}${prefix}/var
inst_piledir=${DESTDIR}$(piledir)
inst_logdir=${DESTDIR}$(logdir)
# documentation installation directories
inst_docdir=${DESTDIR}$(docdir)
inst_htmldir=${DESTDIR}$(htmldir)
inst_htmlbindir=${DESTDIR}$(htmlbindir)
inst_htmlcgidir=${DESTDIR}$(htmlcgidir)
inst_htmllibdir=${DESTDIR}$(htmllibdir)
inst_dvidir=${DESTDIR}$(dvidir)
inst_psdir=${DESTDIR}$(psdir)
inst_pdfdir=${DESTDIR}$(pdfdir)
# ensuredir target
INSTALL_DIRS=\
$(inst_includedir) \
$(inst_libdir) \
$(inst_bindir) \
$(inst_cgidir) \
$(inst_sbindir) \
$(inst_sysconfdir) \
$(inst_datadir) \
$(inst_libperl) \
$(inst_localstatedir) \
$(inst_piledir) \
$(inst_docdir) \
$(inst_htmldir) \
$(inst_htmlbindir) \
$(inst_htmlcgidir) \
$(inst_htmllibdir) \
$(inst_dvidir) \
$(inst_psdir) \
$(inst_pdfdir) \
$(inst_logdir)
# setup specialized program variables
perlcheck = ${perl} -c
PILER = $(inst_bindir)/piler
PILERFLAGS = -c -p
# standard system variables
RANLIB = @RANLIB@
LN_S =@LN_S@
# Variables for shared objects
LIBTARGETS=@LIBTARGETS@ # Which library parts to install/build
LIBEXT=@LIBEXT@
SHLIBEXT=@SHLIBEXT@
SHOBJEXT=@SHOBJEXT@
PICFLAGS = @PICFLAGS@ # CC flags to produce PIC code
LDCOMBINE = @LDCOMBINE@
LDCOMBINE_TAIL = @LDCOMBINE_TAIL@
SHLIB_DEPLIBS = $(LOCAL_SHLIB_DEPLIBS) -lm -lc
BUILD_OBJS=@BUILD_OBJS@
#Transform to produce shared objects
SHOBJS = $(OBJS:.o=.$(SHOBJEXT))
# A set of directories to search at link time for dependent libraries
SHLIB_DEPLIBDIRS = $(LOCAL_SHLIB_DEPLIBDIRS) \
-L$(TOP_LIBDIR) -L$(libdir) -L/usr/local/lib -L/usr/krb5/lib
# A set of space separated directories to search for dependent shared
# objects at run time
SHLIB_RPATH = $(libdir) /usr/local/lib /usr/krb5/lib @SYSTEM_SHLIB_RPATH@
# special install setup
ifeq ($(findstring install-sh,/usr/bin/install -c),install-sh)
INSTALL=$(top_srcdir)/mk/install-sh -c
else
INSTALL=/usr/bin/install -c
endif
INSTALL_PROGRAM=${INSTALL}
INSTALL_DATA=${INSTALL} -m 644
ENSUREDIR=$(top_srcdir)/mk/ensure-dir-sh
# default targets
TARGETS = depend all install clean distclean \
doc install-doc install-check fast-install install-test \
clean-pile pile install-pile install-check-pile
.PHONY: $(TARGETS)
all::
depend::
install::
clean:: clean-pile
distclean:: clean
rm -f Makefile
doc::
install-doc::
install-check::
fast-install::
clean-pile::
pile::
install-pile::
install-check-pile::
|