gnucash/Makefile.init.in
Linas Vepstas 1f4bc1bf10 Fixes for dec-osf builds
Date: Sun, 22 Aug 1999 20:59:09 -0500 (CDT)
From: Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>

1) adds top_srcdir to Makefile.init.in, since one of the Makefiles that
includes it needs top_srcdir but it isn't set in that particular Makefile.
This may not be the right call -- it should probably be substituted directly
into the Makefile.ins that are missing it.

2) It removes instances where (gcc|egcs)-specific C flags are in configure.in
or the Makefile.ins.  As long as CFLAGS is substituted into the Makefiles by
configure, there shouldn't be any need to augment CFLAGS.

3) It fixes a problem with finding libXpm and later libXmHTML on platforms
where $x_libraries (after a call to AC_PATH_X and AC_PATH_XTRA) is empty (i.e.
the libraries and header files are in standard places).  Using X_PRE_LIBS
may not be the right solution here either, so further work may be necessary
on this.

4) It makes sure that any CPPFLAGS specified by the person running configure
(e.g. -I/path/to/Xpm/headers -I/path/to/XmHTML/headers) is passed into the
Motif Makefile.in, so header files are found.

5) It updates the top level Makefile.init.in so that @CXX@ is used in place
of @C++@, since that's the common autoconf "variable" for it.  I don't think
C++ stuff is used anywhere here anyway so it's probably not needed, but I
noticed it so I thought I would fix it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1915 57a11ea4-9604-0410-9ed3-97b8803252fd
1999-08-23 05:28:40 +00:00

51 lines
1.0 KiB
Makefile

# -*-makefile-*-
@SET_MAKE@
export PATH := @GUILE_BIN@:@ABSOLUTE_TOP_SRCDIR@/lib/g-wrap-install/bin/:${PATH}
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
# datadir is usually /usr/share/
datadir=@datadir@
# localstatedir is usually /var/
localstatedir=@localstatedir@
# sysconfdir is usually /etc/
sysconfdir=@sysconfdir@
includedir=@includedir@
CC = @CC@
CXX = @CXX@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
INSTALL = @INSTALL@
RANLIB = @RANLIB@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
SWIG = @SWIG@
GWRAP = @top_srcdir@/lib/g-wrap-install/bin
PERL = @PERL@
CPU = @target_cpu@
OPT_STYLE_INSTALL=@OPT_STYLE_INSTALL@
# These are *only* to be used at *install* time.
GNC_DOCDIR=@GNC_DOCDIR@
GNC_BINDIR=@GNC_BINDIR@
GNC_LIBDIR=@GNC_LIBDIR@
GNC_CONFIGDIR=@GNC_CONFIGDIR@
GNC_SHAREDIR=@GNC_SHAREDIR@
HAVE_PLOTUTILS=@HAVE_PLOTUTILS@
GNOME_CONFIG_BIN=@GNOME_CONFIG_BIN@