configure: Consolidate platform defines
[openocd.git] / common.mk
blobdbacf19fc3dfcd732d738d4cf0db12018537961b
2 # common flags used in openocd build
3 AM_CFLAGS = $(GCC_WARNINGS)
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)\"
12 if INTERNAL_JIMTCL
13 AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
14 -I$(top_builddir)/jimtcl
15 endif