Commit 63f82075 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

On Win32, create export file gimp.exp. (LDFLAGS): Add -mwindows. (LDADD):

2002-12-26  Tor Lillqvist  <tml@iki.fi>

	* app/Makefile.am: On Win32, create export file gimp.exp.
	(LDFLAGS): Add -mwindows.
	(LDADD): Link with gimp.exp.

	* app/gimp.sym: Remove all old entries (seemed to be obsolete).
	Instead, add the ones linked to from libgimptool.
parent 3e8495ce
2002-12-26 Tor Lillqvist <tml@iki.fi>
* app/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.
* app/Makefile.am: On Win32, create export file gimp.exp.
(EXTRA_DIST): Drop makefile.mingw{,.in}.
(LDFLAGS): Add -mwindows.
(LDADD): Link with gimp.exp.
* app/gimp.sym: Remove all old entries (seemed to be obsolete).
Instead, add the ones linked to from libgimptool.
* app/gui/user-install-dialog.c (user_install_run): On Win32, use
similar code as in GIMP 1.2, i.e. don't run a script to do the
......
## Process this file with automake to produce Makefile.in
if OS_WIN32
gimp_exp = gimp.exp
gimp.exp : gimp.def
dlltool --output-exp $@ --input-def gimp.def
gimp.def: gimp.sym
echo EXPORTS >$@
cat $< >>$@
mwindows = -mwindows
endif
SUBDIRS = \
paint-funcs \
base \
......@@ -79,7 +93,7 @@ else
REGEXREPL = $(top_builddir)/regexrepl/libregex.a
endif
gimp_1_3_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym
gimp_1_3_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym $(mwindows)
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp\" \
......@@ -93,6 +107,7 @@ INCLUDES = \
-I$(includedir)
gimp_1_3_LDADD = \
$(gimp_exp) \
gui/libappgui.a \
display/libappdisplay.a \
tools/libapptools.a \
......@@ -124,11 +139,11 @@ gimp_1_3_LDADD = \
install-exec-hook:
if DEFAULT_BINARY
cd $(DESTDIR)$(bindir) \
&& rm -f gimp \
&& $(LN_S) gimp-1.3 gimp
&& rm -f gimp$(EXEEXT) \
&& $(LN_S) gimp-1.3$(EXEEXT) gimp$(EXEEXT)
endif
uninstall-local:
if DEFAULT_BINARY
rm -f $(DESTDIR)$(bindir)/gimp
rm -f $(DESTDIR)$(bindir)/gimp$(EXEEXT)
endif
gimp_color_selector_register
gimp_color_selector_unregister
gimp_color_display_register
gimp_color_display_unregister
dialog_register
dialog_unregister
gimp_object_get_type
gimp_tool_control_get_cursor
gimp_tool_control_get_cursor_modifier
gimp_tool_control_get_toggle_cursor
gimp_tool_control_get_toggle_cursor_modifier
gimp_tool_control_get_toggle_tool_cursor
gimp_tool_control_get_tool_cursor
gimp_tool_control_get_type
gimp_tool_control_halt
gimp_tool_control_is_paused
gimp_tool_control_is_toggled
gimp_tool_control_pause
gimp_tool_control_resume
gimp_tool_real_button_press
gimp_tool_real_button_release
gimp_tool_set_cursor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment