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
8 # If any interfaces have been removed since the last public release, then set
12 shareddir = $(datadir)/gupnp-dlna
14 AM_CFLAGS = -I$(top_srcdir) \
15 -I$(top_srcdir)/gst-convenience/gst-libs \
20 -DDATA_DIR='"$(shareddir)"' \
21 -DG_LOG_DOMAIN='"gupnp-dlna"'
23 lib_LTLIBRARIES = libgupnp-dlna-1.0.la
25 gupnp-dlna-marshal.c: gupnp-dlna-marshal.list
27 $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header --body > gupnp-dlna-marshal.c
29 gupnp-dlna-marshal.h: gupnp-dlna-marshal.list
31 $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header > gupnp-dlna-marshal.h
33 BUILT_SOURCES = gupnp-dlna-marshal.c gupnp-dlna-marshal.h
35 libgupnp_dlna_incdir = $(includedir)/gupnp-dlna-1.0/libgupnp-dlna
37 libgupnp_dlna_1_0_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined
39 libgupnp_dlna_inc_HEADERS = gupnp-dlna-profile.h \
40 gupnp-dlna-information.h \
41 gupnp-dlna-discoverer.h
43 noinst_HEADERS = gupnp-dlna-load.h
45 libgupnp_dlna_1_0_la_SOURCES = gupnp-dlna-information.c \
46 gupnp-dlna-discoverer.c \
47 gupnp-dlna-profile.c \
48 gupnp-dlna-profiles.c \
52 libgupnp_dlna_1_0_la_LIBADD = $(LIBXML_LIBS) \
53 $(top_builddir)/gst-convenience/gst-libs/gst/discoverer/.libs/libgstdiscoverer-gupnp-dlna-0.10.la \
54 $(top_builddir)/gst-convenience/gst-libs/gst/profile/.libs/libgstprofile-gupnp-dlna-0.10.la
56 EXTRA_DIST = gupnp-dlna-marshal.list
58 CLEANFILES = $(BUILT_SOURCES)