mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
37 lines
742 B
Makefile
37 lines
742 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 -Linkage module -o $@ $<
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
bar.i \
|
|
gnucash/bar.scm \
|
|
CMakeLists.txt
|
|
|
|
BUILT_SOURCES = swig-bar.c
|
|
MAINTAINERCLEANFILES = swig-bar.c
|