mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
3e8495ceec
commit
63f82075f0
|
@ -1,6 +1,12 @@
|
|||
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
|
||||
|
|
|
@ -1,5 +1,19 @@
|
|||
## 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
|
||||
|
|
22
app/gimp.sym
22
app/gimp.sym
|
@ -1,6 +1,16 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue