1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule \
4 -DG_LOG_DOMAIN=\"GModule\" @GLIB_DEBUG_FLAGS@
25 BUILT_SOURCES = gmoduleconf.h
26 gmoduleconf.h: gmoduleconf.h.in
28 glibincludedir=$(includedir)/glib-2.0
29 glibinclude_HEADERS = \
32 libglib = $(top_builddir)/glib/libglib-1.3.la
34 top_builddir_full=`cd \$(top_builddir); pwd`
36 lib_LTLIBRARIES = libgmodule-1.3.la
39 noinst_DATA = gmodule-1.3.lib
42 $(INSTALL) gmodule-1.3.lib $(DESTDIR)$(libdir)
45 -rm $(DESTDIR)$(libdir)/gmodule-1.3.lib
52 no_undefined = -no-undefined
56 export_symbols = -export-symbols gmodule.def
58 install-libtool-import-lib:
59 $(INSTALL) .libs/libgmodule-1.3.dll.a $(DESTDIR)$(libdir)
60 uninstall-libtool-import-lib:
61 -rm $(DESTDIR)$(libdir)/libgmodule-1.3.dll.a
63 install-libtool-import-lib:
64 uninstall-libtool-import-lib:
67 libgmodule_1_3_la_SOURCES = gmodule.c
68 libgmodule_1_3_la_LDFLAGS = \
70 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
71 -export-dynamic $(no_undefined) $(export_symbols)
73 libgmodule_1_3_la_LIBADD = @G_MODULE_WIN32_RESOURCE@ @G_MODULE_LIBS_EXTRA@ @G_MODULE_LIBS@ $(libglib)
75 libgmodule_1_3_la_DEPENDENCIES = @G_MODULE_WIN32_RESOURCE@ @GMODULE_DEF@
78 @G_MODULE_WIN32_RESOURCE@ : gmodule.rc
79 $(top_srcdir)/build/win32/lt-compile-resource gmodule.rc @G_MODULE_WIN32_RESOURCE@
82 gmodule-1.3.lib: libgmodule-1.3.la gmodule.def
83 lib -name:libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gmodule.def -out:$@
85 gmodule.rc: $(top_builddir)/config.status $(top_srcdir)/gmodule/gmodule.rc.in
86 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
88 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.mingw.in
89 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
91 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/gmodule/makefile.msc.in
92 cd $(top_builddir) && CONFIG_FILES=gmodule/$@ CONFIG_HEADERS= $(SHELL) ./config.status
97 @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
102 $(MAKE) dist distdir=$(PACKAGE)`date +"%y%m%d"`
104 dist-hook: $(BUILT_EXTRA_DIST)
105 @files='$(BUILT_EXTRA_DIST)'; \
106 for f in $$files; do \
107 if test -f $$f; then d=.; else d=$(srcdir); fi; \
108 cp $$d/$$f $(distdir) || exit 1; done
111 install-data-local: install-ms-lib install-libtool-import-lib
113 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib