-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile.am
55 lines (41 loc) · 1.79 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Makefile.am - Top level automakefile for libspiro
SUBDIRS = . tests
test_programs = call-test0 call-test1 call-test2 call-test3 call-test4 \
call-test5 call-test6 call-test7 call-test8 call-test9 \
call-test10 call-test11 call-test12 call-test13 \
call-test14 call-test15 call-test16 call-test17 \
call-test18 call-test19 call-test20 call-test21 \
call-testm
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libspiro.pc
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CFLAGS = $(WCFLAGS) $(LS_CFLAGS)
LIBTOOL_DEPS = @LIBTOOL_DEPS@
DISTCLEANFILES = libspiro.pc
DISTCHECK_CONFIGURE_FLAGS = --disable-silent-rules --enable-verbose_lib --enable-test_inputs --enable-test-a-lot
lib_LTLIBRARIES = libspiro.la
libspiro_la_LIBADD = $(WLSLIB) $(LS_LIB)
libspiro_la_LDFLAGS = -no-undefined -version-info $(LIBSPIRO_VERSION)
libspiro_la_SOURCES = spiro.c bezctx.c spiroentrypoints.c \
bezctx.h bezctx_intf.h spiro.h spiro_intf.h spiroentrypoints.h
EXTRA_DIST = bezctx.md README-RaphLevien README.md README-GeorgeWilliams \
closedspiro.png openspiro.png spiral16.png spiral32.png spiro-a.png \
java/ShowPlate.java java/Spiro.java java/SpiroBezierContext.java \
java/SpiroCanvas.java java/SpiroCP.java java/SpiroGeneralPath.java \
java/SpiroPointType.java m4/ax_check_compile_flag.m4 path5.png \
path6.png libspiro.3
nodist_EXTRA_DATA = .git .github
include_HEADERS = bezctx.h spiro.h spiroentrypoints.h
man_MANS = libspiro.3
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
check-valgrind:
if HAVEVALGRIND
$(MAKE);
$(VALGRIND) --error-exitcode=1 $(builddir)/tests/unit-test
(for arg in $(test_programs); do \
$(LIBTOOL) --mode=execute $(VALGRIND) --error-exitcode=1 $(builddir)/tests/$$(arg) ; \
done)
else
echo "install Valgrind, then run ./configure again"
endif