configure: Consolidate platform defines
[openocd.git] / common.mk
1
2 # common flags used in openocd build
3 AM_CFLAGS = $(GCC_WARNINGS)
4
5 AM_CPPFLAGS = $(HOST_CPPFLAGS)\
6 -I$(top_srcdir)/src \
7 -I$(top_builddir)/src \
8 -I$(top_srcdir)/src/helper \
9 -DPKGDATADIR=\"$(pkgdatadir)\" \
10 -DBINDIR=\"$(bindir)\"
11
12 if INTERNAL_JIMTCL
13 AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
14 -I$(top_builddir)/jimtcl
15 endif