xml: Relax AVC_MP4_MP_HD_1080i_AAC profile restrictions
[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             -I$(top_srcdir)/gst-convenience/gst-libs \
16             $(LIBXML_CFLAGS) \
17             $(GST_CFLAGS) \
18             $(GST_BASE_CFLAGS) \
19             $(GST_VIDEO_CFLAGS) \
20             -DDATA_DIR='"$(shareddir)"' \
21             -DG_LOG_DOMAIN='"gupnp-dlna"'
22
23 lib_LTLIBRARIES = libgupnp-dlna-1.0.la
24
25 gupnp-dlna-marshal.c: gupnp-dlna-marshal.list
26         $(AM_V_GEN) \
27         $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header --body > gupnp-dlna-marshal.c
28
29 gupnp-dlna-marshal.h: gupnp-dlna-marshal.list
30         $(AM_V_GEN) \
31         $(GLIB_GENMARSHAL) --prefix=gupnp_dlna_marshal $(srcdir)/gupnp-dlna-marshal.list --header > gupnp-dlna-marshal.h
32
33 BUILT_SOURCES = gupnp-dlna-marshal.c gupnp-dlna-marshal.h
34
35 libgupnp_dlna_incdir = $(includedir)/gupnp-dlna-1.0/libgupnp-dlna
36
37 libgupnp_dlna_1_0_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined
38
39 libgupnp_dlna_inc_HEADERS = gupnp-dlna-profile.h \
40                             gupnp-dlna-information.h \
41                             gupnp-dlna-discoverer.h
42
43 noinst_HEADERS = gupnp-dlna-load.h
44
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 \
49                                gupnp-dlna-load.c \
50                                $(BUILT_SOURCES)
51
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
55
56 EXTRA_DIST = gupnp-dlna-marshal.list
57
58 CLEANFILES = $(BUILT_SOURCES)