1 ## Process this file with automake to produce Makefile.in
5 INCLUDES = -I$(top_srcdir) -DG_LOG_DOMAIN=\"GLib\" \
6 @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
12 gen-unicode-tables.pl \
15 # These may be in the builddir too
21 lib_LTLIBRARIES = libglib-2.0.la
24 noinst_DATA = glib-2.0.lib
27 $(INSTALL) glib-2.0.lib $(DESTDIR)$(libdir)
30 -rm $(DESTDIR)$(libdir)/glib-2.0.lib
36 libglib_2_0_la_SOURCES = \
87 EXTRA_libglib_2_0_la_SOURCES = \
94 glibincludedir=$(includedir)/glib-2.0
95 glibinclude_HEADERS = \
99 glibsubincludedir=$(includedir)/glib-2.0/glib
100 glibsubinclude_HEADERS = \
145 install-data-local: install-ms-lib install-libtool-import-lib
146 @if test -f $(glibincludedir)/glist.h ; then \
147 echo "*** Old headers found in $(glibincludedir). You should remove the" ; \
148 echo "*** contents of this directory and type 'make install' again." ; \
152 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
155 no_undefined = -no-undefined
159 # This requires a very new libtool
160 export_symbols = -export-symbols glib.def
162 install-libtool-import-lib:
163 $(INSTALL) .libs/libglib-2.0.dll.a $(DESTDIR)$(libdir)
164 uninstall-libtool-import-lib:
165 -rm $(DESTDIR)$(libdir)/libglib-2.0.dll.a
167 install-libtool-import-lib:
168 uninstall-libtool-import-lib:
171 libglib_2_0_la_LIBADD = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @ICONV_LIBS@ @G_LIBS_EXTRA@
172 libglib_2_0_la_DEPENDENCIES = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @GLIB_DEF@
174 libglib_2_0_la_LDFLAGS = \
175 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
176 -export-dynamic $(no_undefined) $(export_symbols)
179 bin_PROGRAMS = gspawn-win32-helper
180 gspawn_win32_helper_LDADD = libglib-2.0.la
181 gspawn_win32_helper_LDFLAGS = -mwindows
183 @G_LIB_WIN32_RESOURCE@ : glib.rc
184 $(top_srcdir)/build/win32/lt-compile-resource glib.rc @G_LIB_WIN32_RESOURCE@
187 glib-2.0.lib: libglib-2.0.la glib.def
188 lib -name:libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll -def:glib.def -out:$@
190 glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib/glib.rc.in
191 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
193 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.mingw.in
194 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
196 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.msc.in
197 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
199 dist-hook: $(BUILT_EXTRA_DIST)
200 files='$(BUILT_EXTRA_DIST)'; \
201 for f in $$files; do \
202 if test -f $$f; then d=.; else d=$(srcdir); fi; \
203 cp $$d/$$f $(distdir) || exit 1; done