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
13 AM_CFLAGS = $(LIBGSSDP_CFLAGS) -I$(top_srcdir)
15 libgssdpincdir = $(includedir)/gssdp-1.0/libgssdp
17 lib_LTLIBRARIES = libgssdp-1.0.la
19 libgssdpinc_HEADERS = gssdp-client.h \
21 gssdp-resource-browser.h \
22 gssdp-resource-group.h \
25 gssdp-marshal.c: gssdp-marshal.list
27 $(GLIB_GENMARSHAL) --prefix=gssdp_marshal $(srcdir)/gssdp-marshal.list --header --body > gssdp-marshal.c
29 gssdp-marshal.h: gssdp-marshal.list
31 $(GLIB_GENMARSHAL) --prefix=gssdp_marshal $(srcdir)/gssdp-marshal.list --header > gssdp-marshal.h
33 BUILT_SOURCES = gssdp-marshal.c gssdp-marshal.h
35 introspection_sources = $(libgssdpinc_HEADERS) \
38 gssdp-resource-browser.c\
39 gssdp-resource-group.c
41 libgssdp_1_0_la_LDFLAGS = -version-info $(LTVERSION)
42 libgssdp_1_0_la_SOURCES = $(introspection_sources) \
43 gssdp-client-private.h \
45 gssdp-socket-source.c \
46 gssdp-socket-source.h \
47 gssdp-socket-functions.c \
48 gssdp-socket-functions.h \
51 libgssdp_1_0_la_LIBADD = $(LIBGSSDP_LIBS)
55 libgssdp_1_0_la_LIBADD += -lws2_32 -liphlpapi
56 libgssdp_1_0_la_LDFLAGS += -no-undefined
59 EXTRA_DIST = gssdp-marshal.list
61 CLEANFILES = $(BUILT_SOURCES)
63 -include $(INTROSPECTION_MAKEFILE)
65 INTROSPECTION_SCANNER_ARGS = --warn-all \
66 --symbol-prefix=gssdp \
67 --identifier-prefix=GSSDP \
68 --add-include-path=$(top_srcdir) \
69 --pkg-export=gssdp-1.0
70 INTROSPECTION_COMPILER_ARGS = --includedir=$(top_srcdir)
74 GSSDP-1.0.gir: libgssdp-1.0.la
75 GSSDP_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
76 GSSDP_1_0_gir_CFLAGS = $(INCLUDES)
77 GSSDP_1_0_gir_LIBS = libgssdp-1.0.la
78 GSSDP_1_0_gir_FILES = $(introspection_sources)
79 GSSDP_1_0_gir_NAMESPACE = GSSDP
80 GSSDP_1_0_gir_VERSION = 1.0
81 INTROSPECTION_GIRS += GSSDP-1.0.gir
83 girdir = $(datadir)/gir-1.0
84 gir_DATA = GSSDP-1.0.gir
86 typelibdir = $(libdir)/girepository-1.0
87 typelib_DATA = $(gir_DATA:.gir=.typelib)
89 CLEANFILES += $(gir_DATA) $(typelib_DATA)
92 DISTCLEANFILES = $(BUILT_SOURCES)
93 MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)