Rename gupnp-dlna-load.[hc] to profile-loading.[hc]
[gupnp:gupnp-dlna.git] / libgupnp-dlna / Makefile.am
1 # Version format current:revision:age
2 # If the library source code has changed at all since the last update, then
3 # increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
4 # If any interfaces have been added, removed, or changed since the last update,
5 # increment current, and set revision to 0.
6 # If any interfaces have been added since the last public release, then
7 # increment age.
8 # If any interfaces have been removed since the last public release, then set
9 # age to 0.
10 LTVERSION = 0:0:0
11
12 shareddir = $(datadir)/gupnp-dlna
13
14 AM_CFLAGS = -I$(top_srcdir) \
15             $(LIBXML_CFLAGS) \
16             $(GST_CFLAGS) \
17             $(GST_PBU_CFLAGS) \
18             -DDATA_DIR='"$(shareddir)"' \
19             -DG_LOG_DOMAIN='"gupnp-dlna"'
20
21 lib_LTLIBRARIES = libgupnp-dlna-1.0.la
22
23 gupnp-dlna-marshal.c: gupnp-dlna-marshal.list
24         $(AM_V_GEN) \
25         $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header --body > gupnp-dlna-marshal.c
26
27 gupnp-dlna-marshal.h: gupnp-dlna-marshal.list
28         $(AM_V_GEN) \
29         $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header > gupnp-dlna-marshal.h
30
31 BUILT_SOURCES = gupnp-dlna-marshal.c gupnp-dlna-marshal.h
32
33 libgupnp_dlna_incdir = $(includedir)/gupnp-dlna-1.0/libgupnp-dlna
34
35 libgupnp_dlna_1_0_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined
36
37 libgupnp_dlna_inc_HEADERS = gupnp-dlna-profile.h \
38                             gupnp-dlna-information.h \
39                             gupnp-dlna-discoverer.h
40
41 noinst_HEADERS = profile-loading.h \
42                  gupnp-dlna-profile-private.h
43
44 libgupnp_dlna_1_0_la_SOURCES = gupnp-dlna-information.c \
45                                gupnp-dlna-discoverer.c \
46                                gupnp-dlna-profile.c \
47                                gupnp-dlna-profiles.c \
48                                profile-loading.c \
49                                $(BUILT_SOURCES)
50
51 libgupnp_dlna_1_0_la_LIBADD = $(LIBXML_LIBS) \
52                               $(GST_PBU_LIBS)
53
54 EXTRA_DIST = gupnp-dlna-marshal.list
55
56 CLEANFILES = $(BUILT_SOURCES)