114
115
DEPDIR = @DEPDIR@
115
116
DISABLE_MEM_POOLS = @DISABLE_MEM_POOLS@
116
117
DLLTOOL = @DLLTOOL@
118
DSYMUTIL = @DSYMUTIL@
118
120
ECHO_C = @ECHO_C@
119
121
ECHO_N = @ECHO_N@
120
122
ECHO_T = @ECHO_T@
122
124
EXEEXT = @EXEEXT@
124
125
FAM_LIBS = @FAM_LIBS@
126
127
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
128
129
GIO_MODULE_DIR = @GIO_MODULE_DIR@
129
130
GLIBC21 = @GLIBC21@
130
131
GLIB_BINARY_AGE = @GLIB_BINARY_AGE@
131
132
GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@
132
GLIB_DEF = @GLIB_DEF@
133
GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
133
134
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
134
135
GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@
135
136
GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@
137
138
GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@
138
139
GLIB_VERSION = @GLIB_VERSION@
139
140
GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@
140
GMODULE_DEF = @GMODULE_DEF@
141
141
GMOFILES = @GMOFILES@
142
142
GMSGFMT = @GMSGFMT@
143
GOBJECT_DEF = @GOBJECT_DEF@
145
144
GSPAWN = @GSPAWN@
146
145
GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@
147
GTHREAD_DEF = @GTHREAD_DEF@
148
146
GTKDOC_CHECK = @GTKDOC_CHECK@
149
147
G_LIBS_EXTRA = @G_LIBS_EXTRA@
150
148
G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@
285
289
srcdir = @srcdir@
286
290
sysconfdir = @sysconfdir@
287
291
target_alias = @target_alias@
292
top_build_prefix = @top_build_prefix@
288
293
top_builddir = @top_builddir@
289
294
top_srcdir = @top_srcdir@
293
298
GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
295
300
# initialize variables for unconditional += appending
296
EXTRA_DIST = makefile.msc.in gmoduleconf.h.in gmodule.def gmodule-dl.c \
297
gmodule-dld.c gmodule-dyld.c gmodule-os2.c gmodule-win32.c \
298
gmodule-beos.c gmodule-ar.c gmoduleconf.h.win32 gmodule.rc.in
301
EXTRA_DIST = makefile.msc.in gmoduleconf.h.in gmodule.symbols \
302
gmodule-dl.c gmodule-dld.c gmodule-dyld.c gmodule-os2.c \
303
gmodule-win32.c gmodule-beos.c gmodule-ar.c \
304
gmoduleconf.h.win32 gmodule.rc.in
301
307
-I$(top_srcdir) \
317
323
libglib = $(top_builddir)/glib/libglib-2.0.la
318
324
top_builddir_full = `cd \$(top_builddir); pwd`
319
325
lib_LTLIBRARIES = libgmodule-2.0.la
320
@MS_LIB_AVAILABLE_TRUE@noinst_DATA = gmodule-2.0.lib
326
@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@noinst_DATA = gmodule-2.0.lib
327
@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@install_ms_lib_cmd = $(INSTALL) gmodule-2.0.lib $(DESTDIR)$(libdir)
328
@MS_LIB_AVAILABLE_TRUE@@OS_WIN32_AND_DLL_COMPILATION_TRUE@uninstall_ms_lib_cmd = -rm $(DESTDIR)$(libdir)/gmodule-2.0.lib
321
329
@PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
322
@OS_WIN32_TRUE@export_symbols = -export-symbols $(srcdir)/gmodule.def
323
@OS_WIN32_TRUE@gmodule_win32_res = gmodule-win32-res.o
324
@OS_WIN32_TRUE@gmodule_win32_res_ldflag = -Wl,$(gmodule_win32_res)
330
@OS_WIN32_AND_DLL_COMPILATION_TRUE@export_symbols = -export-symbols gmodule.def
331
@OS_WIN32_AND_DLL_COMPILATION_TRUE@gmodule_def = gmodule.def
332
@OS_WIN32_AND_DLL_COMPILATION_TRUE@gmodule_win32_res = gmodule-win32-res.o
333
@OS_WIN32_AND_DLL_COMPILATION_TRUE@gmodule_win32_res_ldflag = -Wl,$(gmodule_win32_res)
325
334
libgmodule_2_0_la_SOURCES = gmodule.c
326
335
libgmodule_2_0_la_LDFLAGS = \
327
336
$(gmodule_win32_res_ldflag) \
330
339
-export-dynamic $(no_undefined) $(export_symbols)
332
341
libgmodule_2_0_la_LIBADD = $(G_MODULE_LIBS_EXTRA) $(G_MODULE_LIBS) $(libglib)
333
libgmodule_2_0_la_DEPENDENCIES = $(gmodule_win32_res) $(GMODULE_DEF)
342
libgmodule_2_0_la_DEPENDENCIES = $(gmodule_win32_res) $(gmodule_def)
334
343
all: $(BUILT_SOURCES)
335
344
$(MAKE) $(AM_MAKEFLAGS) all-am
691
700
.PHONY: test test-report perf-report full-report
692
701
# run make test as part of make check
693
702
check-local: test
704
gmodule.def: gmodule.symbols
705
(echo -e EXPORTS; $(CPP) -P - <$(srcdir)/gmodule.symbols | sed -e '/^$$/d' -e 's/^/ /') > gmodule.def
694
706
gmoduleconf.h: gmoduleconf.h.in
696
@MS_LIB_AVAILABLE_TRUE@install-ms-lib:
697
@MS_LIB_AVAILABLE_TRUE@ $(INSTALL) gmodule-2.0.lib $(DESTDIR)$(libdir)
699
@MS_LIB_AVAILABLE_TRUE@uninstall-ms-lib:
700
@MS_LIB_AVAILABLE_TRUE@ -rm $(DESTDIR)$(libdir)/gmodule-2.0.lib
701
@MS_LIB_AVAILABLE_FALSE@install-ms-lib:
702
@MS_LIB_AVAILABLE_FALSE@uninstall-ms-lib:
704
@OS_WIN32_TRUE@install-def-file:
705
@OS_WIN32_TRUE@ $(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
707
@OS_WIN32_TRUE@uninstall-def-file:
708
@OS_WIN32_TRUE@ -rm $(DESTDIR)$(libdir)/gmodule-2.0.def
709
@OS_WIN32_FALSE@install-def-file:
710
@OS_WIN32_FALSE@uninstall-def-file:
712
@OS_WIN32_TRUE@gmodule-win32-res.o: gmodule.rc
713
@OS_WIN32_TRUE@ $(WINDRES) gmodule.rc $@
709
$(install_ms_lib_cmd)
712
$(uninstall_ms_lib_cmd)
714
@OS_WIN32_AND_DLL_COMPILATION_TRUE@install-def-file:
715
@OS_WIN32_AND_DLL_COMPILATION_TRUE@ $(INSTALL) gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
717
@OS_WIN32_AND_DLL_COMPILATION_TRUE@uninstall-def-file:
718
@OS_WIN32_AND_DLL_COMPILATION_TRUE@ -rm $(DESTDIR)$(libdir)/gmodule-2.0.def
719
@OS_WIN32_AND_DLL_COMPILATION_FALSE@install-def-file:
720
@OS_WIN32_AND_DLL_COMPILATION_FALSE@uninstall-def-file:
722
gmodule-win32-res.o: gmodule.rc
723
$(WINDRES) gmodule.rc $@
715
725
gmodule-2.0.lib: libgmodule-2.0.la gmodule.def
716
lib -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:$(srcdir)/gmodule.def -out:$@
726
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgmodule-2.0-$(LT_CURRENT_MINUS_AGE).dll -def:gmodule.def -out:$@
718
728
.PHONY: files release