mirror of https://github.com/GNOME/gimp.git
Additions for Win32: Use -no-undefined. Use the .def file. Produce MS
2002-03-30 Tor Lillqvist <tml@iki.fi> * libgimpmath/Makefile.am: Additions for Win32: Use -no-undefined. Use the .def file. Produce MS style import library if possible. Install (and uninstall) import libraries. * libgimpmath/makefile.mingw.in: Add comment that it is seriously out-of-date.
This commit is contained in:
parent
ae07ec5709
commit
13191ea22f
|
@ -1,7 +1,8 @@
|
|||
2002-03-30 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* libgimpbase/Makefile.am
|
||||
* libgimpcolor/Makefile.am: Additions for Win32: Use
|
||||
* libgimpcolor/Makefile.am
|
||||
* libgimpmath/Makefile.am: Additions for Win32: Use
|
||||
-no-undefined. Use the .def file. Produce MS style import
|
||||
library if possible. Install (and uninstall) import
|
||||
libraries.
|
||||
|
@ -29,7 +30,8 @@
|
|||
#ifdef G_OS_UNIX?
|
||||
|
||||
* libgimpbase/makefile.mingw.in
|
||||
* libgimpcolor/makefile.mingw.in: Add comment that it is seriously
|
||||
* libgimpcolor/makefile.mingw.in
|
||||
* libgimpmath/makefile.mingw.in: Add comment that it is seriously
|
||||
out-of-date.
|
||||
|
||||
* libgimpbase/makefile.msc: Do compile gimpsignal.c.
|
||||
|
|
|
@ -1,5 +1,45 @@
|
|||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
endif
|
||||
|
||||
if PLATFORM_WIN32
|
||||
else
|
||||
libm = -lm
|
||||
endif
|
||||
|
||||
if OS_WIN32
|
||||
gimpmath_def = gimpmath.def
|
||||
libgimpmath_export_symbols = -export-symbols gimpmath.def
|
||||
|
||||
install-libtool-import-lib:
|
||||
$(INSTALL) .libs/libgimpmath-1.3.dll.a $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-libtool-import-lib:
|
||||
-rm $(DESTDIR)$(libdir)/libgimpmath-1.3.dll.a
|
||||
else
|
||||
install-libtool-import-lib:
|
||||
uninstall-libtool-import-lib:
|
||||
endif
|
||||
|
||||
if MS_LIB_AVAILABLE
|
||||
noinst_DATA = gimpmath-1.3.lib
|
||||
|
||||
install-ms-lib:
|
||||
$(INSTALL) gimpmath-1.3.lib $(DESTDIR)$(libdir)
|
||||
|
||||
uninstall-ms-lib:
|
||||
-rm $(DESTDIR)$(libdir)/gimpmath-1.3.lib
|
||||
|
||||
gimpmath-1.3.lib: gimpmath.def
|
||||
lib -name:libgimpmath-1.3-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmath.def -out:$@
|
||||
|
||||
else
|
||||
install-ms-lib:
|
||||
uninstall-ms-lib:
|
||||
endif
|
||||
|
||||
libgimpmathincludedir = $(includedir)/gimp-$(LT_RELEASE)/libgimpmath
|
||||
|
||||
AM_CPPFLAGS = @STRIP_BEGIN@ \
|
||||
|
@ -47,16 +87,19 @@ EXTRA_HEADERS =
|
|||
|
||||
libgimpmath_1_3_la_LDFLAGS = @STRIP_BEGIN@ \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
$(no_undefined) \
|
||||
$(libgimpmath_export_symbols) \
|
||||
@STRIP_END@
|
||||
|
||||
libgimpmath_1_3_la_LIBADD = $(GLIB_LIBS) -lm
|
||||
libgimpmath_1_3_la_LIBADD = $(GLIB_LIBS) $(libm)
|
||||
|
||||
libgimpmath_1_3_la_DEPENDENCIES = $(gimpmath_def)
|
||||
|
||||
#
|
||||
# test programs, not to be built by default and never installed
|
||||
#
|
||||
|
||||
TESTS = test-md5
|
||||
TESTS = test-md5$(EXEEXT)
|
||||
|
||||
EXTRA_PROGRAMS = test-md5
|
||||
|
||||
|
@ -67,3 +110,7 @@ test_md5_LDADD = @STRIP_BEGIN@ \
|
|||
$(GLIB_LIBS) \
|
||||
$(test_md5_DEPENDENCIES) \
|
||||
@STRIP_END@
|
||||
|
||||
install-data-local: install-ms-lib install-libtool-import-lib
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
## Makefile for building the GIMP DLLs and LIBs with gcc on Win32.
|
||||
################################
|
||||
#
|
||||
# Seriously out-of-date. Only Unix-style build supported now for gcc on Win32.
|
||||
#
|
||||
################################
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Makefile for building the GIMP DLLs and libs with gcc on Win32.
|
||||
## You should use GNU make running on cygwin.
|
||||
## Use: make -f makefile.mingw
|
||||
|
||||
|
|
Loading…
Reference in New Issue