makefile.msc 3.16 KB
Newer Older
1 2 3 4 5
# autogenerated from automake.am with automake.py
TOP = ..\..\..
PRJ_TOP = ..\..
PACKAGE = appgui
PKG_VER = 1.3
6
!INCLUDE $(TOP)\glib\build\win32\make.msc
7 8 9 10 11

top_srcdir = $(PRJ_TOP)
top_builddir = $(PRJ_TOP)
includedir = $(PRJ_TOP)
LT_RELEASE = $(PKG_VER)
Hans Breuer's avatar
updated  
Hans Breuer committed
12 13

PKG_LINK = \
Hans Breuer's avatar
Hans Breuer committed
14
	$(GLIB_LIBS) $(GTK2_LIBS) $(INTL_LIBS) \
Hans Breuer's avatar
updated  
Hans Breuer committed
15 16
	$(top_builddir)/libgimpbase/gimpbase-$(LT_RELEASE).lib \
	$(top_builddir)/libgimpcolor/gimpcolor-$(LT_RELEASE).lib \
Hans Breuer's avatar
updated  
Hans Breuer committed
17 18 19
	$(top_builddir)/libgimpwidgets/gimpwidgets-$(LT_RELEASE).lib \
	..\base\appbase-$(PKG_VER).lib \
	..\core\appcore-$(PKG_VER).lib \
Hans Breuer's avatar
updated  
Hans Breuer committed
20
	..\file\appfile-$(PKG_VER).lib \
21
#	..\pdb\apppdb-$(PKG_VER).lib \
Hans Breuer's avatar
updated  
Hans Breuer committed
22
	..\vectors\appvectors-$(PKG_VER).lib \
Hans Breuer's avatar
Hans Breuer committed
23
	..\paint-funcs\apppaint-funcs-$(PKG_VER).lib \
Hans Breuer's avatar
updated  
Hans Breuer committed
24
	..\display\appdisplay-$(PKG_VER).lib \
Hans Breuer's avatar
updated  
Hans Breuer committed
25 26
	..\widgets\appwidgets-$(PKG_VER).lib \

27 28
OBJECTS = \
	about-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
29
	brushes-commands.obj \
30
	brush-select.obj \
31
	buffers-commands.obj \
32
	channels-commands.obj \
Hans Breuer's avatar
Hans Breuer committed
33
	colormap-editor-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
34
	color-history.obj \
35 36
	color-notebook.obj \
	convert-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
37
	data-commands.obj \
38
	device-status-dialog.obj \
39 40 41
	dialogs.obj \
	dialogs-commands.obj \
	dialogs-constructors.obj \
42
	documents-commands.obj \
Hans Breuer's avatar
Hans Breuer committed
43
	drawable-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
44
	edit-commands.obj \
Hans Breuer's avatar
Hans Breuer committed
45
	error-console-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
46
	file-commands.obj \
47 48 49 50
	file-dialog-utils.obj \
	file-new-dialog.obj \
	file-open-dialog.obj \
	file-save-dialog.obj \
51
	gradient-editor-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
52
	gradients-commands.obj \
53
	gradient-select.obj \
54
	gui.obj \
Hans Breuer's avatar
Hans Breuer committed
55
	help-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
56
	image-commands.obj \
57
	images-commands.obj \
58 59 60 61
	info-dialog.obj \
	info-window.obj \
	layers-commands.obj \
	menus.obj \
62
	module-browser.obj \
63
	offset-dialog.obj \
Hans Breuer's avatar
Hans Breuer committed
64
	palette-editor-commands.obj \
65
	palette-import-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
66
	palettes-commands.obj \
67
	palette-select.obj \
68
	paths-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
69
	patterns-commands.obj \
70
	pattern-select.obj \
Hans Breuer's avatar
Hans Breuer committed
71 72
	plug-in-commands.obj \
	plug-in-menus.obj \
73
	preferences-dialog.obj \
74
	qmask-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
75
	resize-dialog.obj \
76
	resolution-calibrate-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
77
	select-commands.obj \
78 79 80 81
	session.obj \
	splash.obj \
	test-commands.obj \
	tips-dialog.obj \
Hans Breuer's avatar
Hans Breuer committed
82
	tips-parser.obj \
83
	tool-options-dialog.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
84
	tools-commands.obj \
85
	user-install-dialog.obj \
Hans Breuer's avatar
Hans Breuer committed
86
	vectors-commands.obj \
Hans Breuer's avatar
updated  
Hans Breuer committed
87
	view-commands.obj \
88

Hans Breuer's avatar
Hans Breuer committed
89

90
INCLUDES = \
Hans Breuer's avatar
Hans Breuer committed
91
	-FImsvc_recommended_pragmas.h \
92 93
	-I$(top_srcdir) \
	-I$(top_srcdir)/app \
Hans Breuer's avatar
Hans Breuer committed
94
	$(GTK2_CFLAGS) \
95 96
	-I$(includedir)

Hans Breuer's avatar
Hans Breuer committed
97 98 99
DEFINES = \
	-DG_LOG_DOMAIN=\"Gimp-GUI\"

100 101
all : \
	$(PRJ_TOP)\config.h \
Hans Breuer's avatar
updated  
Hans Breuer committed
102
	$(PACKAGE).lib \
103
!IFDEF DLLGIMP
Hans Breuer's avatar
updated  
Hans Breuer committed
104
	$(PACKAGE)-$(PKG_VER).dll
105
!ENDIF
106 107 108 109 110 111 112 113 114

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

Hans Breuer's avatar
Hans Breuer committed
115 116 117
$(PACKAGE)-$(PKG_VER).exp : $(OBJECTS) $(PACKAGE).def
	lib /def:$(PACKAGE).DEF /out:$(PACKAGE)-$(PKG_VER).exp $(OBJECTS)

118 119 120 121 122 123 124 125 126
$(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) $<