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) \
18 -DDATA_DIR='"$(shareddir)"' \
19 -DG_LOG_DOMAIN='"gupnp-dlna"'
21 lib_LTLIBRARIES = libgupnp-dlna-1.0.la
23 gupnp-dlna-marshal.c: gupnp-dlna-marshal.list
25 $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header --body > gupnp-dlna-marshal.c
27 gupnp-dlna-marshal.h: gupnp-dlna-marshal.list
29 $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header > gupnp-dlna-marshal.h
31 BUILT_SOURCES = gupnp-dlna-marshal.c gupnp-dlna-marshal.h
33 libgupnp_dlna_incdir = $(includedir)/gupnp-dlna-1.0/libgupnp-dlna
35 libgupnp_dlna_1_0_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined
37 libgupnp_dlna_inc_HEADERS = gupnp-dlna-profile.h \
38 gupnp-dlna-information.h \
39 gupnp-dlna-discoverer.h
41 noinst_HEADERS = profile-loading.h \
42 gupnp-dlna-profile-private.h
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 \
51 libgupnp_dlna_1_0_la_LIBADD = $(LIBXML_LIBS) \
54 EXTRA_DIST = gupnp-dlna-marshal.list
56 CLEANFILES = $(BUILT_SOURCES)