1999-06-29 01:54:19 +08:00
|
|
|
# Makefile to build the GIMP plug-ins with Microsoft nmake and compiler
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
# I don't want to use many hand-written makefiles, so this is quite complex.
|
1999-05-29 09:28:24 +08:00
|
|
|
# This same makefile is also included by sub-makes called as subroutines.
|
|
|
|
# Various parts of this file are used when makeing from the plug-ins directory,
|
|
|
|
# and when building individual plug-ins and the three plug-in libraries.
|
|
|
|
|
|
|
|
INSTALL = copy
|
|
|
|
|
2000-04-24 04:27:41 +08:00
|
|
|
# This is what I use as installation target, from where the installer-builder
|
|
|
|
# will pick it up.
|
|
|
|
GIMP = C:\install\gimp
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
BIN = $(GIMP)\plug-ins
|
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
!IFNDEF GIMPTOP
|
|
|
|
GIMPTOP = ..
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
TOP = ..\$(GIMPTOP)
|
2002-02-17 23:55:54 +08:00
|
|
|
!INCLUDE $(TOP)\glib\build\win32\make.msc
|
2004-02-08 07:01:33 +08:00
|
|
|
!INCLUDE $(GIMPTOP)\gimpdefs.msc
|
2001-02-07 09:16:18 +08:00
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
!IFNDEF LIBRARY
|
|
|
|
!IFNDEF PLUGIN
|
2000-01-05 02:09:51 +08:00
|
|
|
!IFNDEF MODULE
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
# This part is used when making from the plug-ins directory
|
|
|
|
|
|
|
|
FROMPLUGINSDIR=YES # Used to bypass other parts below
|
|
|
|
|
|
|
|
# List plug-ins. We must use several lists to work around nmake's limits
|
1999-06-29 01:54:19 +08:00
|
|
|
|
|
|
|
# The COMMON* ones are in the common subdirectory
|
2008-10-04 03:27:54 +08:00
|
|
|
COMMON0 = alien-map align-layers animation-optimize animation-play antialias apply-canvas
|
|
|
|
COMMON1 = blinds blur-gauss-selective blur-gauss blur-motion blur border-average bump-map
|
|
|
|
COMMON2 = cartoon channel-mixer checkerboard cml-explorer color-cube-analyze color-enhance color-exchange color-to-alpha colorify colormap-remap compose contrast-normalize contrast-retinex contrast-stretch-hsv contrast-stretch convolution-matrix crop-auto crop-zealous cubism curve-bend
|
|
|
|
COMMON3 = decompose deinterlace depth-merge despeckle destripe diffraction displace edge-dog edge-laplace edge-neon edge-sobel edge emboss engrave
|
|
|
|
## file-aa file-mng file-pdf file-wmf file-xpm
|
|
|
|
COMMON4 = file-cel file-compressor file-csource file-desktop-link file-dicom file-gbr file-gif-load file-gif-save file-gih file-glob file-header file-html-table file-pat file-pcx file-pix file-png file-pnm file-ps file-psp file-raw file-sunras file-svg file-tga file-tiff-load file-tiff-save file-xbm file-xwd film filter-pack fractal-trace
|
|
|
|
## mail
|
|
|
|
COMMON5 = gee-zoom gee gradient-map grid guillotine hot illusion iwarp jigsaw lcms lens-apply lens-distortion lens-flare max-rgb mosaic newsprint nl-filter noise-hsv noise-randomize noise-rgb noise-solid noise-spread nova oilify photocopy pixelize plasma plugin-browser polar-coords procedure-browser qbist red-eye-removal ripple rotate
|
|
|
|
COMMON6 = sample-colorize screenshot semi-flatten sharpen shift sinus smooth-palette softglow sparkle sphere-designer
|
|
|
|
COMMON7 = threshold-alpha tile-glass tile-paper tile-seamless tile-small tile unit-editor unsharp-mask value-invert value-propagate van-gogh-lic video warp waves web-browser whirl-pinch wind
|
2001-02-07 09:16:18 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
# These have own subdirectories each
|
2008-10-04 03:27:54 +08:00
|
|
|
SEPARATE = lighting gfig gimpressionist imagemap maze metadata pagecurl twain print help
|
|
|
|
## help-browser
|
|
|
|
SEPARATE_DASH = color-rotate file-bmp file-faxg3 file-fits file-fli file-ico file-jpeg file-psd file-sgi file-uri file-xjt fractal-explorer gradient-flare ifs-compose map-object selection-to-path win-snap
|
1999-06-29 01:54:19 +08:00
|
|
|
|
|
|
|
# These are unofficial, ie not in the CVS. To build these, you should
|
1999-06-15 06:18:02 +08:00
|
|
|
# get tml's source snapshot and copy this makefile to the
|
2008-10-04 03:27:54 +08:00
|
|
|
# ..\unofficial-plug-ins directory, go there, and do "nmake -f makefile.msc unofficial".
|
1999-05-29 09:28:24 +08:00
|
|
|
|
2007-08-05 23:16:02 +08:00
|
|
|
UNOFFICIAL = Anamorphose DigitalSignature RGB_Displace gimp_ace guash sel_gauss magiceye user_filter
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
# The main target
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
all : ..\config.h libs-all common-plugins-all separate-plugins-all
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
1999-08-27 07:49:39 +08:00
|
|
|
install : libs-install common-plugins-install separate-plugins-install data-install
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-15 06:18:02 +08:00
|
|
|
unofficial:
|
1999-06-29 01:54:19 +08:00
|
|
|
for %d in ($(UNOFFICIAL)) do nmake -nologo -f makefile.msc sub-one-separate DIR=%d TARGET=install
|
1999-06-15 06:18:02 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
clean :: libs-clean common-plugins-clean separate-plugins-clean
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
libs-all :
|
|
|
|
@nmake -nologo -f makefile.msc sub-libs TARGET=all
|
|
|
|
|
|
|
|
libs-install :
|
|
|
|
@nmake -nologo -f makefile.msc sub-libs TARGET=install
|
|
|
|
|
|
|
|
libs-clean :
|
|
|
|
@nmake -nologo -f makefile.msc sub-libs TARGET=clean
|
|
|
|
|
|
|
|
sub-libs:
|
2006-10-28 00:04:53 +08:00
|
|
|
cd script-fu\tinyscheme
|
2007-08-05 23:16:02 +08:00
|
|
|
nmake -nologo -f ..\..\makefile.msc GIMPTOP=..\..\.. EXTRACFLAGS="-DWIN32 -DUSE_MATH -DUSE_INTERFACE -DSTANDALONE=0" \
|
2006-10-28 00:04:53 +08:00
|
|
|
MODULE=tinyscheme OBJECTS="dynload.obj scheme.obj" $(TARGET)
|
|
|
|
cd ..\..
|
|
|
|
cd script-fu\ftx
|
|
|
|
nmake -nologo -f ..\..\makefile.msc GIMPTOP=..\..\.. EXTRACFLAGS="-DWIN32 -I.. -DUSE_INTERFACE" \
|
|
|
|
MODULE=ftx OBJECTS="ftx.obj" EXTRA_EXPORT=/export:init_ftx $(TARGET)
|
2003-12-13 09:35:19 +08:00
|
|
|
cd ..\..
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
common-plugins-all :
|
|
|
|
@nmake -nologo -f makefile.msc sub-common-plugins TARGET=all
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
common-plugins-install :
|
|
|
|
@nmake -nologo -f makefile.msc sub-common-plugins TARGET=install
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
common-plugins-clean :
|
2006-10-28 00:04:53 +08:00
|
|
|
@nmake -nologo -f makefile.msc sub-one-common TARGET=clean
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
sub-common-plugins :
|
2005-09-26 03:30:55 +08:00
|
|
|
for %d in ($(COMMON0)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
1999-06-29 01:54:19 +08:00
|
|
|
for %d in ($(COMMON1)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
|
|
|
for %d in ($(COMMON2)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
|
|
|
for %d in ($(COMMON3)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
|
|
|
for %d in ($(COMMON4)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
|
|
|
for %d in ($(COMMON5)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
2001-02-07 09:16:18 +08:00
|
|
|
for %d in ($(COMMON6)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
2008-10-04 03:27:54 +08:00
|
|
|
for %d in ($(COMMON7)) do nmake -nologo -f makefile.msc sub-one-common DIR=%d TARGET=$(TARGET)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
sub-one-common :
|
|
|
|
@cd common
|
2008-10-04 03:27:54 +08:00
|
|
|
@nmake -nologo -f ..\makefile.msc GIMPTOP=..\.. PLUGIN=$(DIR) $(TARGET)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
separate-plugins-all :
|
|
|
|
@nmake -nologo -f makefile.msc sub-separate-plugins TARGET=all
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
separate-plugins-install :
|
|
|
|
@nmake -nologo -f makefile.msc sub-separate-plugins TARGET=install
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
separate-plugins-clean :
|
|
|
|
@nmake -nologo -f makefile.msc sub-separate-plugins TARGET=clean
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
sub-separate-plugins :
|
2007-01-14 06:41:21 +08:00
|
|
|
for %d in ($(SEPARATE)) do nmake -nologo -f makefile.msc sub-one-separate DIR=%d TARGET=$(TARGET)
|
2008-10-04 03:27:54 +08:00
|
|
|
for %d in ($(SEPARATE_DASH)) do nmake -nologo -f makefile.msc sub-one-separate-dash DIR=%d TARGET=$(TARGET)
|
2003-05-25 01:00:03 +08:00
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
sub-one-separate :
|
|
|
|
cd $(DIR)
|
2001-02-07 09:16:18 +08:00
|
|
|
nmake -nologo -f ..\makefile.msc GIMPTOP=..\.. PLUGIN=$(DIR) EXTRA_$(DIR)=1 $(TARGET)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
sub-one-separate-dash :
|
|
|
|
cd $(DIR)
|
|
|
|
nmake -nologo -f ..\makefile.msc GIMPTOP=..\.. PLUGIN=$(DIR) $(TARGET)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
2000-02-04 12:31:18 +08:00
|
|
|
data-install : gimpressionist-data-install guash-data-install
|
1999-07-30 06:07:17 +08:00
|
|
|
-md $(GIMP)\scripts
|
1999-05-29 09:28:24 +08:00
|
|
|
$(INSTALL) script-fu\scripts\*.scm $(GIMP)\scripts
|
|
|
|
$(INSTALL) script-fu\scripts\*.jpg $(GIMP)\scripts
|
|
|
|
$(INSTALL) FractalExplorer\fractalexplorer-examples\* $(GIMP)\fractalexplorer
|
1999-06-15 06:18:02 +08:00
|
|
|
del $(GIMP)\fractalexplorer\Makefile.am
|
1999-05-29 09:28:24 +08:00
|
|
|
|
1999-08-27 07:49:39 +08:00
|
|
|
gimpressionist-data-install :
|
|
|
|
-md $(GIMP)\gimpressionist
|
|
|
|
-md $(GIMP)\gimpressionist\Brushes
|
|
|
|
-md $(GIMP)\gimpressionist\Paper
|
|
|
|
-md $(GIMP)\gimpressionist\Presets
|
|
|
|
$(INSTALL) gimpressionist\Brushes\*.pgm $(GIMP)\gimpressionist\Brushes
|
|
|
|
$(INSTALL) gimpressionist\Brushes\*.ppm $(GIMP)\gimpressionist\Brushes
|
|
|
|
$(INSTALL) gimpressionist\Paper\*.pgm $(GIMP)\gimpressionist\Paper
|
|
|
|
$(INSTALL) gimpressionist\Presets\* $(GIMP)\gimpressionist\Presets
|
|
|
|
del $(GIMP)\gimpressionist\Presets\Makefile.am
|
|
|
|
|
2000-02-04 12:31:18 +08:00
|
|
|
guash-data-install :
|
|
|
|
|
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
2000-01-05 02:09:51 +08:00
|
|
|
!ENDIF
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
!IFNDEF FROMPLUGINSDIR
|
|
|
|
|
|
|
|
# This part is used when building individual plug-ins or one of
|
|
|
|
# the libraries.
|
|
|
|
|
1999-07-15 00:02:32 +08:00
|
|
|
# If a plug-in has several object files, or needs extra libraries or
|
|
|
|
# compiler flags, these are in an EXTRA_xxx part.
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="color-rotate"
|
|
|
|
STOCK_IMAGES = \
|
|
|
|
images/color-rotate-360.png \
|
|
|
|
images/color-rotate-a-b.png \
|
|
|
|
images/color-rotate-ccw.png \
|
|
|
|
images/color-rotate-cw.png \
|
|
|
|
|
|
|
|
STOCK_VARS = \
|
|
|
|
color_rotate_360 images/color-rotate-360.png \
|
|
|
|
color_rotate_a_b images/color-rotate-a-b.png \
|
|
|
|
color_rotate_ccw images/color-rotate-ccw.png \
|
|
|
|
color_rotate_cw images/color-rotate-cw.png \
|
|
|
|
|
|
|
|
images/color-rotate-stock-pixbufs.h: $(STOCK_IMAGES)
|
|
|
|
gdk-pixbuf-csource --rle --build-list $(STOCK_VARS) > images/color-rotate-stock-pixbufs.h
|
|
|
|
|
|
|
|
EXTRA_DEPS = images/color-rotate-stock-pixbufs.h
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
color-rotate-callbacks.obj \
|
|
|
|
color-rotate-dialog.obj \
|
|
|
|
color-rotate-draw.obj \
|
|
|
|
color-rotate-stock.obj \
|
|
|
|
color-rotate-utils.obj \
|
|
|
|
color-rotate.obj \
|
|
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IF "$(DIR)"=="fractal-explorer"
|
Include config.h, guard inclusion of <unistd.h>.
1999-09-14 Tor Lillqvist <tml@iki.fi>
* app/brush_select.c: Include config.h, guard inclusion of
<unistd.h>.
* app/gimpcontextpreview.c: Include config.h, <string.h> and
appenv.h.
* app/xinput_airbrush.c: Include config.h, <stdio.h>, appenv.h and
libgimp/gimpmath.h. Use G_PI.
* app/makefile.{cygwin,msc}: Updates.
* plug-ins/makefile.{cygwin,msc}: Add the unofficial sel_gauss
plug-in. Add new object files for FractalExplorer and
gimpressionist.
* plug-ins/common/iwarp.c (iwarp_deform): Combine two loops over
the same xi, yi area into one. Remove the then actually unused
deform_area_vectors array. Only one element of the array was used
for each x,yi loop.
* plug-ins/common/sparkle.c: Don't include <math.h>,
libgimp/gimpmath.h includes it. Use G_PI.
1999-09-15 05:20:04 +08:00
|
|
|
OBJECTS = \
|
2008-10-04 03:27:54 +08:00
|
|
|
fractal-explorer-dialogs.obj \
|
|
|
|
fractal-explorer.obj
|
Include config.h, guard inclusion of <unistd.h>.
1999-09-14 Tor Lillqvist <tml@iki.fi>
* app/brush_select.c: Include config.h, guard inclusion of
<unistd.h>.
* app/gimpcontextpreview.c: Include config.h, <string.h> and
appenv.h.
* app/xinput_airbrush.c: Include config.h, <stdio.h>, appenv.h and
libgimp/gimpmath.h. Use G_PI.
* app/makefile.{cygwin,msc}: Updates.
* plug-ins/makefile.{cygwin,msc}: Add the unofficial sel_gauss
plug-in. Add new object files for FractalExplorer and
gimpressionist.
* plug-ins/common/iwarp.c (iwarp_deform): Combine two loops over
the same xi, yi area into one. Remove the then actually unused
deform_area_vectors array. Only one element of the array was used
for each x,yi loop.
* plug-ins/common/sparkle.c: Don't include <math.h>,
libgimp/gimpmath.h includes it. Use G_PI.
1999-09-15 05:20:04 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IFDEF EXTRA_lighting
|
2004-08-02 04:51:12 +08:00
|
|
|
STOCK_VARS = \
|
|
|
|
stock_intensity_ambient_high images/stock-intensity-ambient-high.png \
|
|
|
|
stock_intensity_ambient_low images/stock-intensity-ambient-low.png \
|
|
|
|
stock_intensity_diffuse_high images/stock-intensity-diffuse-high.png \
|
|
|
|
stock_intensity_diffuse_low images/stock-intensity-diffuse-low.png \
|
|
|
|
stock_reflectivity_diffuse_high images/stock-reflectivity-diffuse-high.png \
|
|
|
|
stock_reflectivity_diffuse_low images/stock-reflectivity-diffuse-low.png \
|
|
|
|
stock_reflectivity_specular_high images/stock-reflectivity-specular-high.png \
|
|
|
|
stock_reflectivity_specular_low images/stock-reflectivity-specular-low.png \
|
|
|
|
stock_reflectivity_highlight_high images/stock-reflectivity-highlight-high.png \
|
|
|
|
stock_reflectivity_highlight_low images/stock-reflectivity-highlight-low.png
|
|
|
|
|
|
|
|
STOCK_IMAGES = \
|
|
|
|
images/stock-intensity-ambient-high.png \
|
|
|
|
images/stock-intensity-ambient-low.png \
|
|
|
|
images/stock-intensity-diffuse-high.png \
|
|
|
|
images/stock-intensity-diffuse-low.png \
|
|
|
|
images/stock-reflectivity-diffuse-high.png \
|
|
|
|
images/stock-reflectivity-diffuse-low.png \
|
|
|
|
images/stock-reflectivity-specular-high.png \
|
|
|
|
images/stock-reflectivity-specular-low.png \
|
|
|
|
images/stock-reflectivity-highlight-high.png \
|
|
|
|
images/stock-reflectivity-highlight-low.png
|
|
|
|
|
|
|
|
images/stock-pixbufs.h: $(STOCK_IMAGES)
|
|
|
|
gdk-pixbuf-csource --rle --build-list $(STOCK_VARS) > images/stock-pixbufs.h
|
|
|
|
|
|
|
|
EXTRA_DEPS = images/stock-pixbufs.h
|
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
2008-10-04 03:27:54 +08:00
|
|
|
lighting-apply.obj \
|
|
|
|
lighting-image.obj \
|
|
|
|
lighting-main.obj \
|
|
|
|
lighting-preview.obj \
|
|
|
|
lighting-shade.obj \
|
|
|
|
lighting-stock.obj \
|
|
|
|
lighting-ui.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="map-object"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
arcball.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
map-object-apply.obj \
|
|
|
|
map-object-image.obj \
|
|
|
|
map-object-main.obj \
|
|
|
|
map-object-preview.obj \
|
|
|
|
map-object-shade.obj \
|
|
|
|
map-object-ui.obj
|
1999-07-15 00:02:32 +08:00
|
|
|
OPTIMIZE =
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-bmp"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
bmp.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
bmp-read.obj \
|
|
|
|
bmp-write.obj
|
2004-11-21 22:22:45 +08:00
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFDEF EXTRA_plugindetails
|
|
|
|
OBJECTS = \
|
|
|
|
gimpprocbox.obj \
|
|
|
|
gimpprocbrowser.obj \
|
|
|
|
gimpprocview.obj \
|
|
|
|
plugin-browser.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-faxg3"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
faxg3.obj \
|
2007-01-14 06:41:21 +08:00
|
|
|
g3.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-fits"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
fits.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
fits-io.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_flame
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
cmap.obj \
|
|
|
|
flame.obj \
|
|
|
|
libifs.obj \
|
|
|
|
rect.obj
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-fli"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
fli.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
fli-gimp.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2003-03-04 02:14:31 +08:00
|
|
|
!IFDEF EXTRA_gfig
|
|
|
|
STOCK_VARS = \
|
|
|
|
stock_bezier images/stock-bezier.png \
|
|
|
|
stock_circle images/stock-circle.png \
|
|
|
|
stock_copy_object images/stock-copy-object.png \
|
|
|
|
stock_curve images/stock-curve.png \
|
|
|
|
stock_delete_object images/stock-delete-object.png \
|
|
|
|
stock_ellipse images/stock-ellipse.png \
|
|
|
|
stock_line images/stock-line.png \
|
|
|
|
stock_move_object images/stock-move-object.png \
|
|
|
|
stock_move_point images/stock-move-point.png \
|
|
|
|
stock_polygon images/stock-polygon.png \
|
2005-02-19 08:50:36 +08:00
|
|
|
stock_rectangle images/stock-rectangle.png \
|
2003-03-04 02:14:31 +08:00
|
|
|
stock_spiral images/stock-spiral.png \
|
|
|
|
stock_star images/stock-star.png \
|
2004-11-21 22:22:45 +08:00
|
|
|
stock_select_object images/stock-select-object.png \
|
2007-01-14 06:41:21 +08:00
|
|
|
stock_show_all images/stock-show-all.png
|
2003-03-04 02:14:31 +08:00
|
|
|
|
|
|
|
STOCK_IMAGES = \
|
|
|
|
images/stock-bezier.png \
|
|
|
|
images/stock-circle.png \
|
|
|
|
images/stock-copy-object.png \
|
|
|
|
images/stock-curve.png \
|
|
|
|
images/stock-delete-object.png \
|
|
|
|
images/stock-ellipse.png \
|
|
|
|
images/stock-line.png \
|
|
|
|
images/stock-move-object.png \
|
|
|
|
images/stock-move-point.png \
|
|
|
|
images/stock-polygon.png \
|
|
|
|
images/stock-spiral.png \
|
|
|
|
images/stock-star.png \
|
|
|
|
images/stock-logo.png
|
|
|
|
|
|
|
|
images/gfig-stock-pixbufs.h: $(STOCK_IMAGES)
|
|
|
|
gdk-pixbuf-csource --rle --build-list $(STOCK_VARS) > images/gfig-stock-pixbufs.h
|
|
|
|
|
|
|
|
EXTRA_DEPS = images/gfig-stock-pixbufs.h
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
gfig.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gfig-arc.obj \
|
|
|
|
gfig-bezier.obj \
|
|
|
|
gfig-circle.obj \
|
2004-07-12 05:53:17 +08:00
|
|
|
gfig-dialog.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gfig-dobject.obj \
|
|
|
|
gfig-ellipse.obj \
|
2003-12-13 09:35:19 +08:00
|
|
|
gfig-grid.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gfig-line.obj \
|
|
|
|
gfig-poly.obj \
|
2003-12-13 09:35:19 +08:00
|
|
|
gfig-preview.obj \
|
2005-02-19 08:50:36 +08:00
|
|
|
gfig-rectangle.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gfig-spiral.obj \
|
|
|
|
gfig-star.obj \
|
2004-07-12 05:53:17 +08:00
|
|
|
gfig-style.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
gfig-stock.obj
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="ifs-compose"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
2008-10-04 03:27:54 +08:00
|
|
|
ifs-compose.obj \
|
|
|
|
ifs-compose-storage.obj \
|
|
|
|
ifs-compose-utils.obj
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-10-26 03:20:41 +08:00
|
|
|
!IFDEF EXTRA_imagemap
|
2004-11-21 22:22:45 +08:00
|
|
|
STOCK_VARS = \
|
|
|
|
stock_circle images/stock-circle.png \
|
|
|
|
stock_coord images/stock-coord.png \
|
|
|
|
stock_dimension images/stock-dimension.png \
|
|
|
|
stock_java images/stock-java.png \
|
|
|
|
stock_polygon images/stock-polygon.png \
|
|
|
|
stock_rectangle images/stock-rectangle.png \
|
|
|
|
stock_to_back images/stock-to-back.png \
|
|
|
|
stock_to_front images/stock-to-front.png \
|
|
|
|
|
|
|
|
STOCK_IMAGES = \
|
|
|
|
images/stock-circle.png \
|
|
|
|
images/stock-coord.png \
|
|
|
|
images/stock-dimension.png \
|
|
|
|
images/stock-java.png \
|
|
|
|
images/stock-polygon.png \
|
|
|
|
images/stock-rectangle.png \
|
|
|
|
images/stock-to-back.png \
|
|
|
|
images/stock-to-front.png \
|
|
|
|
|
|
|
|
|
|
|
|
images/imap-stock-pixbufs.h: $(STOCK_IMAGES)
|
|
|
|
gdk-pixbuf-csource --rle --build-list $(STOCK_VARS) > images/imap-stock-pixbufs.h
|
|
|
|
|
|
|
|
EXTRA_DEPS = images/imap-stock-pixbufs.h
|
|
|
|
|
1999-10-26 03:20:41 +08:00
|
|
|
OBJECTS = \
|
|
|
|
imap_cmd_copy_object.obj \
|
|
|
|
imap_about.obj \
|
|
|
|
imap_browse.obj \
|
|
|
|
imap_cern_lex.obj \
|
|
|
|
imap_cern_parse.obj \
|
|
|
|
imap_circle.obj \
|
|
|
|
imap_cmd_clear.obj \
|
|
|
|
imap_cmd_copy.obj \
|
|
|
|
imap_cmd_create.obj \
|
|
|
|
imap_cmd_cut.obj \
|
|
|
|
imap_cmd_cut_object.obj \
|
|
|
|
imap_cmd_delete.obj \
|
|
|
|
imap_cmd_delete_point.obj \
|
|
|
|
imap_cmd_edit_object.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
imap_cmd_gimp_guides.obj \
|
1999-10-26 03:20:41 +08:00
|
|
|
imap_cmd_guides.obj \
|
|
|
|
imap_cmd_insert_point.obj \
|
|
|
|
imap_cmd_move.obj \
|
|
|
|
imap_cmd_move_down.obj \
|
|
|
|
imap_cmd_move_sash.obj \
|
|
|
|
imap_cmd_move_selected.obj \
|
|
|
|
imap_cmd_move_to_front.obj \
|
|
|
|
imap_cmd_move_up.obj \
|
|
|
|
imap_cmd_object_down.obj \
|
|
|
|
imap_cmd_object_move.obj \
|
|
|
|
imap_cmd_object_up.obj \
|
|
|
|
imap_cmd_paste.obj \
|
|
|
|
imap_cmd_select.obj \
|
|
|
|
imap_cmd_select_all.obj \
|
|
|
|
imap_cmd_select_next.obj \
|
|
|
|
imap_cmd_select_prev.obj \
|
|
|
|
imap_cmd_select_region.obj \
|
|
|
|
imap_cmd_send_to_back.obj \
|
|
|
|
imap_cmd_unselect.obj \
|
|
|
|
imap_cmd_unselect_all.obj \
|
|
|
|
imap_command.obj \
|
|
|
|
imap_csim_lex.obj \
|
|
|
|
imap_csim_parse.obj \
|
|
|
|
imap_default_dialog.obj \
|
|
|
|
imap_edit_area_info.obj \
|
|
|
|
imap_file.obj \
|
|
|
|
imap_grid.obj \
|
|
|
|
imap_main.obj \
|
|
|
|
imap_menu.obj \
|
|
|
|
imap_menu_funcs.obj \
|
|
|
|
imap_misc.obj \
|
|
|
|
imap_mru.obj \
|
|
|
|
imap_ncsa_lex.obj \
|
|
|
|
imap_ncsa_parse.obj \
|
|
|
|
imap_object.obj \
|
|
|
|
imap_object_popup.obj \
|
|
|
|
imap_polygon.obj \
|
|
|
|
imap_preferences.obj \
|
|
|
|
imap_preview.obj \
|
|
|
|
imap_rectangle.obj \
|
|
|
|
imap_selection.obj \
|
|
|
|
imap_settings.obj \
|
|
|
|
imap_source.obj \
|
|
|
|
imap_statusbar.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
imap_stock.obj \
|
1999-10-26 03:20:41 +08:00
|
|
|
imap_string.obj \
|
|
|
|
imap_table.obj \
|
2005-07-11 00:24:57 +08:00
|
|
|
imap_taglist.obj
|
2002-05-11 07:33:26 +08:00
|
|
|
# not changing the source which is lexed
|
2007-01-16 05:24:28 +08:00
|
|
|
EXTRACFLAGS = -FIstring.h -FIstdlib.h -DYY_NO_UNISTD_H
|
1999-10-26 03:20:41 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-07-15 00:02:32 +08:00
|
|
|
!IFDEF EXTRA_iwarp
|
|
|
|
OPTIMIZE =
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-ico"
|
|
|
|
EXTRACFLAGS = $(PNG_CFLAGS)
|
|
|
|
EXTRALIBS = $(PNG_LIBS)
|
|
|
|
OBJECTS = \
|
|
|
|
ico-dialog.obj \
|
|
|
|
ico-load.obj \
|
|
|
|
ico-save.obj \
|
|
|
|
ico.obj
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IF "$(DIR)"=="file-jpeg"
|
2006-05-14 01:05:15 +08:00
|
|
|
EXTRACFLAGS = -I$(JPEG) \
|
2007-03-05 03:04:42 +08:00
|
|
|
!IFDEF EXIF
|
2006-05-14 01:05:15 +08:00
|
|
|
$(EXIF_CFLAGS) -DHAVE_EXIF -DHAVE_EXIF_0_6
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
EXTRALIBS = \
|
2007-03-05 03:04:42 +08:00
|
|
|
$(JPEG)\libjpeg.lib \
|
|
|
|
!IFDEF EXIF
|
|
|
|
$(EXIF_LIBS)
|
|
|
|
!ENDIF
|
2006-05-14 01:05:15 +08:00
|
|
|
|
2005-07-11 00:24:57 +08:00
|
|
|
OBJECTS = \
|
|
|
|
jpeg.obj \
|
|
|
|
jpeg-exif.obj \
|
|
|
|
jpeg-icc.obj \
|
|
|
|
jpeg-load.obj \
|
2007-08-05 23:16:02 +08:00
|
|
|
jpeg-quality.obj \
|
2007-03-05 03:04:42 +08:00
|
|
|
jpeg-save.obj \
|
2007-08-05 23:16:02 +08:00
|
|
|
jpeg-settings.obj \
|
2007-03-05 03:04:42 +08:00
|
|
|
!IFDEF EXIF
|
|
|
|
gimpexif.obj
|
|
|
|
!ENDIF
|
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-uri"
|
|
|
|
OBJECTS = \
|
|
|
|
gimpmountoperation.obj \
|
|
|
|
# uri-backend-gnomevfs.obj \
|
|
|
|
uri-backend-gvfs.obj \
|
|
|
|
# uri-backend-libcurl.obj \
|
|
|
|
# uri-backend-wget.obj \
|
|
|
|
uri.obj
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IF "$(DIR)"=="lcms"
|
2006-10-28 00:04:53 +08:00
|
|
|
EXTRACFLAGS = $(LCMS_CFLAGS)
|
|
|
|
EXTRALIBS = $(LCMS_LIBS)
|
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_maze
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
2008-10-04 03:27:54 +08:00
|
|
|
maze-algorithms.obj \
|
|
|
|
maze-dialog.obj \
|
|
|
|
maze-utils.obj \
|
1999-05-29 09:28:24 +08:00
|
|
|
maze.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2000-01-05 02:09:51 +08:00
|
|
|
!IFDEF EXTRA_mpeg
|
|
|
|
EXTRACFLAGS = -I$(MPEG)
|
|
|
|
EXTRALIBS = $(MPEG)\release\libmpeg.lib
|
|
|
|
!ENDIF
|
|
|
|
|
2005-09-26 03:30:55 +08:00
|
|
|
!IFDEF EXTRA_metadata
|
|
|
|
OBJECTS = \
|
|
|
|
base64.obj \
|
|
|
|
interface.obj \
|
|
|
|
metadata.obj \
|
|
|
|
xmp-encode.obj \
|
|
|
|
xmp-model.obj \
|
|
|
|
xmp-parse.obj \
|
|
|
|
xmp-schemas.obj
|
|
|
|
!ENDIF
|
|
|
|
|
2004-11-21 22:22:45 +08:00
|
|
|
!IFDEF EXTRA_pagecurl
|
|
|
|
STOCK_VARS = \
|
|
|
|
curl0 curl0.png \
|
|
|
|
curl1 curl1.png \
|
|
|
|
curl2 curl2.png \
|
|
|
|
curl3 curl3.png \
|
|
|
|
curl4 curl4.png \
|
|
|
|
curl5 curl5.png \
|
|
|
|
curl6 curl6.png \
|
|
|
|
curl7 curl7.png \
|
|
|
|
|
|
|
|
STOCK_IMAGES = \
|
|
|
|
curl0.png \
|
|
|
|
curl1.png \
|
|
|
|
curl2.png \
|
|
|
|
curl3.png \
|
|
|
|
curl4.png \
|
|
|
|
curl5.png \
|
|
|
|
curl6.png \
|
|
|
|
curl7.png \
|
|
|
|
|
|
|
|
pagecurl-icons.h: $(STOCK_IMAGES)
|
|
|
|
gdk-pixbuf-csource --rle --build-list $(STOCK_VARS) > pagecurl-icons.h
|
|
|
|
|
|
|
|
EXTRA_DEPS = pagecurl-icons.h
|
|
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-png"
|
2005-04-24 23:39:15 +08:00
|
|
|
EXTRACFLAGS = $(PNG_CFLAGS)
|
|
|
|
EXTRALIBS = $(PNG_LIBS)
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_print
|
|
|
|
OBJECTS = \
|
|
|
|
print.obj \
|
2007-01-14 06:41:21 +08:00
|
|
|
print-draw-page.obj \
|
|
|
|
print-page-layout.obj \
|
2007-08-05 23:16:02 +08:00
|
|
|
print-preview.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
print-settings.obj \
|
|
|
|
print-page-setup.obj \
|
|
|
|
print-utils.obj \
|
1999-06-29 01:54:19 +08:00
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
EXTRALIBS = $(CAIRO_LIBS) $(GTHREAD_LIBS)
|
2005-09-26 03:30:55 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-psp"
|
2005-04-24 23:39:15 +08:00
|
|
|
EXTRACFLAGS = $(ZLIB_CFLAGS)
|
|
|
|
EXTRALIBS = $(ZLIB_LIBS)
|
1999-08-22 03:00:41 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-psd"
|
|
|
|
EXTRACFLAGS = $(TIFF_CFLAGS) $(JPEG_CFLAGS)
|
|
|
|
EXTRALIBS = $(TIFF_LIBS) $(JPEG)\libjpeg.lib $(ZLIB_LIBS) user32.lib
|
1999-06-15 06:18:02 +08:00
|
|
|
OBJECTS = \
|
2008-10-04 03:27:54 +08:00
|
|
|
psd-image-res-load.obj \
|
|
|
|
psd-layer-res-load.obj \
|
|
|
|
psd-load.obj \
|
|
|
|
#2nd! psd-save.obj \
|
|
|
|
psd-thumb-load.obj \
|
|
|
|
psd-util.obj \
|
|
|
|
psd.obj
|
1999-06-15 06:18:02 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="screenshot"
|
|
|
|
EXTRALIBS = user32.lib
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IF "$(DIR)"=="script-fu"
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
2006-10-28 00:04:53 +08:00
|
|
|
scheme-wrapper.obj \
|
1999-05-29 09:28:24 +08:00
|
|
|
script-fu.obj \
|
|
|
|
script-fu-console.obj \
|
|
|
|
script-fu-scripts.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
script-fu-text-console.obj \
|
2004-11-21 22:22:45 +08:00
|
|
|
script-fu-interface.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
script-fu-server.obj \
|
|
|
|
script-fu-eval.obj \
|
|
|
|
script-fu-regex.obj \
|
|
|
|
script-fu-script.obj \
|
|
|
|
script-fu-utils.obj \
|
2005-09-26 03:30:55 +08:00
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
EXTRALIBS = tinyscheme\tinyscheme.lib ftx\ftx.lib kernel32.lib wsock32.lib
|
2007-08-05 23:16:02 +08:00
|
|
|
EXTRACFLAGS = -DREGEX_MALLOC -DUSE_INTERFACE -DSTANDALONE=0
|
2007-01-14 06:41:21 +08:00
|
|
|
#HAVE_RESOURCE = YES
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="selection-to-path"
|
1999-07-15 00:02:32 +08:00
|
|
|
OBJECTS = \
|
|
|
|
curve.obj \
|
|
|
|
edge.obj \
|
|
|
|
fit.obj \
|
|
|
|
math.obj \
|
|
|
|
pxl-outline.obj \
|
|
|
|
spline.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
selection-to-path-dialog.obj \
|
|
|
|
selection-to-path.obj \
|
|
|
|
spline.obj \
|
|
|
|
vector.obj \
|
|
|
|
|
1999-07-15 00:02:32 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-sgi"
|
1999-06-29 01:54:19 +08:00
|
|
|
OBJECTS = \
|
|
|
|
sgi.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
sgi-lib.obj
|
1999-06-29 01:54:19 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-svg"
|
2003-11-17 05:20:14 +08:00
|
|
|
EXTRACFLAGS = $(RSVG_CFLAGS)
|
|
|
|
EXTRALIBS = $(RSVG_LIBS)
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-tiff-load" || "$(DIR)"=="file-tiff-save"
|
2006-10-28 00:04:53 +08:00
|
|
|
EXTRACFLAGS = $(TIFF_CFLAGS)
|
|
|
|
EXTRALIBS = $(TIFF_LIBS) $(JPEG)\libjpeg.lib $(ZLIB_LIBS) user32.lib
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-07-15 00:02:32 +08:00
|
|
|
!IFDEF EXTRA_gimp_ace
|
|
|
|
EXTRACFLAGS = -DGLACE_GIMP
|
|
|
|
OBJECTS = \
|
|
|
|
gimp_ace.obj \
|
|
|
|
glace.obj \
|
|
|
|
glaceG.obj
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFDEF EXTRA_gimpressionist
|
|
|
|
|
2005-02-19 08:50:36 +08:00
|
|
|
EXTRALIBS = $(GTK2_LIBS)
|
|
|
|
|
1999-07-15 00:02:32 +08:00
|
|
|
OBJECTS = \
|
|
|
|
brush.obj \
|
Include config.h, guard inclusion of <unistd.h>.
1999-09-14 Tor Lillqvist <tml@iki.fi>
* app/brush_select.c: Include config.h, guard inclusion of
<unistd.h>.
* app/gimpcontextpreview.c: Include config.h, <string.h> and
appenv.h.
* app/xinput_airbrush.c: Include config.h, <stdio.h>, appenv.h and
libgimp/gimpmath.h. Use G_PI.
* app/makefile.{cygwin,msc}: Updates.
* plug-ins/makefile.{cygwin,msc}: Add the unofficial sel_gauss
plug-in. Add new object files for FractalExplorer and
gimpressionist.
* plug-ins/common/iwarp.c (iwarp_deform): Combine two loops over
the same xi, yi area into one. Remove the then actually unused
deform_area_vectors array. Only one element of the array was used
for each x,yi loop.
* plug-ins/common/sparkle.c: Don't include <math.h>,
libgimp/gimpmath.h includes it. Use G_PI.
1999-09-15 05:20:04 +08:00
|
|
|
color.obj \
|
1999-07-15 00:02:32 +08:00
|
|
|
general.obj \
|
|
|
|
gimp.obj \
|
1999-07-30 06:07:17 +08:00
|
|
|
gimpressionist.obj \
|
2004-08-02 04:51:12 +08:00
|
|
|
globals.obj \
|
1999-07-30 06:07:17 +08:00
|
|
|
orientation.obj \
|
|
|
|
orientmap.obj \
|
|
|
|
paper.obj \
|
|
|
|
placement.obj \
|
1999-07-15 00:02:32 +08:00
|
|
|
plasma.obj \
|
1999-07-30 06:07:17 +08:00
|
|
|
ppmtool.obj \
|
1999-07-15 00:02:32 +08:00
|
|
|
presets.obj \
|
1999-07-30 06:07:17 +08:00
|
|
|
preview.obj \
|
|
|
|
repaint.obj \
|
|
|
|
size.obj \
|
2004-08-02 04:51:12 +08:00
|
|
|
sizemap.obj \
|
|
|
|
utils.obj
|
1999-07-15 00:02:32 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2005-09-26 03:30:55 +08:00
|
|
|
!IFDEF EXTRA_help
|
|
|
|
OBJECTS = \
|
2007-01-14 06:41:21 +08:00
|
|
|
gimphelp.obj \
|
|
|
|
gimphelpdomain.obj \
|
|
|
|
gimphelpitem.obj \
|
|
|
|
gimphelplocale.obj \
|
2008-10-04 03:27:54 +08:00
|
|
|
gimphelpprogress.obj \
|
|
|
|
help.obj \
|
|
|
|
|
2005-09-26 03:30:55 +08:00
|
|
|
TEST_OBJECTS = \
|
|
|
|
gimp-help-lookup.obj
|
|
|
|
!ENDIF
|
|
|
|
|
2003-06-19 17:57:35 +08:00
|
|
|
!IFDEF EXTRA_helpbrowser
|
2003-12-13 09:35:19 +08:00
|
|
|
OBJECTS = \
|
2005-07-11 00:24:57 +08:00
|
|
|
gimpthrobber.obj \
|
|
|
|
gimpthrobberaction.obj \
|
2003-12-13 09:35:19 +08:00
|
|
|
helpbrowser.obj \
|
2004-11-21 22:22:45 +08:00
|
|
|
dialog.obj \
|
2003-12-13 09:35:19 +08:00
|
|
|
queue.obj \
|
|
|
|
uri.obj
|
2004-11-21 22:22:45 +08:00
|
|
|
EXTRACFLAGS = $(GTKHTML2_CFLAGS)
|
|
|
|
EXTRALIBS = $(GTKHTML2_LIBS) user32.lib shell32.lib
|
2005-07-11 00:24:57 +08:00
|
|
|
|
|
|
|
dialog.c : logo-pixbuf.h
|
|
|
|
|
|
|
|
logo-pixbuf.h: wilber-reading.png
|
|
|
|
gdk-pixbuf-csource --raw --name=logo_data wilber-reading.png > logo-pixbuf.h
|
|
|
|
|
2003-06-19 17:57:35 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_guash
|
1999-05-29 09:28:24 +08:00
|
|
|
HAVE_RESOURCE = YES
|
|
|
|
!ENDIF
|
|
|
|
|
2000-05-11 03:39:03 +08:00
|
|
|
!IFDEF EXTRA_magiceye
|
|
|
|
OBJECTS = \
|
|
|
|
dialog.obj \
|
|
|
|
magiceye.obj
|
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_user_filter
|
1999-07-15 00:02:32 +08:00
|
|
|
|
|
|
|
uf_lexer.c : uf_lexer.l
|
|
|
|
flex -Cem -ouf_lexer.c uf_lexer.l
|
|
|
|
uf_parser.tab.c: uf_parser.y
|
|
|
|
bison --defines --verbose uf_parser.y
|
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
libyywrap.obj \
|
|
|
|
uf_eval.obj \
|
|
|
|
uf_file.obj \
|
|
|
|
uf_gui.obj \
|
|
|
|
uf_lexer.obj \
|
|
|
|
uf_main.obj \
|
|
|
|
uf_parser.tab.obj
|
|
|
|
!ENDIF
|
|
|
|
|
app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc
1999-09-01 Tor Lillqvist <tml@iki.fi>
* app/appenv.h
* libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
use them, too. Remove some commented-out old stuff in appenv.h.
* libgimp/gimp.h: Include gimpmath.h.
* libgimp/gimp.c (gimp_main): Win32: Don't install signal
handlers, we can't do anything useful in the handler ourselves
anyway (it would be nice to print out a backtrace, but that seems
pretty hard to do, even if not impossible). Let Windows inform the
user about the crash. If the plug-in was compiled with MSVC, and
the user also has it, she is offered a chance to start the
debugger automatically anyway.
* app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
<math.h>, as gimpmath.h includes it.
* plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
Remove all the duplicated definitions of G_PI and rint(). Use
RINT() instead of rint().
* app/app_procs.[ch]: app_exit() takes a gboolean.
* app/batch.c
* app/commands.c
* app/interface.c: Call app_exit() with FALSE or TRUE.
* app/main.c (on_error): Call gimp_fatal_error. (main): Don't
install any signal handler on Win32 here, either.
* app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
the message and call MessageBox with it. g_on_error_query doesn't
do anything useful on Win32, and printf'ing a message to stdout or
stderr doesn't do anything, either, in a windowing application.
1999-09-02 04:30:56 +08:00
|
|
|
!IFDEF EXTRA_pmosaic
|
|
|
|
EXTRACFLAGS = -I$(JPEG)
|
|
|
|
EXTRALIBS = $(JPEG)\libjpeg.lib
|
|
|
|
OBJECTS = \
|
|
|
|
pmosaic.obj \
|
|
|
|
pmsc.obj
|
|
|
|
!ENDIF
|
|
|
|
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFDEF EXTRA_twain
|
1999-05-29 09:28:24 +08:00
|
|
|
OBJECTS = \
|
|
|
|
tw_func.obj \
|
|
|
|
tw_util.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
!IFDEF DEBUG
|
2001-07-23 06:18:01 +08:00
|
|
|
tw_dump.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
!ENDIF
|
2004-08-02 04:51:12 +08:00
|
|
|
tw_win.obj \
|
1999-05-29 09:28:24 +08:00
|
|
|
twain.obj
|
1999-06-15 06:18:02 +08:00
|
|
|
EXTRALIBS = user32.lib
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="web-browser"
|
2005-07-11 00:24:57 +08:00
|
|
|
EXTRALIBS = shell32.lib user32.lib
|
2000-06-07 05:33:19 +08:00
|
|
|
!ENDIF
|
|
|
|
|
1999-08-02 05:42:51 +08:00
|
|
|
!IFDEF EXTRA_winprint
|
|
|
|
EXTRALIBS = user32.lib gdi32.lib comdlg32.lib
|
2003-06-19 17:57:35 +08:00
|
|
|
!ENDIF
|
1999-08-02 05:42:51 +08:00
|
|
|
|
1999-08-17 03:33:35 +08:00
|
|
|
!IFDEF EXTRA_winclipboard
|
|
|
|
EXTRALIBS = user32.lib
|
2003-06-19 17:57:35 +08:00
|
|
|
!ENDIF
|
1999-08-17 03:33:35 +08:00
|
|
|
|
2004-07-12 05:53:17 +08:00
|
|
|
!IFDEF EXTRA_winicon
|
2006-10-28 00:04:53 +08:00
|
|
|
EXTRACFLAGS = $(PNG_CFLAGS)
|
|
|
|
EXTRALIBS = $(PNG_LIBS)
|
2004-07-12 05:53:17 +08:00
|
|
|
OBJECTS = \
|
|
|
|
icodialog.obj \
|
|
|
|
icoload.obj \
|
|
|
|
icosave.obj \
|
|
|
|
main.obj
|
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="win-snap"
|
|
|
|
OBJECTS = winsnap.obj
|
|
|
|
#HAVE_RESOURCE = YES
|
|
|
|
RESOURCE = winsnap.res
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* 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.
1999-07-22 03:52:20 +08:00
|
|
|
EXTRALIBS = user32.lib gdi32.lib
|
2003-06-19 17:57:35 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2008-10-04 03:27:54 +08:00
|
|
|
!IF "$(DIR)"=="file-xjt"
|
2003-06-19 17:57:35 +08:00
|
|
|
OBJECTS = \
|
|
|
|
xjt.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
xjpeg.obj
|
2003-06-19 17:57:35 +08:00
|
|
|
EXTRACFLAGS = $(JPEG_CFLAGS)
|
|
|
|
EXTRALIBS = $(JPEG_LIBS)
|
|
|
|
!ENDIF
|
Update gcc instructions. Remove warning about gettext being GPL, as the
* 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.
1999-07-22 03:52:20 +08:00
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
PLUGINDIR = $(GIMPTOP)\plug-ins
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
!IFNDEF OPTIMIZE
|
1999-06-29 01:54:19 +08:00
|
|
|
!IFNDEF DEBUG
|
1999-06-15 06:18:02 +08:00
|
|
|
OPTIMIZE = -Ox
|
1999-06-29 01:54:19 +08:00
|
|
|
!ELSE
|
|
|
|
OPTIMIZE = -Zi
|
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFNDEF DEBUG
|
|
|
|
LINKDEBUG =
|
|
|
|
RTL = -MD
|
|
|
|
!ELSE
|
|
|
|
LINKDEBUG = /debug
|
|
|
|
RTL = -MDd
|
1999-05-29 09:28:24 +08:00
|
|
|
!ENDIF
|
1999-06-29 01:54:19 +08:00
|
|
|
|
2007-12-09 22:11:09 +08:00
|
|
|
CC = cl -nologo -GF $(OPTIMIZE) $(RTL) -W2 -Zm400
|
1999-05-29 09:28:24 +08:00
|
|
|
|
2002-05-11 07:33:26 +08:00
|
|
|
CFLAGS = -FImsvc_recommended_pragmas.h \
|
2004-11-21 22:22:45 +08:00
|
|
|
-DHAVE_CONFIG_H \
|
2002-03-28 08:10:56 +08:00
|
|
|
-DLOCALEDIR=\"?\" \
|
2004-11-21 22:22:45 +08:00
|
|
|
-I$(GIMPTOP) -I. -I$(PLUGINDIR) \
|
|
|
|
$(EXTRACFLAGS) \
|
2003-12-13 09:35:19 +08:00
|
|
|
$(GTK2_CFLAGS) $(INTL_CFLAGS)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
2006-10-28 00:04:53 +08:00
|
|
|
LDFLAGS = /link /subsystem:console /machine:ix86 $(LINKDEBUG) /NODEFAULTLIB:LIBC
|
1999-06-29 01:54:19 +08:00
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
!IFDEF PLUGIN
|
|
|
|
|
|
|
|
# This part is used when building individual plug-ins
|
|
|
|
|
|
|
|
all : $(PLUGIN).exe
|
|
|
|
|
|
|
|
install : all
|
|
|
|
$(INSTALL) $(PLUGIN).exe $(BIN)
|
|
|
|
|
|
|
|
!IFNDEF OBJECTS
|
|
|
|
OBJECTS = $(PLUGIN).obj
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFDEF HAVE_RESOURCE
|
1999-07-03 10:27:32 +08:00
|
|
|
# We have our own resource file (just an icon, usually)
|
1999-05-29 09:28:24 +08:00
|
|
|
RESOURCE = $(PLUGIN).res
|
|
|
|
!ELSE
|
1999-07-03 10:27:32 +08:00
|
|
|
# Use the Wilber icon otherwise. If gimp.exe eventually gets more resources,
|
1999-05-29 09:28:24 +08:00
|
|
|
# this will have to be changed.
|
|
|
|
RESOURCE = ..\..\app\gimp.res
|
|
|
|
!ENDIF
|
|
|
|
|
2003-03-04 02:14:31 +08:00
|
|
|
$(PLUGIN).exe : $(EXTRA_DEPS) $(OBJECTS) $(RESOURCE)
|
2001-02-07 09:16:18 +08:00
|
|
|
$(CC) $(CFLAGS) -Fe$(PLUGIN).exe $(OBJECTS) $(RESOURCE) \
|
|
|
|
..\..\libgimp\gimp-$(GIMP_VER).lib ..\..\libgimp\gimpui-$(GIMP_VER).lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
..\..\libgimpbase\gimpbase-$(GIMP_VER).lib \
|
|
|
|
..\..\libgimpcolor\gimpcolor-$(GIMP_VER).lib \
|
2005-07-11 00:24:57 +08:00
|
|
|
..\..\libgimpconfig\gimpconfig-$(GIMP_VER).lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
..\..\libgimpmath\gimpmath-$(GIMP_VER).lib \
|
2001-02-07 09:16:18 +08:00
|
|
|
..\..\libgimpwidgets\gimpwidgets-$(GIMP_VER).lib \
|
2001-09-23 03:47:27 +08:00
|
|
|
$(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) $(EXTRALIBS) $(LDFLAGS)
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
$(PLUGIN).res : $(PLUGIN).rc
|
|
|
|
rc -r -fo $(PLUGIN).res $(PLUGIN).rc
|
|
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFDEF LIBRARY
|
|
|
|
|
|
|
|
# This part is used when building a library
|
|
|
|
|
|
|
|
all : $(LIBRARY).lib
|
|
|
|
|
|
|
|
install : all
|
|
|
|
|
|
|
|
!IFNDEF OBJECTS
|
|
|
|
OBJECTS = $(LIBRARY).obj
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
$(LIBRARY).lib : $(OBJECTS)
|
|
|
|
lib /out:$(LIBRARY).lib $(OBJECTS)
|
|
|
|
|
|
|
|
!ENDIF
|
|
|
|
|
2000-01-05 02:09:51 +08:00
|
|
|
!IFDEF MODULE
|
|
|
|
|
|
|
|
# This part is used when building a module
|
|
|
|
|
|
|
|
# Allow building libraries with specific extensions
|
|
|
|
!IFNDEF MODULE_EXT
|
|
|
|
MODULE_EXT = dll
|
2006-10-28 00:04:53 +08:00
|
|
|
!ELSE
|
|
|
|
EXTRA_EXPORT = /export:init$(MODULE)
|
2000-01-05 02:09:51 +08:00
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
all : $(MODULE).$(MODULE_EXT)
|
|
|
|
|
|
|
|
install : all
|
|
|
|
|
|
|
|
!IFNDEF OBJECTS
|
|
|
|
OBJECTS = $(MODULE).obj
|
|
|
|
!ENDIF
|
|
|
|
|
2005-09-26 03:30:55 +08:00
|
|
|
$(MODULE).$(MODULE_EXT) : $(OBJECTS)
|
2001-02-07 09:16:18 +08:00
|
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(OBJECTS) $(LDFLAGS) $(EXTRALIBS) \
|
2006-10-28 00:04:53 +08:00
|
|
|
$(GIMPTOP)\libgimp\gimp-$(GIMP_VER).lib \
|
|
|
|
$(GIMPTOP)\libgimp\gimpui-$(GIMP_VER).lib \
|
|
|
|
$(GIMPTOP)\libgimpcolor\gimpcolor-$(GIMP_VER).lib \
|
|
|
|
$(GIMPTOP)\libgimpbase\gimpbase-$(GIMP_VER).lib \
|
|
|
|
$(GIMPTOP)\libgimpwidgets\gimpwidgets-$(GIMP_VER).lib \
|
|
|
|
$(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) $(EXTRA_EXPORT)
|
2000-01-05 02:09:51 +08:00
|
|
|
!ENDIF
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|
2001-02-07 09:16:18 +08:00
|
|
|
clean ::
|
1999-05-29 09:28:24 +08:00
|
|
|
erase *.obj
|
|
|
|
erase *.lib
|
|
|
|
erase *.exp
|
|
|
|
erase *.exe
|
1999-06-15 06:18:02 +08:00
|
|
|
erase *.pdb
|
|
|
|
erase *.ilk
|
1999-05-29 09:28:24 +08:00
|
|
|
|
|
|
|
!ENDIF
|