* README.win32: Update gcc instructions. Remove warning about gettext being GPL, as the GIMP is GPL, too, of course, and it thus doesn't matter. * user_install.bat: Rename the template user gtkrc to gtkrc_user, to reduce user confusion. * app/main.c: Small change for gcc on Win32 compilation. * */makefile.cygwin * app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32, no need to have differently named DLLs (including modules) for (built by) gcc and MSVC. * app/module_db.c: Use g_strdup_printf() instead of strlen(), g_malloc() and g_snprintf() * libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32, the suitable gimpfeatures.h is built when making the dist. * libgimp/gimpfeatures.h.win32: Removed. * libgimp/makefile.cygwin * libgimp/makefile.msc: Remove gimpfeatures.h.win32. * libgimp/gimp.h: Win32 startup code changed a bit. * plug-ins/makefile.cygwin * plug-ins/makefile.msc: Add the winsnap unofficial plug-in. * plug-ins/common/animationplay.c * plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting clashing declarations because these guys include gdkx.h (which includes windows.h), and gimp.h also declares WinMain on its own.
141 lines
2.6 KiB
Makefile
141 lines
2.6 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
gimpincludedir = $(includedir)/libgimp
|
|
|
|
CPPFLAGS = \
|
|
-DGIMPDIR=\""$(gimpdir)"\" \
|
|
-DDATADIR=\""$(gimpdatadir)"\" \
|
|
@GIMP_THREAD_FLAGS@
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/intl \
|
|
-I../intl \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
EXTRA_DIST = \
|
|
gimpfeatures.h.in \
|
|
makefile.msc \
|
|
makefile.cygwin \
|
|
gimp.def \
|
|
gimpui.def
|
|
|
|
lib_LTLIBRARIES = libgimp.la libgimpui.la
|
|
noinst_LIBRARIES = libgimpi.a
|
|
|
|
libgimpi_a_SOURCES = \
|
|
gimpenv.c \
|
|
gimpenv.h \
|
|
gimpchainbutton.c \
|
|
gimpchainbutton.h \
|
|
gimpfileselection.c \
|
|
gimpfileselection.h \
|
|
gimpmatrix.c \
|
|
gimpmatrix.h \
|
|
gimppatheditor.c \
|
|
gimppatheditor.h \
|
|
gimpprotocol.c \
|
|
gimpprotocol.h \
|
|
gimpsizeentry.c \
|
|
gimpsizeentry.h \
|
|
gimpunitmenu.c \
|
|
gimpunitmenu.h \
|
|
gimpwire.c \
|
|
gimpwire.h \
|
|
gserialize.c \
|
|
gserialize.h \
|
|
parasite.c \
|
|
parasite.h \
|
|
parasiteF.h \
|
|
parasiteP.h
|
|
|
|
if STATICLIBS
|
|
## Evil hack to insure all deps are satisfied on first-run make
|
|
libgimpi_a_DEPENDENCIES = libgimp.la
|
|
endif
|
|
|
|
# help `make' along by giving another name for the file, which it knows
|
|
# how to build
|
|
../libgimp/gimpfeatures.h: gimpfeatures.h
|
|
@:
|
|
|
|
libgimp_la_SOURCES = \
|
|
gimp.c \
|
|
gimpchannel.c \
|
|
gimpdisplay.c \
|
|
gimpdrawable.c \
|
|
gimpenv.c \
|
|
gimpgradient.c \
|
|
gimpimage.c \
|
|
gimplayer.c \
|
|
gimpmatrix.c \
|
|
gimpmatrix.h \
|
|
gimppalette.c \
|
|
gimpparasite.c \
|
|
gimppixelrgn.c \
|
|
gimpprotocol.c \
|
|
gimpprotocol.h \
|
|
gimptile.c \
|
|
gimpunit.c \
|
|
gimpunit.h \
|
|
gimpwire.c \
|
|
gimpwire.h \
|
|
gserialize.c \
|
|
gserialize.h \
|
|
parasite.c \
|
|
parasite.h \
|
|
parasiteF.h \
|
|
parasiteP.h
|
|
|
|
libgimpui_la_SOURCES = \
|
|
gimpmenu.c \
|
|
gimpbrushmenu.c \
|
|
gimpgradientmenu.c \
|
|
gimppatternmenu.c \
|
|
gimpchainbutton.c \
|
|
gimpfileselection.c \
|
|
gimppatheditor.c \
|
|
gimpsizeentry.c \
|
|
gimpunitmenu.c
|
|
|
|
gimpinclude_HEADERS = \
|
|
color_selector.h \
|
|
gimp.h \
|
|
gimpchainbutton.h \
|
|
gimpenums.h \
|
|
gimpenv.h \
|
|
gimpfeatures.h \
|
|
gimpfileselection.h \
|
|
gimplimits.h \
|
|
gimpmatrix.h \
|
|
gimpmenu.h \
|
|
gimpmodule.h \
|
|
gimppatheditor.h \
|
|
gimpsizeentry.h \
|
|
gimpui.h \
|
|
gimpunit.h \
|
|
gimpunitmenu.h \
|
|
gimpintl.h \
|
|
gserialize.h \
|
|
parasite.h \
|
|
parasiteF.h \
|
|
parasiteP.h \
|
|
stdplugins-intl.h
|
|
|
|
libgimp_la_LDFLAGS = \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
-release $(LT_RELEASE)
|
|
libgimp_la_LIBADD = $(GLIB_LIBS) -lm
|
|
|
|
libgimpui_la_LDFLAGS = \
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
|
-release $(LT_RELEASE)
|
|
libgimpui_la_LIBADD = $(GTK_LIBS)
|
|
|
|
.PHONY: files
|
|
|
|
files:
|
|
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
|
|
echo $$p; \
|
|
done
|