beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / Makefile.am
blob691512f4e3a7fe162fccacb324ed6c602d8a2670
1 ACLOCAL_AMFLAGS = -I m4
2 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-testdatadir=$(TESTDATADIR)
4 if BUILD_SPLASH_OUTPUT
5 splash_subdir = splash
6 splash_pc_file = poppler-splash.pc
7 endif
9 if BUILD_CAIRO_OUTPUT
10 cairo_pc_file = poppler-cairo.pc
11 endif
13 if BUILD_POPPLER_GLIB
14 glib_subdir = glib
15 glib_pc_file = poppler-glib.pc
16 endif
18 if BUILD_POPPLER_QT5
19 qt5_subdir = qt5
20 qt5_pc_file = poppler-qt5.pc
21 endif
23 if BUILD_POPPLER_QT4
24 qt4_subdir = qt4
25 qt4_pc_file = poppler-qt4.pc
26 endif
29 if BUILD_POPPLER_CPP
30 cpp_subdir = cpp
31 cpp_pc_file = poppler-cpp.pc
32 endif
34 SUBDIRS = goo fofi $(splash_subdir) poppler utils $(glib_subdir) test $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
36 EXTRA_DIST =                                    \
37         README-XPDF                             \
38         poppler.pc.in                           \
39         poppler-uninstalled.pc.in               \
40         poppler-cairo.pc.in                     \
41         poppler-cairo-uninstalled.pc.in         \
42         poppler-splash.pc.in                    \
43         poppler-splash-uninstalled.pc.in        \
44         poppler-qt4.pc.in                       \
45         poppler-qt4-uninstalled.pc.in           \
46         poppler-qt5.pc.in                       \
47         poppler-qt5-uninstalled.pc.in           \
48         poppler-cpp.pc.in                       \
49         poppler-cpp-uninstalled.pc.in
51 pkgconfigdir = $(libdir)/pkgconfig
52 pkgconfig_DATA =                                \
53         poppler.pc                              \
54         $(cairo_pc_file)                        \
55         $(splash_pc_file)                       \
56         $(glib_pc_file)                         \
57         $(qt4_pc_file)                          \
58         $(qt5_pc_file)                          \
59         $(cpp_pc_file)
61 # Add CMake buildsystem files here so they get added on make dist
62 EXTRA_DIST +=                                                   \
63         cpp/tests/CMakeLists.txt                                \
64         cpp/CMakeLists.txt                                      \
65         glib/demo/CMakeLists.txt                                \
66         glib/CMakeLists.txt                                     \
67         glib/poppler-features.h.cmake                           \
68         qt4/src/CMakeLists.txt                                  \
69         qt4/tests/CMakeLists.txt                                \
70         qt4/CMakeLists.txt                                      \
71         qt4/demos/CMakeLists.txt                                \
72         qt5/src/CMakeLists.txt                                  \
73         qt5/tests/CMakeLists.txt                                \
74         qt5/CMakeLists.txt                                      \
75         qt5/demos/CMakeLists.txt                                \
76         test/CMakeLists.txt                                     \
77         utils/CMakeLists.txt                                    \
78         CMakeLists.txt                                          \
79         ConfigureChecks.cmake                                   \
80         cmake/modules/CheckFileOffsetBits.c                     \
81         cmake/modules/CheckFileOffsetBits.cmake                 \
82         cmake/modules/COPYING-CMAKE-SCRIPTS                     \
83         cmake/modules/FindCairo.cmake                           \
84         cmake/modules/FindFontconfig.cmake                      \
85         cmake/modules/FindGLIB.cmake                            \
86         cmake/modules/FindGObjectIntrospection.cmake            \
87         cmake/modules/FindGTK.cmake                             \
88         cmake/modules/FindIconv.cmake                           \
89         cmake/modules/FindLCMS.cmake                            \
90         cmake/modules/FindLCMS2.cmake                           \
91         cmake/modules/FindQt4.cmake                             \
92         cmake/modules/GObjectIntrospectionMacros.cmake          \
93         cmake/modules/MacroBoolTo01.cmake                       \
94         cmake/modules/MacroEnsureVersion.cmake                  \
95         cmake/modules/MacroOptionalFindPackage.cmake            \
96         cmake/modules/MacroPushRequiredVars.cmake               \
97         cmake/modules/PopplerDefaults.cmake                     \
98         cmake/modules/PopplerMacros.cmake                       \
99         cmake/modules/FindLIBOPENJPEG.cmake                     \
100         config.h.cmake                                          \
101         poppler-cairo.pc.cmake                                  \
102         poppler/poppler-config.h.cmake                          \
103         poppler-cpp.pc.cmake                                    \
104         poppler-glib.pc.cmake                                   \
105         poppler-qt4.pc.cmake                                    \
106         poppler-qt5.pc.cmake                                    \
107         poppler-splash.pc.cmake                                 \
108         poppler.pc.cmake
112 distclean-local:
113         if test "$(srcdir)" = "."; then :; else \
114                 rm -f ChangeLog; \
115         fi
117 ChangeLog:
118         $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
119           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $@.tmp \
120           && mv -f $@.tmp $@ \
121           || ($(RM) $@.tmp; \
122               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
123               (test -f $@ || echo git log is required to generate this file >> $@)); \
124         else \
125           test -f $@ || \
126           (echo A git checkout and git log is required to generate ChangeLog >&2 && \
127           echo A git checkout and git log is required to generate this file >> $@); \
128         fi
130 .PHONY: ChangeLog