[build] Moved project dirs under src/
[adg.git] / src / cpml / Makefile.am
blob7f516c8f6dbe8daabc633cdb12df262e6996b4b9
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-internal.h \
21                                 cpml-primitive-private.h
22 cpml_built_private_h_sources=
23 cpml_c_sources=                 cpml-arc.c \
24                                 cpml-curve.c \
25                                 cpml-extents.c \
26                                 cpml-line.c \
27                                 cpml-pair.c \
28                                 cpml-primitive.c \
29                                 cpml-segment.c \
30                                 cpml-util.c
31 cpml_built_c_sources=
32 cpml_pkgconfig_file=            cpml.pc
34 # targets
35 BUILT_SOURCES=                  $(cpml_built_h_sources) \
36                                 $(cpml_built_private_h_sources) \
37                                 $(cpml_built_c_sources)
39 libcpml_includedir=             $(includedir)/cpml
40 libcpml_include_DATA=           $(cpml_h_sources) \
41                                 $(cpml_built_h_sources)
43 lib_LTLIBRARIES=                libcpml.la
44 libcpml_la_LDFLAGS=             -release @PACKAGE_VERSION@
45 libcpml_la_SOURCES=             $(cpml_h_sources) \
46                                 $(cpml_built_h_sources) \
47                                 $(cpml_private_h_sources) \
48                                 $(cpml_built_private_h_sources) \
49                                 $(cpml_c_sources) \
50                                 $(cpml_built_c_sources)
51 pkgconfig_DATA=                 $(cpml_pkgconfig_file)
52 EXTRA_DIST=                     $(cpml_pkgconfig_file).in