makefile.msc 3.58 KB
Newer Older
Hans Breuer's avatar
Hans Breuer committed
1 2 3 4 5
# autogenerated from automake.am with automake.py
TOP = ..\..\..
PRJ_TOP = ..\..
PACKAGE = appwidgets
PKG_VER = 1.3
6
!INCLUDE $(TOP)\glib\build\win32\make.msc
Hans Breuer's avatar
Hans Breuer committed
7 8 9 10 11 12 13 14

top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)

PKG_LINK = \
	$(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) \
Hans Breuer's avatar
Hans Breuer committed
15
	$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
Hans Breuer's avatar
Hans Breuer committed
16 17 18 19
	$(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
	$(top_builddir)/libgimpwidgets/gimpwidgets-$(LT_RELEASE).lib \
	..\base\appbase-$(PKG_VER).lib \
	..\core\appcore-$(PKG_VER).lib \
Hans Breuer's avatar
Hans Breuer committed
20 21
	..\config\appconfig-$(PKG_VER).lib \
	..\file\appfile-$(PKG_VER).lib \
22
#	..\pdb\apppdb-$(PKG_VER).lib \
Hans Breuer's avatar
Hans Breuer committed
23
#	..\gui\appgui-$(PKG_VER).lib
Hans Breuer's avatar
Hans Breuer committed
24 25

OBJECTS = \
Hans Breuer's avatar
Hans Breuer committed
26
	gimpbrusheditor.obj \
Hans Breuer's avatar
Hans Breuer committed
27 28
	gimpbrushfactoryview.obj \
	gimpbufferview.obj \
Hans Breuer's avatar
Hans Breuer committed
29
	gimpcellrenderertoggle.obj \
30
	gimpcellrendererviewable.obj \
Hans Breuer's avatar
Hans Breuer committed
31
	gimpchanneltreeview.obj \
Hans Breuer's avatar
Hans Breuer committed
32
	gimpcoloreditor.obj \
Hans Breuer's avatar
Hans Breuer committed
33
	gimpcolormapeditor.obj \
Hans Breuer's avatar
Hans Breuer committed
34
	gimpcolorpanel.obj \
Hans Breuer's avatar
Hans Breuer committed
35
	gimpcomponenteditor.obj \
Hans Breuer's avatar
Hans Breuer committed
36 37 38 39
	gimpcontainereditor.obj \
	gimpcontainergridview.obj \
	gimpcontainermenu.obj \
	gimpcontainermenuimpl.obj \
Hans Breuer's avatar
Hans Breuer committed
40
	gimpcontainerpopup.obj \
41
	gimpcontainertreeview.obj \
Hans Breuer's avatar
Hans Breuer committed
42
	gimpcontainertreeview-dnd.obj \
Hans Breuer's avatar
Hans Breuer committed
43 44 45
	gimpcontainerview.obj \
	gimpcontainerview-utils.obj \
	gimpcursor.obj \
Hans Breuer's avatar
Hans Breuer committed
46
	gimpdataeditor.obj \
Hans Breuer's avatar
Hans Breuer committed
47
	gimpdatafactoryview.obj \
48 49
	gimpdeviceinfo.obj \
	gimpdevices.obj \
50
	gimpdevicestatus.obj \
51
	gimpdialogfactory.obj \
Hans Breuer's avatar
Hans Breuer committed
52 53 54 55
	gimpdnd.obj \
	gimpdock.obj \
	gimpdockable.obj \
	gimpdockbook.obj \
56
	gimpdocumentview.obj \
Hans Breuer's avatar
Hans Breuer committed
57
	gimpdrawabletreeview.obj \
Hans Breuer's avatar
Hans Breuer committed
58 59
	gimpeditor.obj \
	gimpenummenu.obj \
60
	gimperrorconsole.obj \
Hans Breuer's avatar
Hans Breuer committed
61 62
	gimpfontselection.obj \
	gimpfontselection-dialog.obj \
Hans Breuer's avatar
Hans Breuer committed
63
	gimpgradienteditor.obj \
64
	gimphelp.obj \
Hans Breuer's avatar
Hans Breuer committed
65
	gimphistogrambox.obj \
Hans Breuer's avatar
Hans Breuer committed
66 67
	gimphistogramview.obj \
	gimpimagedock.obj \
68
	gimpimageeditor.obj \
69
	gimpimageview.obj \
70
	gimpitemfactory.obj \
Hans Breuer's avatar
Hans Breuer committed
71 72
	gimpitemtreeview.obj \
	gimplayertreeview.obj \
73
	gimpmenufactory.obj \
Hans Breuer's avatar
Hans Breuer committed
74 75
	gimpmenuitem.obj \
	gimpnavigationpreview.obj \
Hans Breuer's avatar
Hans Breuer committed
76
	gimppaletteeditor.obj \
Hans Breuer's avatar
Hans Breuer committed
77
	gimppreview.obj \
78 79 80 81
	gimppreview-popup.obj \
	gimppreviewrenderer.obj \
	gimppreviewrendererbrush.obj \
	gimppreviewrendererdrawable.obj \
Hans Breuer's avatar
Hans Breuer committed
82
	gimppreviewrenderergradient.obj \
83
	gimppreviewrendererimage.obj \
Hans Breuer's avatar
Hans Breuer committed
84
	gimppreviewrenderertextlayer.obj \
85
	gimppreviewrenderer-utils.obj \
Hans Breuer's avatar
Hans Breuer committed
86
	gimppropwidgets.obj \
Hans Breuer's avatar
Hans Breuer committed
87
	gimpselectioneditor.obj \
Hans Breuer's avatar
Hans Breuer committed
88 89
	gimptemplateeditor.obj \
	gimptemplateview.obj \
90
	gimptexteditor.obj \
Hans Breuer's avatar
Hans Breuer committed
91
	gimptoolbox.obj \
92
	gimptoolbox-dnd.obj \
Hans Breuer's avatar
Hans Breuer committed
93 94
	gimptoolbox-color-area.obj \
	gimptoolbox-indicator-area.obj \
95
	gimpundoeditor.obj \
Hans Breuer's avatar
Hans Breuer committed
96 97
	gimpvectorstreeview.obj \
	gimpviewablebutton.obj \
Hans Breuer's avatar
Hans Breuer committed
98
	gimpviewabledialog.obj \
Hans Breuer's avatar
Hans Breuer committed
99 100 101 102
	gimpwidgets-constructors.obj \
	gimpwidgets-utils.obj \
	gtkhwrapbox.obj \
	gtkvwrapbox.obj \
103
	gtkwrapbox.obj \
Hans Breuer's avatar
Hans Breuer committed
104
	widgets-enums.obj \
Hans Breuer's avatar
Hans Breuer committed
105 106

INCLUDES = \
107
	-FImsvc_recommended_pragmas.h \
Hans Breuer's avatar
Hans Breuer committed
108 109
	-I$(top_srcdir) \
	-I$(top_srcdir)/app \
110
	$(GTK2_CFLAGS) \
Hans Breuer's avatar
Hans Breuer committed
111 112
	-I$(includedir)

113 114
#$(FREETYPE2_CFLAGS) 

115
DEFINES = \
116
	-DG_LOG_DOMAIN=\"Gimp-Widgets\" -DUSE_PANGO_WIN32
117

Hans Breuer's avatar
Hans Breuer committed
118 119 120
all : \
	$(PRJ_TOP)\config.h \
	$(PACKAGE).lib \
121
!IFDEF DLLGIMP
Hans Breuer's avatar
Hans Breuer committed
122
	$(PACKAGE)-$(PKG_VER).dll
123
!ENDIF
Hans Breuer's avatar
Hans Breuer committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141

$(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

.c.obj :
	$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<