1 ## Process this file with automake to produce Makefile.in
5 INCLUDES = -I$(top_srcdir) -DG_LOG_DOMAIN=g_log_domain_glib \
6 @GLIB_DEBUG_FLAGS@ -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
9 gen-unicode-tables.pl \
12 # These may be in the builddir too
18 lib_LTLIBRARIES = libglib-1.3.la
21 noinst_DATA = glib-1.3.lib
24 $(INSTALL) glib-1.3.lib $(DESTDIR)$(libdir)
27 -rm $(DESTDIR)$(libdir)/glib-1.3.lib
33 libglib_1_3_la_SOURCES = \
83 EXTRA_libglib_1_3_la_SOURCES = \
90 glibincludedir=$(includedir)/glib-2.0
91 glibinclude_HEADERS = \
95 glibsubincludedir=$(includedir)/glib-2.0/glib
96 glibsubinclude_HEADERS = \
141 install-data-local: install-ms-lib install-libtool-import-lib
142 @if test -f $(glibincludedir)/glist.h ; then \
143 echo "*** Old headers found in $(glibincludedir). You should remove the" ; \
144 echo "*** contents of this directory and type 'make install' again." ; \
148 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
151 no_undefined = -no-undefined
155 # This requires a very new libtool
156 export_symbols = -export-symbols glib.def
158 install-libtool-import-lib:
159 $(INSTALL) .libs/libglib-1.3.dll.a $(DESTDIR)$(libdir)
160 uninstall-libtool-import-lib:
161 -rm $(DESTDIR)$(libdir)/libglib-1.3.dll.a
163 install-libtool-import-lib:
164 uninstall-libtool-import-lib:
167 libglib_1_3_la_LIBADD = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @ICONV_LIBS@ @G_LIBS_EXTRA@
168 libglib_1_3_la_DEPENDENCIES = libcharset/libcharset.la @GIO@ @GSPAWN@ @PLATFORMDEP@ @G_LIB_WIN32_RESOURCE@ @GLIB_DEF@
170 libglib_1_3_la_LDFLAGS = \
171 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
172 -export-dynamic $(no_undefined) $(export_symbols)
175 bin_PROGRAMS = gspawn-win32-helper
176 gspawn_win32_helper_LDADD = libglib-1.3.la
178 @G_LIB_WIN32_RESOURCE@ : glib.rc
179 $(top_srcdir)/build/win32/lt-compile-resource glib.rc @G_LIB_WIN32_RESOURCE@
182 glib-1.3.lib: libglib-1.3.la glib.def
183 lib -name:libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:glib.def -out:$@
185 glib.rc: $(top_builddir)/config.status $(top_srcdir)/glib/glib.rc.in
186 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
188 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.mingw.in
189 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
191 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/glib/makefile.msc.in
192 cd $(top_builddir) && CONFIG_FILES=glib/$@ CONFIG_HEADERS= $(SHELL) ./config.status
194 dist-hook: $(BUILT_EXTRA_DIST)
195 files='$(BUILT_EXTRA_DIST)'; \
196 for f in $$files; do \
197 if test -f $$f; then d=.; else d=$(srcdir); fi; \
198 cp $$d/$$f $(distdir) || exit 1; done