~lkundrak/network-manager-applet/nma-1-2

« back to all changes in this revision

Viewing changes to src/marshallers/Makefile.am

  • Committer: Dan Winship
  • Date: 2012-06-20 12:58:27 UTC
  • Revision ID: git-v1:0d116154fb1e85e6a9551f48e76efdf3ac510373
Use Makefile.glib to build marshallers

Also copy in a local version of the GLIB_CONFIG autoconf macro, and
use that (to get gschema stuff configured in for free too)

https://bugzilla.gnome.org/show_bug.cgi?id=662767

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include $(GLIB_MAKEFILE)
 
2
 
1
3
noinst_LTLIBRARIES = libmarshallers.la
2
4
 
3
 
BUILT_SOURCES = \
 
5
GLIB_GENERATED = \
4
6
        nma-marshal.h \
5
7
        nma-marshal.c
6
8
 
 
9
BUILT_SOURCES = $(GLIB_GENERATED)
 
10
 
 
11
nma_marshal_sources = \
 
12
        $(top_srcdir)/src/*.c \
 
13
        $(top_srcdir)/src/gnome-bluetooth/*.c \
 
14
        $(top_srcdir)/src/connection-editor/*.c
 
15
 
7
16
libmarshallers_la_SOURCES = \
8
 
        nma-marshal-main.c
 
17
        nma-marshal.h \
 
18
        nma-marshal.c
9
19
 
10
20
libmarshallers_la_CPPFLAGS = \
11
21
        $(GOBJECT_CFLAGS) \
14
24
 
15
25
libmarshallers_la_LIBADD = $(GOBJECT_LIBS)
16
26
 
17
 
EXTRA_DIST = nma-marshal.list
18
 
CLEANFILES = $(BUILT_SOURCES)
19
 
 
20
 
nma-marshal.h: nma-marshal.list
21
 
        $(GLIB_GENMARSHAL) $< --prefix=_nma_marshal --header > $@
22
 
 
23
 
nma-marshal.c: nma-marshal.list
24
 
        $(GLIB_GENMARSHAL) $< --prefix=_nma_marshal --body > $@
25
 
 
26
 
nma-marshal-main.c: nma-marshal.c nma-marshal.h
27