[build] Improved test framework management
[adg.git] / cpml / Makefile.am
blob1e89f40b4d345e7340436d0e891ec40992581cfc
1 include $(top_srcdir)/build/Makefile.am.common
3 AM_CFLAGS=                      @CPML_CFLAGS@ \
4                                 -I$(top_srcdir)
5 AM_LDFLAGS=                     @CPML_LIBS@
8 # file groups
9 cpml_h_sources=                 cpml.h \
10                                 cpml-arc.h \
11                                 cpml-curve.h \
12                                 cpml-extents.h \
13                                 cpml-line.h \
14                                 cpml-close.h \
15                                 cpml-pair.h \
16                                 cpml-primitive.h \
17                                 cpml-segment.h \
18                                 cpml-util.h
19 cpml_built_h_sources=
20 cpml_private_h_sources=         cpml-alloca.h \
21                                 cpml-internal.h \
22                                 cpml-primitive-private.h
23 cpml_built_private_h_sources=
24 cpml_c_sources=                 cpml-arc.c \
25                                 cpml-curve.c \
26                                 cpml-extents.c \
27                                 cpml-line.c \
28                                 cpml-pair.c \
29                                 cpml-primitive.c \
30                                 cpml-segment.c \
31                                 cpml-util.c
32 cpml_built_c_sources=
33 cpml_pkgconfig_file=            cpml.pc
35 # targets
36 BUILT_SOURCES=                  $(cpml_built_h_sources) \
37                                 $(cpml_built_private_h_sources) \
38                                 $(cpml_built_c_sources)
40 libcpml_includedir=             $(includedir)/cpml
41 libcpml_include_DATA=           $(cpml_h_sources) \
42                                 $(cpml_built_h_sources)
44 lib_LTLIBRARIES=                libcpml.la
45 libcpml_la_LDFLAGS=             -release @PACKAGE_VERSION@
46 libcpml_la_LIBADD=              $(LTALLOCA)
47 libcpml_la_SOURCES=             $(cpml_h_sources) \
48                                 $(cpml_built_h_sources) \
49                                 $(cpml_private_h_sources) \
50                                 $(cpml_built_private_h_sources) \
51                                 $(cpml_c_sources) \
52                                 $(cpml_built_c_sources)
53 pkgconfig_DATA=                 $(cpml_pkgconfig_file)
54 EXTRA_DIST=                     $(cpml_pkgconfig_file).in