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

« back to all changes in this revision

Viewing changes to app/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:
23
23
 
24
24
sub-one:
25
25
        cd $(THIS)
26
 
        nmake -nologo -f makefile.msc
 
26
        nmake -nologo -f makefile.msc $(TARGET)
27
27
        cd ..
28
28
 
 
29
clean :: sub-clean
 
30
 
 
31
sub-clean:
 
32
        for %d in ($(SUBDIRS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
 
33
 
29
34
LDFLAGS = /link /subsystem:console /machine:ix86 $(LINKDEBUG)
30
35
 
31
36
 
49
54
        xcf/xcf.lib \
50
55
 
51
56
PKG_LINK = \
52
 
        actions/appactions.lib \
53
 
        menus/appmenus.lib \
54
 
        tools/apptools.lib \
55
 
        gui/appgui.lib \
56
 
        dialogs/appdialogs.lib \
57
 
        widgets/appwidgets.lib \
58
 
        display/appdisplay.lib \
59
57
        $(PRJ_TOP)/regexrepl/regexrepl.lib \
60
58
        \
61
59
        $(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
62
60
        $(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
 
61
        $(top_builddir)/libgimpconfig/gimpconfig-$(LT_RELEASE).lib \
63
62
        $(top_builddir)/libgimpmath/gimpmath-$(LT_RELEASE).lib \
64
63
        $(top_builddir)/libgimpthumb/gimpthumb-$(LT_RELEASE).lib \
65
64
        $(top_builddir)/libgimpmodule/gimpmodule-$(LT_RELEASE).lib \
98
97
        errors.obj \
99
98
        sanity.obj \
100
99
        units.obj \
 
100
        \
 
101
        actions/appactions.lib \
 
102
        menus/appmenus.lib \
 
103
        tools/apptools.lib \
 
104
        gui/appgui.lib \
 
105
        dialogs/appdialogs.lib \
 
106
        widgets/appwidgets.lib \
 
107
        display/appdisplay.lib \
101
108
 
102
 
app_procs_console.obj : app_procs.c
103
 
        $(CC) $(CFLAGS) -DGIMP_CONSOLE_COMPILATION -GD -c $(PKG_CFLAGS) -Foapp_procs_console.obj app_procs.c
 
109
app_console.obj : app.c
 
110
        $(CC) $(CFLAGS) -DGIMP_CONSOLE_COMPILATION -GD -c $(PKG_CFLAGS) -Foapp_console.obj app.c
104
111
 
105
112
EXTRA_DIST = \
106
113
        makefile.mingw \
141
148
$(PACKAGE)-$(PKG_VER).dll : $(PKG_LINK) $(OBJECTS) $(PACKAGE).def
142
149
        $(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
143
150
 
144
 
gimp-console.exe : $(OBJECTS) app_procs_console.obj $(PACKAGE).def $(PACKAGE).res $(PKG_LINK)
145
 
        $(CC) $(CFLAGS) -Fegimp-console.exe $(PACKAGE).res app_procs_console.obj $(OBJECTS) $(PKG_LINK) \
 
151
gimp-console.exe : $(OBJECTS) app_console.obj $(PACKAGE).res $(PKG_LINK)
 
152
        $(CC) $(CFLAGS) -Fegimp-console.exe $(PACKAGE).res app_console.obj $(OBJECTS) $(PKG_LINK) \
146
153
        gimp-core-$(PKG_VER).lib \
147
 
        user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
 
154
        user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS)
148
155
 
149
 
$(PACKAGE).exe : $(OBJECTS) app_procs.obj $(PACKAGE).def $(PACKAGE).res $(PKG_LINK)
150
 
        $(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res app_procs.obj $(OBJECTS) \
 
156
$(PACKAGE).exe : $(OBJECTS) app.obj $(PACKAGE).res $(PKG_LINK)
 
157
        $(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res app.obj $(OBJECTS) \
151
158
        gimp-core-$(PKG_VER).lib \
152
 
        $(PKG_LINK) user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
 
159
        $(PKG_LINK) user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS)
153
160
 
154
161
.c.obj :
155
162
        $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<