2007-12-18 13:51:12 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
EXTRA_DIST += gailutil.def
|
2009-03-25 07:18:58 +00:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
2007-12-18 13:51:12 +00:00
|
|
|
if OS_WIN32
|
2009-02-04 08:20:11 +00:00
|
|
|
export_symbols = -export-symbols $(srcdir)/gailutil.def
|
|
|
|
install-def-file: gailutil.def
|
|
|
|
$(INSTALL) $(srcdir)/gailutil.def $(DESTDIR)$(libdir)
|
|
|
|
uninstall-def-file:
|
|
|
|
-rm $(DESTDIR)$(libdir)/gailutil.def
|
2007-12-18 13:51:12 +00:00
|
|
|
else
|
2009-02-04 08:20:11 +00:00
|
|
|
install-def-file:
|
|
|
|
uninstall-def-file:
|
2007-12-18 13:51:12 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
|
|
|
noinst_DATA = gailutil.lib
|
|
|
|
|
|
|
|
install-ms-lib:
|
|
|
|
$(INSTALL) gailutil.lib $(DESTDIR)$(libdir)
|
|
|
|
|
|
|
|
uninstall-ms-lib:
|
|
|
|
-rm $(DESTDIR)$(libdir)/gailutil.lib
|
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libgailutil.la
|
|
|
|
|
|
|
|
util_c_sources = \
|
|
|
|
gailmisc.c \
|
|
|
|
gailtextutil.c
|
|
|
|
|
|
|
|
libgailutilincludedir=$(includedir)/gail-1.0/libgail-util
|
|
|
|
|
|
|
|
util_public_h_sources = \
|
|
|
|
gailmisc.h \
|
|
|
|
gailtextutil.h \
|
|
|
|
gail-util.h
|
|
|
|
|
|
|
|
libgailutil_la_SOURCES = \
|
|
|
|
$(util_c_sources)
|
|
|
|
|
|
|
|
libgailutilinclude_HEADERS = \
|
|
|
|
$(util_public_h_sources)
|
|
|
|
|
|
|
|
libgailutil_la_CPPFLAGS = \
|
2008-02-16 02:39:20 +00:00
|
|
|
-I$(top_srcdir) \
|
2007-12-18 13:51:12 +00:00
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-I$(top_srcdir)/gtk \
|
|
|
|
-I$(top_builddir)/gtk \
|
2008-08-15 11:37:00 +00:00
|
|
|
$(AM_CPPFLAGS) \
|
|
|
|
-DGDK_DISABLE_DEPRECATED\
|
|
|
|
-DGTK_DISABLE_DEPRECATED
|
2007-12-18 13:51:12 +00:00
|
|
|
|
|
|
|
libgailutil_la_CFLAGS = \
|
|
|
|
$(GTK_DEP_CFLAGS) \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(AM_CFLAGS)
|
|
|
|
|
|
|
|
libgailutil_la_LIBADD = \
|
2008-01-10 21:47:58 +00:00
|
|
|
$(top_builddir)/gtk/$(gtktargetlib) \
|
|
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
2007-12-18 13:51:12 +00:00
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
|
|
|
libgailutil_la_LDFLAGS = \
|
2007-12-20 14:31:01 +00:00
|
|
|
-version-info $(GAIL_LT_VERSION_INFO) \
|
2007-12-18 13:51:12 +00:00
|
|
|
$(no_undefined) \
|
|
|
|
$(export_symbols) \
|
|
|
|
$(LDFLAGS)
|
|
|
|
|
|
|
|
gailutil.lib: libgailutil.la gailutil.def
|
2008-08-03 23:48:48 +00:00
|
|
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgailutil-$(GAIL_LT_CURRENT_MINUS_AGE).dll -def:gailutil.def -out:$@
|
2007-12-18 13:51:12 +00:00
|
|
|
|
2009-02-04 08:20:11 +00:00
|
|
|
install-data-local: install-ms-lib install-def-file
|
2007-12-18 13:51:12 +00:00
|
|
|
|
2009-02-04 08:20:11 +00:00
|
|
|
uninstall-local: uninstall-ms-lib uninstall-def-file
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|