summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.mingw32
blob: afc43b8752d277add3211f94750f03b33ee9e345 (plain)
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
DG_SRC = \
	../src/configfile.cc \
	../src/thread.cc \
	../src/semaphore.cc \
	../src/mutex.cc

DG_CFLAGS = -I.. -I../src -DSSE -msse -msse2

GUI_SRC = \
	testmain.cc \
	dgwindow.cc \
	nativewindow_win32.cc \
	plugingui.cc \
	pluginconfig.cc \
	label.cc \
	eventhandler.cc \
	font.cc \
	window.cc \
	widget.cc \
	colour.cc \
	painter.cc \
	button.cc \
	pixelbuffer.cc \
	lineedit.cc \
	led.cc \
	layout.cc \
	mainwindow.cc \
	checkbox.cc \
	slider.cc \
	scrollbar.cc \
	stackedwidget.cc \
	textedit.cc \
	texture.cc \
	texturedbox.cc \
	tabbutton.cc \
	tabwidget.cc \
	toggle.cc \
	listbox.cc \
	listboxthin.cc \
	listboxbasic.cc \
	powerbutton.cc \
	drumkitframecontent.cc \
	statusframecontent.cc \
	humanizerframecontent.cc \
	diskstreamingframecontent.cc \
	bleedcontrolframecontent.cc \
	maintab.cc \
	frame.cc \
	knob.cc \
	filebrowser.cc \
	directory.cc \
	image.cc \
	imagecache.cc \
	combobox.cc \
	progressbar.cc \
	verticalline.cc \
	resource.cc \
	resource_data.cc \
	lodepng/lodepng.cpp

GUI_CFLAGS=-DUSE_THREAD -DUI_WIN32 -DSTANDALONE
GUI_LIBS=-lgdi32 -lsetupapi -lws2_32

DBG_SRC = \
	../hugin/hugin.c

DBG_CFLAGS=-I../hugin -DWITH_HUG_MUTEX
LODEPNG_CFLAGS = \
	-DLODEPNG_NO_COMPILE_ENCODER \
	-DLODEPNG_NO_COMPILE_DISK \
	-DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS \
	-DLODEPNG_NO_COMPILE_ERROR_TEXT \
	-DLODEPNG_NO_COMPILE_CPP
all:
	gcc $(DBG_CFLAGS) ../hugin/hugin.c -c
	g++ -std=c++11 -static -static-libgcc -O0 -g -Wall $(LODEPNG_CFLAGS) $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) hugin.o $(DG_SRC) ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) -o plugingui.exe

clean:
	del -f drumgizmo_vst.dll libdrumgizmo_vst.a