File: makefile.msc

package info (click to toggle)
gimp 2.2.13-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 93,212 kB
  • ctags: 47,113
  • sloc: ansic: 524,858; xml: 36,798; lisp: 9,870; sh: 9,409; makefile: 7,923; python: 2,674; perl: 2,589; yacc: 520; lex: 334
file content (91 lines) | stat: -rw-r--r-- 2,445 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
## Makefile for building the GIMP DLLs and LIBs with Microsoft C.
## Use: nmake -f makefile.msc

TOP = ..\..
PRJ_TOP = ..
!include $(TOP)\glib\build\win32\make.msc

!INCLUDE $(PRJ_TOP)\gimpdefs.msc
PKG_VER = $(GIMP_VER)

################################################################

# Nothing much configurable below

INCLUDES = -I.. 
# DEFINES = -DG_LOG_DOMAIN=\"LibGimpWidgets\"
DEPCFLAGS = \
	-FImsvc_recommended_pragmas.h \
	$(GLIB_CFLAGS) $(GTK2_CFLAGS) $(INTL_CFLAGS)
DEPLIBS = $(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS)

all : \
	..\config.h \
	gimpwidgetsmarshal.c \
	gimpwidgets-$(GIMP_VER).dll

..\config.h : ..\config.h.win32
	copy ..\config.h.win32 ..\config.h

install : all
	$(INSTALL) gimpmath-$(GIMP_VER).dll $(BIN)

OBJECTS = \
	gimpbutton.obj \
	gimpcellrenderercolor.obj \
	gimpcellrenderertoggle.obj \
	gimpchainbutton.obj \
	gimpcolorarea.obj \
	gimpcolorbutton.obj \
	gimpcolordisplay.obj \
	gimpcolorhexentry.obj \
	gimpcolornotebook.obj \
	gimpcolorscale.obj \
	gimpcolorscales.obj \
	gimpcolorselect.obj \
	gimpcolorselection.obj \
	gimpcolordisplaystack.obj \
	gimpcolorselector.obj \
	gimpcontroller.obj \
	gimpdialog.obj \
	gimpfileentry.obj \
	gimpframe.obj \
	gimphelpui.obj \
	gimpintcombobox.obj \
	gimpintstore.obj \
	gimpmemsizeentry.obj \
	gimpoffsetarea.obj \
	gimpoldwidgets.obj \
	gimppatheditor.obj \
	gimppickbutton.obj \
	gimppixmap.obj \
	gimppreviewarea.obj \
	gimppreview.obj \
	gimpscrolledpreview.obj \
	gimpquerybox.obj \
	gimpsizeentry.obj \
	gimpstock.obj \
	gimpunitmenu.obj \
	gimpwidgets.obj \
	gimpwidgets-private.obj \
	gimpwidgetsmarshal.obj \


gimpwidgetsmarshal.h : gimpwidgetsmarshal.list
	$(GLIB)\gobject\glib-genmarshal --prefix=_gimp_widgets_marshal gimpwidgetsmarshal.list --header >gimpwidgetsmarshal.h

gimpwidgetsmarshal.c : gimpwidgetsmarshal.list gimpwidgetsmarshal.h
	$(GLIB)\gobject\glib-genmarshal --prefix=_gimp_widgets_marshal gimpwidgetsmarshal.list --body >gimpwidgetsmarshal.c

# questionable dependency between libgimpui/libgimpwidgets
gimpunit.obj : ..\app\gimpunit.c
	$(CC) $(CFLAGS) -GD -c ..\app\gimpunit.c

gimpwidgets-$(GIMP_VER).dll : $(OBJECTS) gimpwidgets.def
	$(CC) $(CFLAGS) -LD -Fegimpwidgets-$(GIMP_VER).dll $(OBJECTS) \
	..\libgimpcolor\gimpcolor-$(GIMP_VER).lib \
	..\libgimpbase\gimpbase-$(GIMP_VER).lib \
	$(DEPLIBS) $(LDFLAGS) user32.lib /def:gimpwidgets.def

#	..\app\gimp.lib \
#	..\libgimp\gimpui-$(GIMP_VER).lib ..\libgimp\gimp-$(GIMP_VER).lib \