1 | if PLATFORM_WIN32 |
---|
2 | no_undefined = -no-undefined |
---|
3 | endif |
---|
4 | |
---|
5 | if OS_WIN32 |
---|
6 | install-libtool-import-lib: |
---|
7 | $(INSTALL) .libs/libgnomecanvas-2.dll.a $(DESTDIR)$(libdir) |
---|
8 | |
---|
9 | uninstall-libtool-import-lib: |
---|
10 | -rm $(DESTDIR)$(libdir)/libgnomecanvas-2.dll.a |
---|
11 | else |
---|
12 | install-libtool-import-lib: |
---|
13 | uninstall-libtool-import-lib: |
---|
14 | endif |
---|
15 | |
---|
16 | INCLUDES = \ |
---|
17 | -I$(top_srcdir) \ |
---|
18 | -I$(top_builddir) \ |
---|
19 | $(WARN_CFLAGS) \ |
---|
20 | $(LIBGNOMECANVAS_CFLAGS) \ |
---|
21 | -DGNOMECANVASLIBDIR=\""$(libdir)"\" \ |
---|
22 | -DGNOMECANVASDATADIR=\""$(datadir)"\" \ |
---|
23 | -DGNOMECANVASPIXMAPDIR=\""$(datadir)/pixmaps"\" \ |
---|
24 | -DGNOMECANVASBINDIR=\""$(bindir)"\" \ |
---|
25 | -DGNOMECANVASLOCALSTATEDIR=\""$(localstatedir)"\" \ |
---|
26 | -DG_LOG_DOMAIN=\"GnomeCanvas\" |
---|
27 | |
---|
28 | lib_LTLIBRARIES = libgnomecanvas-2.la |
---|
29 | |
---|
30 | libgnomecanvas_2_la_LIBADD = \ |
---|
31 | $(LIBGNOMECANVAS_LIBS) |
---|
32 | |
---|
33 | libgnomecanvas_2_la_LDFLAGS = $(no_undefined) \ |
---|
34 | -version-info $(LIBGNOMECANVAS_CURRENT):$(LIBGNOMECANVAS_REVISION):$(LIBGNOMECANVAS_AGE) |
---|
35 | |
---|
36 | libgnomecanvasincludedir = $(includedir)/libgnomecanvas-2.0/libgnomecanvas |
---|
37 | |
---|
38 | libgnomecanvasinclude_HEADERS = \ |
---|
39 | gnome-canvas-shape.h \ |
---|
40 | gnome-canvas-bpath.h \ |
---|
41 | gnome-canvas-clipgroup.h \ |
---|
42 | gnome-canvas-line.h \ |
---|
43 | gnome-canvas-pixbuf.h \ |
---|
44 | gnome-canvas-polygon.h \ |
---|
45 | gnome-canvas-rect-ellipse.h \ |
---|
46 | gnome-canvas-text.h \ |
---|
47 | gnome-canvas-rich-text.h \ |
---|
48 | gnome-canvas-util.h \ |
---|
49 | gnome-canvas-widget.h \ |
---|
50 | gnome-canvas-path-def.h \ |
---|
51 | gnome-canvas.h \ |
---|
52 | libgnomecanvas.h |
---|
53 | |
---|
54 | libgnomecanvas_2_la_SOURCES = \ |
---|
55 | $(libgnomecanvasinclude_HEADERS) \ |
---|
56 | gnome-canvas-shape.c \ |
---|
57 | gnome-canvas-shape-private.h \ |
---|
58 | gnome-canvas-bpath.c \ |
---|
59 | gnome-canvas-path-def.c \ |
---|
60 | gnome-canvas-clipgroup.c \ |
---|
61 | gnome-canvas-i18n.h \ |
---|
62 | gnome-canvas-line.c \ |
---|
63 | gnome-canvas-pixbuf.c \ |
---|
64 | gnome-canvas-polygon.c \ |
---|
65 | gnome-canvas-rect-ellipse.c \ |
---|
66 | gnome-canvas-text.c \ |
---|
67 | gnome-canvas-rich-text.c \ |
---|
68 | gnome-canvas-util.c \ |
---|
69 | gnome-canvas-widget.c \ |
---|
70 | gnome-canvas.c \ |
---|
71 | libgnomecanvastypes.c |
---|
72 | |
---|
73 | $(libgnomecanvas_2_la_OBJECTS): $(marshal_sources) |
---|
74 | |
---|
75 | marshal_sources = \ |
---|
76 | gnome-canvas-marshal.c \ |
---|
77 | gnome-canvas-marshal.h |
---|
78 | |
---|
79 | BUILT_SOURCES = \ |
---|
80 | $(marshal_sources) |
---|
81 | |
---|
82 | gnome-canvas-marshal.h: gnome-canvas-marshal.list $(GLIB_GENMARSHAL) |
---|
83 | $(GLIB_GENMARSHAL) $< --header --prefix=gnome_canvas_marshal > $@ |
---|
84 | gnome-canvas-marshal.c: gnome-canvas-marshal.list $(GLIB_GENMARSHAL) |
---|
85 | $(GLIB_GENMARSHAL) $< --body --prefix=gnome_canvas_marshal > $@ |
---|
86 | |
---|
87 | CLEANFILES = $(marshal_sources) |
---|
88 | |
---|
89 | EXTRA_DIST = \ |
---|
90 | gnome-canvas-marshal.list \ |
---|
91 | libgnomecanvas-2.0.pc.in \ |
---|
92 | libgnomecanvas-2.0-uninstalled.pc.in |
---|
93 | |
---|
94 | pkgconfigdir = $(libdir)/pkgconfig |
---|
95 | pkgconfig_DATA = libgnomecanvas-2.0.pc |
---|
96 | |
---|
97 | DONT_DIST_SOURCE = $(marshal_sources) |
---|
98 | |
---|
99 | dist-hook: |
---|
100 | for file in $(DONT_DIST_SOURCE) ; do \ |
---|
101 | rm -f $(distdir)/$$file ; \ |
---|
102 | done |
---|
103 | |
---|
104 | install-data-local: install-libtool-import-lib |
---|
105 | |
---|
106 | uninstall-local: uninstall-libtool-import-lib |
---|