Files
gnucash/libgnucash/gnc-module/test/mod-bar/Makefile.am
Geert Janssens 83d14e1c1c Restructure the src directory
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)

This is the first step in restructuring the code. It will need much
more fine tuning later on.
2017-08-10 18:45:00 +02:00

44 lines
928 B
Makefile

AM_CPPFLAGS = \
-I${top_srcdir}/common \
-I${top_srcdir}/libgnucash/gnc-module \
${GUILE_CFLAGS} \
${GLIB_CFLAGS}
PWD := $(shell pwd)
check_LTLIBRARIES = libbar.la libgncmodbar.la
libbar_la_SOURCES = bar.c
libbar_la_LDFLAGS = -rpath ${PWD}
# Make swig-bar.c for dist. It is an automatic dependency
# of gnc-mod-bar.c
noinst_HEADERS = \
bar.h \
swig-bar.c
libgncmodbar_la_SOURCES=gnc-mod-bar.c
libgncmodbar_la_LDFLAGS=-rpath ${PWD} -avoid-version
libgncmodbar_la_LIBADD=libbar.la \
$(GUILE_LIBS) \
$(GLIB_LIBS)
if BUILDING_FROM_VCS
swig-bar.c: bar.i
$(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $<
if ! OS_WIN32
if ! SWIG_DIST_FAIL
if ! `grep "define scm_from_utf8_string" $@ > /dev/null 2>&1`; then \
patch $@ $(top_srcdir)/common/swig-utf8.patch; \
fi
endif
endif
endif
EXTRA_DIST = \
bar.i \
gnucash/bar.scm \
CMakeLists.txt
BUILT_SOURCES = swig-bar.c
MAINTAINERCLEANFILES = swig-bar.c