More actions to make valaunch gtk+3.0 ready
[valaunch:valaunch.git] / src / Makefile.am
1 NULL =
2
3 bin_PROGRAMS = valaunch
4
5 #-DGTK_DISABLE_SINGLE_INCLUDES=1 does not work on ubuntu
6
7 INCLUDES = \
8         -include $(CONFIG_HEADER) \
9         $(VALAUNCH_CFLAGS) \
10         -DDATADIR=\"$(datadir)/valaunch/\" \
11         -DUIDIR=\"$(datadir)/valaunch/ui/\" \
12         -DPLUGINSDIR=\"$(libdir)/valaunch\" \
13         -DLICENSEDIR=\"$(datadir)/valaunch/license/\" \
14         -DLOCALE_DIR=\"${datarootdir}/locale\" \
15         -DGTK_DISABLE_DEPRECATED=1 \
16         -DGDK_DISABLE_DEPRECATED=1 \
17         -DGDK_PIXBUF_DISABLE_DEPRECATED=1 \
18         -DG_DISABLE_DEPRECATED=1 \
19         -DPANGO_DISABLE_DEPRECATED=1 \
20         -DGSEAL_ENABLE=1 \
21         $(NULL)
22
23 valaunchdir = $(includedir)/valaunch-1.0
24 valaunch_HEADERS = valaunch.h
25
26 BUILT_SOURCES = \
27         valaunch-1.0.vapi \
28         valaunch.h \
29         $(NULL)
30
31 valaunch_SOURCES = \
32         valaunch-action.vala \
33         valaunch-collection.vala \
34         valaunch-frame.vala \
35         valaunch-icon-box.vala \
36         valaunch-item.vala \
37         valaunch-main.vala \
38         valaunch-module-manager.vala \
39         valaunch-displayable-interface.vala \
40         valaunch-plugin-loader.vala \
41         valaunch-plugin.vala \
42         valaunch-plugin-information.vala \
43         valaunch-plugin-interface.vala \
44         valaunch-query-module-interface.vala \
45         valaunch-utils.vala \
46         valaunch-window.vala \
47         eggaccelerators.c \
48         tomboykeybinder.c \
49         $(NULL)
50
51 VALAFLAGS = \
52         --basedir $(top_srcdir)/src \
53         --pkg config \
54         --thread \
55         --vapidir $(srcdir)/../vapi \
56         --vapi=$(srcdir)/valaunch-1.0.vapi \
57         --header=$(srcdir)/valaunch.h \
58         @VALAUNCH_PACKAGES@ \
59         $(NULL)
60
61 valaunch_LDADD = \
62         $(VALAUNCH_LIBS) \
63         $(NULL)
64
65 valaunch_LDFLAGS = -export-dynamic
66
67 VAPI_FILES = valaunch-1.0.vapi
68 DEPS_FILES = valaunch-1.0.deps
69
70 vapidir = $(VAPIDIR)
71 vapi_DATA = $(VAPI_FILES) $(DEPS_FILES)
72
73 MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)
74
75 EXTRA_DIST = \
76         $(VAPI_FILES) \
77         $(DEPS_FILES) \
78         $(BUILT_SOURCES) \
79         tomboykeybinder.h \
80         tomboykeybinder.c \
81         eggaccelerators.h \
82         eggaccelerators.c \
83         $(NULL)
84
85 DISTCLEANFILES = \
86         valaunch-*.c
87         valaunch_vala.stamp \
88         Makefile.in \
89         $(NULL)
90