~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to gobject/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
# libraries to compile and install
37
37
lib_LTLIBRARIES = libgobject-2.0.la
38
38
 
 
39
if OS_WIN32_AND_DLL_COMPILATION
39
40
if MS_LIB_AVAILABLE
40
41
noinst_DATA = gobject-2.0.lib
41
42
 
42
 
install-ms-lib:
43
 
        $(INSTALL) gobject-2.0.lib $(DESTDIR)$(libdir)
44
 
 
45
 
uninstall-ms-lib:
46
 
        -rm $(DESTDIR)$(libdir)/gobject-2.0.lib
47
 
else
48
 
install-ms-lib:
49
 
uninstall-ms-lib:
50
 
endif
 
43
install_ms_lib_cmd = $(INSTALL) gobject-2.0.lib $(DESTDIR)$(libdir)
 
44
uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gobject-2.0.lib
 
45
endif
 
46
endif
 
47
 
 
48
install-ms-lib:
 
49
        $(install_ms_lib_cmd)
 
50
 
 
51
uninstall-ms-lib:
 
52
        $(uninstall_ms_lib_cmd)
51
53
 
52
54
if PLATFORM_WIN32
53
55
no_undefined = -no-undefined
54
56
endif
55
57
 
56
 
if OS_WIN32
 
58
if OS_WIN32_AND_DLL_COMPILATION
57
59
export_symbols = -export-symbols gobject.def
 
60
gobject_def = gobject.def
 
61
 
 
62
gobject_win32_res = gobject-win32-res.o
 
63
gobject_win32_res_ldflag = -Wl,$(gobject_win32_res)
58
64
 
59
65
install-def-file:
60
66
        $(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def
68
74
export_symbols = $(LIBTOOL_EXPORT_OPTIONS)
69
75
endif
70
76
 
71
 
if OS_WIN32
72
 
gobject_win32_res = gobject-win32-res.o
73
 
gobject_win32_res_ldflag = -Wl,$(gobject_win32_res)
74
 
endif
75
 
 
76
77
# libtool stuff: set version and export symbols for resolving
77
78
libgobjectincludedir = $(includedir)/glib-2.0/gobject
78
79
libgobject_2_0_la_LDFLAGS = \
82
83
 
83
84
libgobject_2_0_la_LIBADD = $(libglib)
84
85
 
85
 
libgobject_2_0_la_DEPENDENCIES = $(gobject_win32_res) $(GOBJECT_DEF)
 
86
libgobject_2_0_la_DEPENDENCIES = $(gobject_win32_res) $(gobject_def)
86
87
 
87
88
#
88
89
# setup source file variables
239
240
        gobjectalias.h          \
240
241
        gobjectaliasdef.c
241
242
 
242
 
 
243
 
if OS_WIN32
244
243
gobject-win32-res.o: gobject.rc
245
244
        $(WINDRES) gobject.rc $@
246
 
endif
247
245
 
248
246
gobject-2.0.lib: libgobject-2.0.la gobject.def
249
 
        lib -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gobject.def -out:$@
 
247
        lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgobject-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gobject.def -out:$@
250
248
 
251
249
dist-hook: $(BUILT_EXTRA_DIST)
252
250
        files='$(BUILT_EXTRA_DIST)'; \