2001-05-26 06:04:21 +08:00
|
|
|
# autogenerated from automake.am with automake.py
|
2004-02-08 07:01:33 +08:00
|
|
|
PACKAGE = appcore
|
2001-05-26 06:04:21 +08:00
|
|
|
TOP = ..\..\..
|
|
|
|
PRJ_TOP = ..\..
|
2004-02-08 07:01:33 +08:00
|
|
|
!include $(TOP)\glib\build\win32\make.msc
|
|
|
|
|
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
PKG_LINK = \
|
2003-11-17 05:20:14 +08:00
|
|
|
$(GLIB_LIBS) $(GTK_PIXBUF_LIBS) $(INTL_LIBS) $(LIBART_LIBS) \
|
|
|
|
$(PANGOWIN32_LIBS) $(GDK_PIXBUF_LIBS) \
|
|
|
|
# $(PANGOFT2_LIBS) \
|
2003-01-01 21:33:27 +08:00
|
|
|
\
|
|
|
|
..\..\regexrepl\regexrepl.lib \
|
|
|
|
\
|
2001-05-26 06:04:21 +08:00
|
|
|
..\..\libgimpbase\gimpbase-$(PKG_VER).lib \
|
2001-09-23 03:47:27 +08:00
|
|
|
..\..\libgimpcolor\gimpcolor-$(PKG_VER).lib \
|
2002-03-28 08:10:56 +08:00
|
|
|
..\..\libgimpmath\gimpmath-$(PKG_VER).lib \
|
2003-01-01 21:33:27 +08:00
|
|
|
..\..\libgimpmodule\gimpmodule-$(PKG_VER).lib \
|
|
|
|
\
|
|
|
|
..\config\appconfig-$(PKG_VER).lib \
|
|
|
|
..\base\appbase-$(PKG_VER).lib \
|
|
|
|
..\paint-funcs\apppaint-funcs-$(PKG_VER).lib \
|
2003-11-17 05:20:14 +08:00
|
|
|
# ..\vectors\appvectors.lib \
|
|
|
|
# ..\text\apptext.lib \
|
|
|
|
# ..\paint\apppaint.lib \
|
|
|
|
# ..\pdb\apppdb.lib \
|
|
|
|
# ..\plug-in\appplug-in.lib \
|
|
|
|
# ..\file\appfile.lib \
|
|
|
|
# ..\xcf\xcf.lib \
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
OBJECTS = \
|
2002-03-28 08:10:56 +08:00
|
|
|
# ..\undo.obj \
|
|
|
|
core-enums.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
cpercep.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimp.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimp-edit.obj \
|
|
|
|
gimp-units.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpbrush.obj \
|
|
|
|
gimpbrushgenerated.obj \
|
|
|
|
gimpbrushpipe.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpbuffer.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpchannel.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpchannel-combine.obj \
|
|
|
|
gimpchannel-select.obj \
|
2004-07-12 05:53:17 +08:00
|
|
|
gimpcoords.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpcontainer.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpcontainer-filter.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpcontext.obj \
|
|
|
|
gimpdata.obj \
|
|
|
|
gimpdatafactory.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
gimp-documents.obj \
|
|
|
|
gimpdocumentlist.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpdrawable.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpdrawable-blend.obj \
|
|
|
|
gimpdrawable-bucket-fill.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpdrawable-combine.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpdrawable-desaturate.obj \
|
|
|
|
gimpdrawable-equalize.obj \
|
|
|
|
gimpdrawable-histogram.obj \
|
|
|
|
gimpdrawable-invert.obj \
|
|
|
|
gimpdrawable-offset.obj \
|
|
|
|
gimpdrawable-preview.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpdrawable-stroke.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpdrawable-transform.obj \
|
2002-12-01 22:53:17 +08:00
|
|
|
gimpenvirontable.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpgradient.obj \
|
2003-07-27 01:37:32 +08:00
|
|
|
gimpgrid.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
gimp-gradients.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpimage.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
gimpimagemap.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpimage-colorhash.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpimage-colormap.obj \
|
2001-10-29 02:45:45 +08:00
|
|
|
gimpimage-contiguous-region.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpimage-convert.obj \
|
|
|
|
gimpimage-crop.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpimage-duplicate.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpimage-flip.obj \
|
2003-07-27 01:37:32 +08:00
|
|
|
gimpimage-grid.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpimage-guides.obj \
|
|
|
|
gimpimage-merge.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpimage-new.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpimage-pick-color.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpimage-preview.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpimage-projection.obj \
|
|
|
|
gimpimage-qmask.obj \
|
|
|
|
gimpimage-resize.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpimage-rotate.obj \
|
2003-07-27 01:37:32 +08:00
|
|
|
gimpimage-snap.obj \
|
2002-02-17 23:55:54 +08:00
|
|
|
gimpimage-scale.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpimage-undo.obj \
|
2003-03-04 02:14:31 +08:00
|
|
|
gimpimage-undo-push.obj \
|
2001-09-23 03:47:27 +08:00
|
|
|
gimpimagefile.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
gimpitem.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpitem-linked.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpitem-preview.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimpitemundo.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimplayer.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
gimplayer-floating-sel.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimplayermask.obj \
|
|
|
|
gimplist.obj \
|
|
|
|
gimpmarshal.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimp-modules.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpobject.obj \
|
2002-03-28 08:10:56 +08:00
|
|
|
gimppaintinfo.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimppalette.obj \
|
|
|
|
gimppalette-import.obj \
|
2002-09-07 06:25:19 +08:00
|
|
|
gimp-parasites.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpparasitelist.obj \
|
|
|
|
gimppattern.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimppreviewcache.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpscanconvert.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimpselection.obj \
|
|
|
|
gimpstrokeoptions.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimptemplate.obj \
|
2003-07-27 01:37:32 +08:00
|
|
|
gimptooloptions.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
gimp-transform-utils.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimp-templates.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimptoolinfo.obj \
|
|
|
|
gimpundo.obj \
|
|
|
|
gimpundostack.obj \
|
2001-07-23 06:18:01 +08:00
|
|
|
gimpunit.obj \
|
2003-11-17 05:20:14 +08:00
|
|
|
# gimpunits.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
gimpviewable.obj \
|
2003-05-25 01:00:03 +08:00
|
|
|
gimp-utils.obj \
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
OTHER_FILES = \
|
|
|
|
\
|
|
|
|
..\floating_sel.obj \
|
|
|
|
..\gimpparasite.obj \
|
|
|
|
..\parasitelist.obj \
|
|
|
|
..\drawable.obj \
|
|
|
|
..\datafiles.obj \
|
|
|
|
..\undo.obj \
|
|
|
|
..\path.obj
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDES = \
|
2002-03-28 08:10:56 +08:00
|
|
|
-FImsvc_recommended_pragmas.h \
|
2001-10-29 02:45:45 +08:00
|
|
|
-I$(PRJ_TOP) \
|
|
|
|
-I$(PRJ_TOP)/app \
|
2003-03-04 02:14:31 +08:00
|
|
|
$(GTK2_CFLAGS) \
|
2002-03-28 08:10:56 +08:00
|
|
|
$(LIBART_CFLAGS) \
|
|
|
|
|
|
|
|
DEFINES = \
|
|
|
|
-DGIMP_COMPILATION \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Core\"
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
all : \
|
|
|
|
$(PRJ_TOP)\config.h \
|
2001-09-23 03:47:27 +08:00
|
|
|
gimpmarshal.h \
|
|
|
|
gimpmarshal.c \
|
2001-05-26 06:04:21 +08:00
|
|
|
$(PACKAGE).lib \
|
2001-10-29 02:45:45 +08:00
|
|
|
!IFDEF DLLGIMP
|
2001-05-26 06:04:21 +08:00
|
|
|
$(PACKAGE)-$(PKG_VER).dll
|
2001-10-29 02:45:45 +08:00
|
|
|
!ENDIF
|
2001-05-26 06:04:21 +08:00
|
|
|
|
2001-09-23 03:47:27 +08:00
|
|
|
gimpmarshal.h : gimpmarshal.list
|
|
|
|
echo #ifndef __GIMP_MARSHAL_H__ > xgen-gmh
|
|
|
|
echo #define __GIMP_MARSHAL_H__ >> xgen-gmh
|
2002-02-17 23:55:54 +08:00
|
|
|
$(GLIB)\gobject\glib-genmarshal --nostdinc --prefix=gimp_marshal gimpmarshal.list --header >> xgen-gmh
|
2001-09-23 03:47:27 +08:00
|
|
|
echo #endif /* __GIMP_MARSHAL_H__ */ >> xgen-gmh
|
|
|
|
copy xgen-gmh gimpmarshal.h
|
|
|
|
|
|
|
|
gimpmarshal.c : gimpmarshal.h gimpmarshal.list
|
|
|
|
echo #include "glib.h" > xgen-gmc
|
|
|
|
echo #include "glib-object.h" >> xgen-gmc
|
|
|
|
echo #include "gimpmarshal.h" >> xgen-gmc
|
2002-02-17 23:55:54 +08:00
|
|
|
$(GLIB)\gobject\glib-genmarshal --nostdinc --prefix=gimp_marshal gimpmarshal.list --body >> xgen-gmc
|
2001-09-23 03:47:27 +08:00
|
|
|
copy xgen-gmc gimpmarshal.c
|
2001-05-26 06:04:21 +08:00
|
|
|
|
|
|
|
$(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 : $(OBJECTS) $(PACKAGE).def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
|
|
|
|
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
|
|
|
|
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
2002-09-07 06:25:19 +08:00
|
|
|
gimpcore-$(PKG_VER).dll : $(DLLOBJS) gimpcore.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fegimpcore-$(PKG_VER).dll $(DLLOBJS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:gimpcore.def
|
|
|
|
|
2001-05-26 06:04:21 +08:00
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|
2001-09-23 03:47:27 +08:00
|
|
|
|
|
|
|
clean ::
|
|
|
|
del gimpmarshal.c
|
|
|
|
del gimpmarshal.h
|