From 3fbdfeb82c9dda6c019cc02580b89d67e01b9369 Mon Sep 17 00:00:00 2001
From: bodylove <bodylove@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Mon, 10 Dec 2007 18:34:40 +0000
Subject: [PATCH] - Added PKGLIBDIR define to C options. Allows to store  
 native code fragments at a central place

git-svn-id: svn://svn.berlios.de/openocd/trunk@223 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/flash/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/flash/Makefile.am b/src/flash/Makefile.am
index 76c8c180f..d750b86b0 100644
--- a/src/flash/Makefile.am
+++ b/src/flash/Makefile.am
@@ -1,4 +1,5 @@
 INCLUDES = -I$(top_srcdir)/src/helper -I$(top_srcdir)/src/jtag -I$(top_srcdir)/src/target $(all_includes)
+AM_CPPFLAGS = -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@
 METASOURCES = AUTO
 noinst_LIBRARIES = libflash.a
 libflash_a_SOURCES = flash.c lpc2000.c cfi.c non_cfi.c at91sam7.c str7x.c str9x.c nand.c lpc3180_nand_controller.c \
-- 
GitLab