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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
lib_LTLIBRARIES = libgxps.la
NOINST_H_FILES = \
gxps-archive.h \
gxps-brush.h \
gxps-color.h \
gxps-debug.h \
gxps-fonts.h \
gxps-glyphs.h \
gxps-images.h \
gxps-matrix.h \
gxps-page-private.h \
gxps-parse-utils.h \
gxps-path.h \
gxps-private.h
INST_H_FILES = \
gxps.h \
gxps-core-properties.h \
gxps-document.h \
gxps-document-structure.h \
gxps-error.h \
gxps-file.h \
gxps-links.h \
gxps-page.h \
gxps-version.h
libgxpsincludedir = $(includedir)/libgxps
libgxpsinclude_HEADERS = $(INST_H_FILES)
libgxps_la_SOURCES = \
gxps-archive.c \
gxps-brush.c \
gxps-color.c \
gxps-core-properties.c \
gxps-debug.c \
gxps-document.c \
gxps-document-structure.c \
gxps-error.c \
gxps-file.c \
gxps-fonts.c \
gxps-glyphs.c \
gxps-links.c \
gxps-matrix.c \
gxps-images.c \
gxps-page.c \
gxps-parse-utils.c \
gxps-path.c \
$(NOINST_H_FILES) \
$(INST_H_FILES)
libgxps_la_CPPFLAGS = \
-I$(top_builddir) \
-I$(srcdir) \
-I$(top_srcdir) \
-DG_LOG_DOMAIN=\"GXPS\" \
-DGXPS_COMPILATION \
$(AM_CPPFLAGS)
libgxps_la_CFLAGS = \
$(GXPS_CFLAGS) \
$(GXPS_DEBUG_CFLAGS) \
$(LCMS2_CFLAGS) \
$(LIBPNG_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
libgxps_la_LDFLAGS = \
-version-info $(GXPS_LT_VERSION_INFO) \
-no-undefined \
-export-symbols-regex "^gxps_*" \
$(AM_LDFLAGS)
libgxps_la_LIBADD = \
$(GXPS_LIBS) \
$(LCMS2_LIBS) \
$(LIBPNG_LIBS) \
$(LIBJPEG) \
$(LIBM) \
$(LIBTIFF)
EXTRA_DIST = \
gxps-version.h.in
DISTCLEANFILES = \
gxps-version.h
CLEANFILES =
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all --identifier-prefix=GXPS --symbol-prefix=gxps
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
if HAVE_INTROSPECTION
introspection_sources = $(filter-out $(NOINST_H_FILES) gxps-archive.c gxps-fonts.c gxps-images.c gxps-parse-utils.c gxps-version.h, $(libgxps_la_SOURCES))
GXPS-0.1.gir: libgxps.la
GXPS_0_1_gir_INCLUDES = GObject-2.0 Gio-2.0 cairo-1.0
GXPS_0_1_gir_CFLAGS = $(libgxps_la_CPPFLAGS) $(Gxps_CFLAGS)
GXPS_0_1_gir_LIBS = libgxps.la
GXPS_0_1_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
INTROSPECTION_GIRS += GXPS-0.1.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
|