VPATH = $(srcdir)
-LIBFIRM_VERSION = 0.3.0
+LIBFIRM_VERSION = @PACKAGE_VERSION@
CC = @CC@
CFLAGS := @CFLAGS@
CPPFLAGS := -I. -I$(topdir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
-
+prefix?=@prefix@
+exec_prefix?=@exec_prefix@
+includedir?=@includedir@
+libdir?=@libdir@
INSTALL = @INSTALL@
-INCLUDEDIR = @includedir@
-LIBDIR = @libdir@
+INCLUDEDIR ?= ${prefix}/${includedir}/${PACKAGE_NAME}
+LIBDIR ?= ${exec_prefix}/${libdir}
+PACKAGE_NAME = @PACKAGE_NAME@
DEFS = @DEFS@
# profiling enabled?
ifeq (@enable_profile_libfirm@,yes)
-LDFLAGS += -g -pg
+LDFLAGS += # -g -pg GL: geht bei mir nicht: unrecognised option
+CFLAGS += -g -pg
endif
AR := @AR@