new gtk build process

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@704 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-03-23 07:44:58 +00:00
parent ac6a46f77f
commit 869518b316

View File

@ -3,6 +3,8 @@
#********************************************************************
#* Makefile -- makefile for xacc/src/gtk *
#* Copyright (C) 1997 Robin Clark *
#* Copyright (C) 1998 Linas Vepstas *
#* Copyright (C) 1998 Rob Browning *
#* *
#* This program is free software; you can redistribute it and/or *
#* modify it under the terms of the GNU General Public License as *
@ -40,10 +42,19 @@ INCLPATH = -I/usr/include \
# and general brokenness
# -I@srcdir@/../../lib/libhtmlw
CFLAGS = @cflags@
LFLAGS = @lflags@
#
# CFLAGS and LIBS are built automatically with gtk-config.
# gtk-config is now "guaranteed" to be installed on any host
# where gtk's installed and is supposed to report the compiler
# options needed for the build.
CFLAGS := $(shell gtk-config -cflags) @cflags@
LFLAGS := @lflags@
# LIBS = @LIBS@
LIBS = -lgtk -lgdk -lglib -lXpm -lXext -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm
# LIBS = -lgtk -lgdk -lglib -lXpm -lXext -lXmu -lXt -lXext \
# -lSM -lICE -lX11 -lpng -ljpeg -lz -lm
LIBS := $(shell gtk-config -libs)
LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib -L@x_libraries@/.
TARGET = ../../xacc.gtk.bin