2001-05-26 06:04:21 +08:00
|
|
|
# autogenerated from automake.am with automake.py
|
|
|
|
# and slightly modified
|
Check for mmap.
* configure.in: Check for mmap.
* app/makefile.msc: Depend on gimpi.lib.
* app/app_procs.c (app_init): Fix gccism: Allocate filenames (an
array with non-constant size) dynamically.
* app/{datafiles,fileops,general,install,module_db,temp_buf}.c:
Include glib.h before standard headers, because of certain obscure
details related to compiling with gcc on Win32.
(If you really want to know: glib.h defines he names of POSIXish
(but non-ANSI) functions as prefixed with underscore, because
that's how they are named in the msvcrt runtime C library we want
to use. However, defining stat as _stat causes some problems if
done after including the mingw32 <sys/stat.h>. So, it's easiest to
include <glib.h> early.)
* app/main.c: Use _stdcall and __argc, __argv with MSC, but
__attribute__((stdcall)) and _argc, _argv with gcc. Don't print
the "Passed serialization test" message on Win32. (It would open
up an otherwise unnecessary console window.)
* app/paint_funcs.c (gaussian_blur_region): Don't use variable sum
until initialized.
* app/{bezier_select,paths_dialog}.c: Include config.h and define
rint() if necessary.
* app/plug_in.c: Use _spawnv, not spawnv, on Win32 and OS/2.
1999-05-29 01:47:17 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
TOP = ..\..
|
2001-05-26 06:04:21 +08:00
|
|
|
PRJ_TOP = ..
|
|
|
|
PACKAGE = gimp
|
|
|
|
PKG_VER = 1.3
|
2002-02-17 23:55:54 +08:00
|
|
|
!INCLUDE $(TOP)\glib\build\win32\make.msc
|
1999-03-07 20:56:03 +08:00
|
|
|
|
2001-05-26 06:04:21 +08:00
|
|
|
top_srcdir = $(PRJ_TOP)
|
|
|
|
top_builddir = $(PRJ_TOP)
|
|
|
|
includedir = $(PRJ_TOP)
|
|
|
|
LT_RELEASE = $(PKG_VER)
|
2002-03-28 08:10:56 +08:00
|
|
|
SUBDIRS = paint-funcs base xcf core file display paint vectors pdb plug-in tools widgets gui
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
sub-all:
|
|
|
|
for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d
|
|
|
|
|
|
|
|
sub-one:
|
|
|
|
cd $(THIS)
|
|
|
|
nmake -nologo -f makefile.msc
|
|
|
|
cd ..
|
|
|
|
|
2002-03-28 08:10:56 +08:00
|
|
|
LDFLAGS = /link /subsystem:console /machine:ix86 $(LINKDEBUG)
|
|
|
|
|
2001-05-26 06:04:21 +08:00
|
|
|
PKG_LINK = \
|
2002-02-17 23:55:54 +08:00
|
|
|
paint/apppaint.lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
paint-funcs/apppaint-funcs.lib \
|
2002-02-17 23:55:54 +08:00
|
|
|
plug-in/appplug-in.lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
pdb/apppdb.lib \
|
|
|
|
tools/apptools.lib \
|
|
|
|
gui/appgui.lib \
|
|
|
|
widgets/appwidgets.lib \
|
|
|
|
core/appcore.lib \
|
|
|
|
base/appbase.lib \
|
2001-10-29 02:45:45 +08:00
|
|
|
file/appfile.lib \
|
|
|
|
display/appdisplay.lib \
|
2001-07-23 06:18:01 +08:00
|
|
|
xcf/xcf.lib \
|
2002-03-28 08:10:56 +08:00
|
|
|
vectors/appvectors.lib \
|
|
|
|
plug-in/appplug-in.lib \
|
2001-07-23 06:18:01 +08:00
|
|
|
$(PRJ_TOP)/regexrepl/regexrepl.lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
$(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
|
|
|
|
$(top_builddir)/libgimpmath/gimpmath-$(LT_RELEASE).lib \
|
|
|
|
$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
|
|
|
|
$(top_builddir)/libgimpwidgets/gimpwidgets-$(LT_RELEASE).lib \
|
2001-07-29 03:40:07 +08:00
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(GTK2_LIBS) \
|
2001-05-26 06:04:21 +08:00
|
|
|
$(GIMP_THREAD_LIBS) \
|
|
|
|
$(GIMP_MP_LIBS) \
|
2001-10-29 02:45:45 +08:00
|
|
|
$(INTL_LIBS) \
|
2002-03-28 08:10:56 +08:00
|
|
|
$(PANGO)\pango\pangoft2-$(PANGO_VER).lib \
|
|
|
|
$(LIBART_LIBS)
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
gimp_LDFLAGS = \
|
|
|
|
-export-dynamic -export-symbols $(srcdir)/gimp.sym
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/intl \
|
2001-07-29 03:40:07 +08:00
|
|
|
$(GTK2_CFLAGS) \
|
2001-05-26 06:04:21 +08:00
|
|
|
-I$(includedir)
|
|
|
|
|
|
|
|
regex_sources = \
|
|
|
|
regexrepl.c regexrepl.h
|
|
|
|
|
|
|
|
mmx_sources = \
|
|
|
|
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
nav_window.obj \
|
|
|
|
ops_buttons.obj \
|
|
|
|
undo_history.obj \
|
|
|
|
image_map.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
general.obj \
|
|
|
|
gimprc.obj \
|
2001-02-07 09:16:18 +08:00
|
|
|
path.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
path_curves.obj \
|
|
|
|
path_bezier.obj \
|
2001-02-07 09:16:18 +08:00
|
|
|
undo.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
app_procs.obj \
|
|
|
|
main.obj \
|
|
|
|
batch.obj \
|
|
|
|
errors.obj \
|
|
|
|
gimphelp.obj \
|
|
|
|
libgimp_glue.obj \
|
|
|
|
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
regexrepl.obj : regexrepl.c regexrepl.h
|
|
|
|
$(CC) $(CFLAGS) -GD -c -DREGEX_MALLOC -DHAVE_STRING_H $(PKG_CFLAGS) regexrepl.c
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
makefile.mingw \
|
|
|
|
makefile.mingw.in \
|
|
|
|
makefile.msc \
|
|
|
|
gimp.rc \
|
|
|
|
gimp.sym \
|
|
|
|
wilber.ico \
|
|
|
|
arch/i386/mmx/detect_mmx.S \
|
|
|
|
arch/i386/mmx/paint_funcs_mmx.S \
|
|
|
|
detect_mmx.S \
|
|
|
|
regexrepl.c \
|
|
|
|
regexrepl.h
|
|
|
|
|
|
|
|
scriptdata = \
|
|
|
|
|
|
|
|
|
|
|
|
all : \
|
|
|
|
$(PRJ_TOP)\config.h \
|
|
|
|
sub-all \
|
|
|
|
$(PACKAGE).exe
|
|
|
|
|
|
|
|
|
|
|
|
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
|
|
|
|
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
|
|
|
|
|
|
|
|
RESOURCE = $(PACKAGE).res
|
|
|
|
|
|
|
|
$(PACKAGE).lib : $(OBJECTS)
|
|
|
|
lib /out:$(PACKAGE).lib $(OBJECTS)
|
|
|
|
|
|
|
|
$(PACKAGE)-$(PKG_VER).dll : $(PKG_LINK) $(OBJECTS) $(PACKAGE).def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
2002-03-28 08:10:56 +08:00
|
|
|
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res $(PKG_LINK)
|
2001-05-26 06:04:21 +08:00
|
|
|
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
|
|
|
|
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|