summaryrefslogtreecommitdiff
path: root/libgupnp-av/Makefile.am
diff options
context:
space:
mode:
authorMark Ryan <mark.d.ryan@intel.com>2012-09-14 17:06:27 +0200
committerMark Ryan <mark.d.ryan@intel.com>2012-09-14 17:06:27 +0200
commita4715d2e8aa44865a0b11fd0ac27ae7049cf5170 (patch)
tree44ad3fdd902545b93cb2ada1b643016accc0d0bb /libgupnp-av/Makefile.am
downloadGUPnP-AV-a4715d2e8aa44865a0b11fd0ac27ae7049cf5170.tar.gz
GUPnP-AV-a4715d2e8aa44865a0b11fd0ac27ae7049cf5170.tar.bz2
GUPnP-AV-a4715d2e8aa44865a0b11fd0ac27ae7049cf5170.zip
Diffstat (limited to 'libgupnp-av/Makefile.am')
-rw-r--r--libgupnp-av/Makefile.am114
1 files changed, 114 insertions, 0 deletions
diff --git a/libgupnp-av/Makefile.am b/libgupnp-av/Makefile.am
new file mode 100644
index 0000000..40475ed
--- /dev/null
+++ b/libgupnp-av/Makefile.am
@@ -0,0 +1,114 @@
+# Version format current:revision:age
+# If the library source code has changed at all since the last update, then
+# increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
+# If any interfaces have been added, removed, or changed since the last update,
+# increment current, and set revision to 0.
+# If any interfaces have been added since the last public release, then
+# increment age.
+# If any interfaces have been removed since the last public release, then set
+# age to 0.
+LTVERSION = 2:0:0
+
+AM_CFLAGS = $(LIBGUPNP_CFLAGS) -I$(top_srcdir)
+
+libgupnp_av_incdir = $(includedir)/gupnp-av-1.0/libgupnp-av
+
+lib_LTLIBRARIES = libgupnp-av-1.0.la
+
+libgupnp_av_inc_HEADERS = gupnp-didl-lite-object.h \
+ gupnp-didl-lite-item.h \
+ gupnp-didl-lite-container.h \
+ gupnp-didl-lite-parser.h \
+ gupnp-didl-lite-resource.h \
+ gupnp-didl-lite-descriptor.h \
+ gupnp-didl-lite-contributor.h \
+ gupnp-didl-lite-writer.h \
+ gupnp-protocol-info.h \
+ gupnp-search-criteria-parser.h \
+ gupnp-last-change-parser.h \
+ gupnp-dlna.h \
+ gupnp-av-error.h \
+ gupnp-av.h
+
+
+gupnp-av-marshal.c: gupnp-av-marshal.list
+ $(AM_V_GEN) \
+ $(GLIB_GENMARSHAL) --prefix=gupnp_av_marshal $(srcdir)/gupnp-av-marshal.list --header --body > gupnp-av-marshal.c
+
+gupnp-av-marshal.h: gupnp-av-marshal.list
+ $(AM_V_GEN) \
+ $(GLIB_GENMARSHAL) --prefix=gupnp_av_marshal $(srcdir)/gupnp-av-marshal.list --header > gupnp-av-marshal.h
+
+BUILT_SOURCES = gupnp-av-marshal.c gupnp-av-marshal.h
+
+libgupnp_av_1_0_la_LDFLAGS = -version-info $(LTVERSION) -no-undefined
+
+libgupnp_av_1_0_la_SOURCES = gupnp-didl-lite-object.c \
+ gupnp-didl-lite-object-private.h \
+ gupnp-didl-lite-item.c \
+ gupnp-didl-lite-container.c \
+ gupnp-didl-lite-parser.c \
+ gupnp-didl-lite-resource.c \
+ gupnp-didl-lite-resource-private.h \
+ gupnp-didl-lite-descriptor.c \
+ gupnp-didl-lite-descriptor-private.h \
+ gupnp-didl-lite-contributor.c \
+ gupnp-didl-lite-contributor-private.h \
+ gupnp-didl-lite-writer.c \
+ gupnp-protocol-info.c \
+ gupnp-search-criteria-parser.c \
+ gupnp-last-change-parser.c \
+ gupnp-dlna.c \
+ gupnp-av-error.c \
+ xml-util.c \
+ xml-util.h \
+ gvalue-util.c \
+ gvalue-util.h \
+ $(BUILT_SOURCES)
+
+libgupnp_av_1_0_la_LIBADD = $(LIBGUPNP_LIBS)
+
+EXTRA_DIST = gupnp-av-marshal.list
+
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir)
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+introspection_sources = \
+ $(addprefix $(top_srcdir)/libgupnp-av/, \
+ $(libgupnp_av_inc_HEADERS)) \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-object.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-item.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-container.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-parser.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-resource.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-descriptor.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-contributor.c \
+ $(top_srcdir)/libgupnp-av/gupnp-didl-lite-writer.c \
+ $(top_srcdir)/libgupnp-av/gupnp-protocol-info.c \
+ $(top_srcdir)/libgupnp-av/gupnp-search-criteria-parser.c \
+ $(top_srcdir)/libgupnp-av/gupnp-last-change-parser.c \
+ $(top_srcdir)/libgupnp-av/gupnp-dlna.c \
+ $(top_srcdir)/libgupnp-av/gupnp-av-error.c
+
+GUPnPAV-1.0.gir: libgupnp-av-1.0.la
+GUPnPAV_1_0_gir_INCLUDES = GObject-2.0 GSSDP-1.0 Soup-2.4 libxml2-2.0 GUPnP-1.0
+GUPnPAV_1_0_gir_CFLAGS = $(AM_CFLAGS)
+GUPnPAV_1_0_gir_LIBS = libgupnp-av-1.0.la
+GUPnPAV_1_0_gir_SCANNERFLAGS = --identifier-prefix=GUPnP --symbol-prefix=gupnp --pkg-export=gupnp-av-1.0
+GUPnPAV_1_0_gir_FILES = $(introspection_sources)
+INTROSPECTION_GIRS += GUPnPAV-1.0.gir
+
+girdir = $(INTROSPECTION_GIRDIR)
+gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(INTROSPECTION_TYPELIBDIR)
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+endif
+
+CLEANFILES = $(BUILT_SOURCES) $(gir_DATA) $(typelib_DATA)
+DISTCLEANFILES = $(BUILT_SOURCES)
+MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)
+