blob: e23dcae9abc022391c58011c27ece67db98ae179 (
plain)
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
|
# $Id$
INCLUDES = \
-I$(top_srcdir) \
-DG_LOG_DOMAIN=\"thunarx\" \
-DTHUNARX_COMPILATION \
-DTHUNARX_DIRECTORY=\"$(libdir)/thunarx-$(THUNAR_VERSION_API)\" \
$(PLATFORM_CPPFLAGS)
libthunarx_built_sources = \
thunarx-alias.h \
thunarx-aliasdef.c
libthunarx_headers = \
thunarx.h \
thunarx-config.h \
thunarx-file-info.h \
thunarx-menu-provider.h \
thunarx-preferences-provider.h \
thunarx-property-page.h \
thunarx-property-page-provider.h \
thunarx-provider-factory.h \
thunarx-provider-plugin.h
libthunarx_includedir = \
$(includedir)/thunarx-$(THUNAR_VERSION_API)/thunarx
libthunarx_include_HEADERS = \
$(libthunarx_headers)
lib_LTLIBRARIES = \
libthunarx-1.la
libthunarx_1_la_SOURCES = \
$(libthunarx_built_sources) \
$(libthunarx_headers) \
thunarx-config.c \
thunarx-file-info.c \
thunarx-menu-provider.c \
thunarx-preferences-provider.c \
thunarx-private.c \
thunarx-private.h \
thunarx-property-page.c \
thunarx-property-page-provider.c \
thunarx-provider-factory.c \
thunarx-provider-module.c \
thunarx-provider-module.h \
thunarx-provider-plugin.c
libthunarx_1_la_CFLAGS = \
$(GTK_CFLAGS) \
$(PLATFORM_CFLAGS)
libthunarx_1_la_LDFLAGS = \
-export-dynamic \
-export-symbols-regex "^[^_].*" \
-version-info $(THUNAR_VERINFO) \
$(PLATFORM_LDFLAGS)
libthunarx_1_la_LIBADD = \
$(GTK_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = thunarx-1.pc
EXTRA_DIST = \
abicheck.sh \
make-thunarx-alias.pl \
thunarx.symbols \
thunarx-alias.h \
thunarx-aliasdef.c
##
## Rules to auto-generate built sources
##
## This is a bit tricky with automake, and non-trivial to implement. The
## rules below seem to work fine and don't seem to break the build, but
## they are only enabled in maintainer mode, so arbitrary users don't get
## trapped in automake's oddities. Therefore we ship the autogenerated
## files as part of the dist tarball.
##
if MAINTAINER_MODE
CLEANFILES = \
actual-abi \
expected-abi
DISTCLEANFILES = \
$(libthunarx_built_sources)
BUILT_SOURCES = \
$(libthunarx_built_sources)
if HAVE_GNUC_VISIBILITY
TESTS = \
abicheck.sh
endif
thunarx-alias.h: make-thunarx-alias.pl thunarx.symbols
$(PERL) $(srcdir)/make-thunarx-alias.pl < $(srcdir)/thunarx.symbols > thunarx-alias.h
thunarx-aliasdef.c: make-thunarx-alias.pl thunarx.symbols
$(PERL) $(srcdir)/make-thunarx-alias.pl -def < $(srcdir)/thunarx.symbols > thunarx-aliasdef.c
endif
# required for gtk-doc
dist-hook: all
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|