summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am
blob: 84b351f73001c1972f414b91267eb3a982395b0c (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
noinst_PROGRAMS = plugingui rcgen
noinst_LTLIBRARIES = libdggui.la

# If you add a file here, remember to add it to plugin/Makefile.mingw32.in
RES = \
	resources/bg.png \
	resources/bypass_button.png \
	resources/font.png \
	resources/fontemboss.png \
	resources/knob.png \
	resources/logo.png \
	resources/png_error \
	resources/progress.png \
	resources/pushbutton.png \
	resources/sidebar.png \
	resources/slider.png \
	resources/stddev_horizontal.png \
	resources/stddev_horizontal_disabled.png \
	resources/stddev_vertical.png \
	resources/stddev_vertical_disabled.png \
	resources/switch_back_off.png \
	resources/switch_back_on.png \
	resources/switch_front.png \
	resources/tab.png \
	resources/thinlistbox.png \
	resources/topbar.png \
	resources/toplogo.png \
	resources/vertline.png \
	resources/widget.png \
	../ABOUT \
	../AUTHORS \
	../BUGS \
	../COPYING

resource_data.cc : rcgen $(RES)
	./rcgen $(RES) > resource_data.cc

libdggui_la_CPPFLAGS = \
	$(GUI_CPPFLAGS) \
	-I$(top_srcdir)/hugin \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/include \
	-DWITH_HUG_MUTEX $(PTHREAD_CFLAGS) \
	-DLODEPNG_NO_COMPILE_ENCODER \
	-DLODEPNG_NO_COMPILE_DISK \
	-DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS \
	-DLODEPNG_NO_COMPILE_ERROR_TEXT \
	-DLODEPNG_NO_COMPILE_CPP

libdggui_la_CFLAGS =
if ENABLE_PUGL_COCOA
libdggui_la_LIBTOOLFLAGS=--tag=CC
endif
libdggui_la_LIBADD = \
	$(GUI_LIBS) $(PTHREAD_LIBS)

# If you add a file here, remember to add it to plugin/Makefile.mingw32.in
nodist_libdggui_la_SOURCES = \
	abouttab.cc \
	bleedcontrolframecontent.cc \
	button.cc \
	button_base.cc \
	checkbox.cc \
	colour.cc \
	combobox.cc \
	dialog.cc \
	directory.cc \
	diskstreamingframecontent.cc \
	drumkitframecontent.cc \
	eventhandler.cc \
	filebrowser.cc \
	font.cc \
	frame.cc \
	humanizerframecontent.cc \
	humaniservisualiser.cc \
	image.cc \
	imagecache.cc \
	knob.cc \
	label.cc \
	layout.cc \
	led.cc \
	lineedit.cc \
	listbox.cc \
	listboxbasic.cc \
	listboxthin.cc \
	maintab.cc \
	mainwindow.cc \
	painter.cc \
	pixelbuffer.cc \
	pluginconfig.cc \
	powerbutton.cc \
	progressbar.cc \
	resamplingframecontent.cc \
	resource.cc \
	resource_data.cc \
	scrollbar.cc \
	slider.cc \
	stackedwidget.cc \
	statusframecontent.cc \
	tabbutton.cc \
	tabwidget.cc \
	textedit.cc \
	texture.cc \
	texturedbox.cc \
	timingframecontent.cc \
	toggle.cc \
	utf8.cc \
	verticalline.cc \
	visualizerframecontent.cc \
	widget.cc \
	window.cc \
	lodepng/lodepng.cpp

if ENABLE_X11
nodist_libdggui_la_SOURCES += \
	nativewindow_x11.cc
endif

if ENABLE_WIN32
nodist_libdggui_la_SOURCES += \
	nativewindow_win32.cc
endif

#if ENABLE_COCOA
#nodist_libdggui_la_SOURCES += \
#	nativewindow_cocoa.m \
#	nativewindow_cocoa.cc
#endif

if ENABLE_PUGL_X11
nodist_libdggui_la_SOURCES += \
	nativewindow_pugl.cc \
	$(top_srcdir)/pugl/pugl/pugl_x11.c

libdggui_la_CPPFLAGS += \
	-I$(top_srcdir)/pugl

libdggui_la_CFLAGS += \
	-std=c99
endif

if ENABLE_PUGL_WIN32
nodist_libdggui_la_SOURCES += \
	nativewindow_pugl.cc \
	$(top_srcdir)/pugl/pugl/pugl_win.cpp

libdggui_la_CPPFLAGS += \
	-I$(top_srcdir)/pugl
endif

if ENABLE_PUGL_COCOA
nodist_libdggui_la_SOURCES += \
	nativewindow_pugl.cc \
	$(top_srcdir)/pugl/pugl/pugl_osx.m

libdggui_la_CPPFLAGS += \
	-I$(top_srcdir)/pugl
endif

plugingui_LDADD = libdggui.la $(top_srcdir)/src/libdg.la

plugingui_CXXFLAGS = \
	$(GUI_CPPFLAGS) \
	$(SNDFILE_CXXFLAGS) \
	$(PTHREAD_CFLAGS) \
	$(EXPAT_CFLAGS) \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/hugin

plugingui_CFLAGS = $(plugingui_CXXFLAGS)

plugingui_SOURCES = \
	testmain.cc \
	$(top_srcdir)/hugin/hugin.c

rcgen_SOURCES = rcgen.cc

EXTRA_DIST = \
	$(nodist_libdggui_la_SOURCES) \
	$(RES) \
	abouttab.h \
	button.h \
	button_base.h \
	canvas.h \
	checkbox.h \
	colour.h \
	combobox.h \
	dialog.h \
	directory.h \
	diskstreamingframecontent.h \
	drawable.h \
	drumkitframecontent.h \
	eventhandler.h \
	filebrowser.h \
	font.h \
	frame.h \
	guievent.h \
	humanizerframecontent.h \
	humaniservisualiser.h \
	image.h \
	imagecache.h \
	knob.h \
	label.h \
	layout.h \
	led.h \
	lineedit.h \
	listbox.h \
	listboxbasic.h \
	listboxthin.h \
	maintab.h \
	mainwindow.h \
	nativewindow.h \
	nativewindow_cocoa.h \
	nativewindow_pugl.h \
	nativewindow_win32.h \
	nativewindow_x11.h \
	painter.h \
	pixelbuffer.h \
	pluginconfig.h \
	powerbutton.h \
	progressbar.h \
	resamplingframecontent.h \
	resource.h \
	resource_data.h \
	scrollbar.h \
	slider.h \
	stackedwidget.h \
	statusframecontent.h \
	tabbutton.h \
	tabwidget.h \
	textedit.h \
	texture.h \
	texturedbox.h \
	timingframecontent.h \
	toggle.h \
	utf8.h \
	verticalline.h \
	visualizerframecontent.h \
	widget.h \
	window.h \
	lodepng/lodepng.h