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-1.3.la
24 noinst_DATA = glib-1.3.lib
27 $(INSTALL) glib-1.3.lib $(DESTDIR)$(libdir)
30 -rm $(DESTDIR)$(libdir)/glib-1.3.lib
36 libglib_1_3_la_SOURCES = \
86 EXTRA_libglib_1_3_la_SOURCES = \
93 glibincludedir=$(includedir)/glib-2.0
94 glibinclude_HEADERS = \
98 glibsubincludedir=$(includedir)/glib-2.0/glib
99 glibsubinclude_HEADERS = \
144 install-data-local: install-ms-lib install-libtool-import-lib
145 @if test -f $(glibincludedir)/glist.h ; then \
146 echo "*** Old headers found in $(glibincludedir). You should remove the" ; \
147 echo "*** contents of this directory and type 'make install' again." ; \
151 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
154 no_undefined = -no-undefined
158 # This requires a very new libtool
159 export_symbols = -export-symbols glib.def
161 install-libtool-import-lib:
162 $(INSTALL) .libs/libglib-1.3.dll.a $(DESTDIR)$(libdir)
163 uninstall-libtool-import-lib:
164 -rm $(DESTDIR)$(libdir)/libglib-1.3.dll.a
166 install-libtool-import-lib:
167 uninstall-libtool-import-lib:
170 libglib_1_3_la_LIBADD = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @ICONV_LIBS@ @G_LIBS_EXTRA@
171 libglib_1_3_la_DEPENDENCIES = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @GLIB_DEF@
173 libglib_1_3_la_LDFLAGS = \
174 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
175 -export-dynamic $(no_undefined) $(export_symbols)
178 bin_PROGRAMS = gspawn-win32-helper
179 gspawn_win32_helper_LDADD = libglib-1.3.la
180 gspawn_win32_helper_LDFLAGS = -mwindows
182 @G_LIB_WIN32_RESOURCE@ : glib.rc
183 $(top_srcdir)/build/win32/lt-compile-resource glib.rc @G_LIB_WIN32_RESOURCE@
186 glib-1.3.lib: libglib-1.3.la glib.def
187 lib -name:libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:glib.def -out:$@
189 glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib/glib.rc.in
190 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
192 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.mingw.in
193 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
195 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.msc.in
196 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
198 dist-hook: $(BUILT_EXTRA_DIST)
199 files='$(BUILT_EXTRA_DIST)'; \
200 for f in $$files; do \
201 if test -f $$f; then d=.; else d=$(srcdir); fi; \
202 cp $$d/$$f $(distdir) || exit 1; done