~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/pygimp/makefile.msc

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
MODULE = gimp
 
1
!IFNDEF MODULE
 
2
 
 
3
MODULES = gimp _gimpenums gimpcolor _gimpui
 
4
 
 
5
all : sub-all
 
6
 
 
7
sub-all:
 
8
        for %d in ($(MODULES)) do @nmake -nologo -f makefile.msc sub-one THIS=%d
 
9
 
 
10
sub-one:
 
11
        nmake -nologo -f makefile.msc all MODULE=$(THIS) OBJ_$(THIS)=1
 
12
 
 
13
!ELSE
 
14
 
 
15
MODULE=$(MODULE)
2
16
#OPTIMIZE = -Od -Op
3
17
#DEBUG=1
4
18
 
 
19
!IFDEF OBJ_gimp
5
20
OBJECTS = \
6
21
  gimpmodule.obj \
7
22
  pygimp-image.obj \
9
24
  pygimp-tile.obj \
10
25
  pygimp-display.obj \
11
26
  pygimp-parasite.obj \
12
 
  pygimp-pdb.obj
 
27
  pygimp-pdb.obj \
 
28
  pygimp-vectors.obj
 
29
!ENDIF
 
30
 
 
31
!IFDEF OBJ__gimpenums
 
32
OBJECTS = \
 
33
  gimpenumsmodule.obj
 
34
!ENDIF
 
35
 
 
36
!IFDEF OBJ_gimpcolor
 
37
OBJECTS = \
 
38
        gimpcolormodule.obj \
 
39
        pygimp-colors.obj
 
40
!ENDIF
 
41
 
 
42
!IFDEF OBJ__gimpui
 
43
OBJECTS = \
 
44
  gimpuimodule.obj \
 
45
  gimpui.obj
 
46
!ENDIF
 
47
 
 
48
.SUFFIXES: .defs .c .exe
 
49
 
 
50
gimpui.c: gimpui.defs gimpui.override gimpcolor-types.defs gimpenums-types.defs makefile.msc
 
51
 
 
52
.defs.c :
 
53
        $(PYGTK_CODEGEN) \
 
54
           $(PYGTK_CODEGEN_DEFINES) \
 
55
            --override $*.override \
 
56
            --register $(PYGTK_DEFSDIR)/gdk-types.defs \
 
57
            --register $(PYGTK_DEFSDIR)/gtk-types.defs \
 
58
            --register gimpcolor-types.defs \
 
59
            --register gimpenums-types.defs \
 
60
            --prefix $* $*.defs > gen-$*.c
 
61
        echo #pragma warning(disable:4049) > $*.c
 
62
        type gen-$*.c >> $*.c
 
63
        del gen-$*.c
13
64
 
14
65
PYTHON = ..\..\..\..\python23
15
66
!IFNDEF DEBUG
18
69
EXTRALIBS = $(PYTHON)\libs\python23_d.lib user32.lib
19
70
!ENDIF
20
71
 
21
 
EXTRACFLAGS = -I$(PYTHON)\include
 
72
EXTRACFLAGS = -I$(PYTHON)\include $(PYGOBJECT_CFLAGS) $(PYGTK_CFLAGS)
22
73
GIMPTOP=..\.. 
23
74
 
24
75
# Lib Extension is
25
76
MODULE_EXT = pyd
26
77
 
27
 
!include ..\makefile.msc
 
 
b'\\ No newline at end of file'
 
78
!include ..\makefile.msc
 
79
 
 
80
!ENDIF
 
81
 
 
82
clean::
 
83
        del *.obj *.pyd *.lib *.ilk *.pdb *.exp
 
84
        del gimpui.c
 
85
 
 
86
        
 
87
        
 
 
b'\\ No newline at end of file'