Dont add null mimetypes. Fixes bgo# 337431. The patch hasnt been officially accepted...
[beagle.git] / libbeagle / beagle / Makefile.am
blob6e39cf37156b5e0e3eed30f507b83df8c374d87a
1 INCLUDES = \
2         -I$(top_srcdir)/libbeagle       \
3         $(LIBBEAGLE_CFLAGS)             \
4         $(WARN_CFLAGS)
6 lib_LTLIBRARIES = libbeagle.la
8 BUILT_SOURCES =                 \
9         beagle-marshal.c        \
10         beagle-marshal.h
12 libbeagle_la_SOURCES =                          \
13         beagle-client.c                         \
14         beagle-daemon-information-request.c     \
15         beagle-daemon-information-response.c    \
16         beagle-empty-response.c                 \
17         beagle-error-response.c                 \
18         beagle-finished-response.c              \
19         beagle-hit.c                            \
20         beagle-hits-added-response.c            \
21         beagle-hits-subtracted-response.c       \
22         beagle-indexable.c                      \
23         beagle-indexing-service-request.c       \
24         beagle-property.c                       \
25         beagle-marshal.c                        \
26         beagle-marshal.h                        \
27         beagle-parser.c                         \
28         beagle-parser.h                         \
29         beagle-private.h                        \
30         beagle-query.c                          \
31         beagle-query-part.c                     \
32         beagle-query-part-date.c                \
33         beagle-query-part-human.c               \
34         beagle-query-part-or.c                  \
35         beagle-query-part-property.c            \
36         beagle-query-part-text.c                \
37         beagle-queryable-status.c               \
38         beagle-scheduler-information.c          \
39         beagle-request.c                        \
40         beagle-response.c                       \
41         beagle-search-term-response.c           \
42         beagle-snippet-request.c                \
43         beagle-snippet-response.c               \
44         beagle-shutdown-request.c               \
45         beagle-timestamp.c                      \
46         beagle-util.c                           
48 libbeagle_la_LDFLAGS =          \
49         -no-undefined
50         -export-symbols-regex "^[^_].*"
52 libbeagle_la_LIBADD =           \
53         $(LIBBEAGLE_LIBS)
55 libbeagleincludedir = $(includedir)/libbeagle/beagle
56 libbeagleinclude_HEADERS =                      \
57         beagle.h                                \
58         beagle-client.h                         \
59         beagle-daemon-information-request.h     \
60         beagle-daemon-information-response.h    \
61         beagle-empty-response.h                 \
62         beagle-error-response.h                 \
63         beagle-finished-response.h              \
64         beagle-hit.h                            \
65         beagle-hits-added-response.h            \
66         beagle-hits-subtracted-response.h       \
67         beagle-indexable.h                      \
68         beagle-indexing-service-request.h       \
69         beagle-property.h                       \
70         beagle-query.h                          \
71         beagle-query-part.h                     \
72         beagle-query-part-date.h                \
73         beagle-query-part-human.h               \
74         beagle-query-part-or.h                  \
75         beagle-query-part-property.h            \
76         beagle-query-part-text.h                \
77         beagle-queryable-status.h               \
78         beagle-scheduler-information.h          \
79         beagle-request.h                        \
80         beagle-response.h                       \
81         beagle-search-term-response.h           \
82         beagle-shutdown-request.h               \
83         beagle-snippet-request.h                \
84         beagle-snippet-response.h               \
85         beagle-timestamp.h                      \
86         beagle-util.h
88 EXTRA_DIST = beagle-marshal.list
90 CLEANFILES  = $(BUILT_SOURCES)
92 beagle-marshal.h: beagle-marshal.list
93         cd $(srcdir) \
94         && glib-genmarshal --prefix=beagle_marshal beagle-marshal.list --header >> xgen-gmh \
95         && (cmp -s xgen-gmh beagle-marshal.h || cp xgen-gmh beagle-marshal.h) \
96         && rm -f xgen-gmh xgen-gmh~
98 beagle-marshal.c: beagle-marshal.list
99         cd $(srcdir) \
100         && glib-genmarshal --prefix=beagle_marshal beagle-marshal.list --body >> xgen-gmc \
101         && (cmp -s xgen-gmc beagle-marshal.c || cp xgen-gmc beagle-marshal.c) \
102         && rm -f xgen-gmc xgen-gmc~
104 noinst_PROGRAMS = test-client
106 test_client_SOURCES = test-client.c
107 test_client_LDADD = libbeagle.la