summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am.plugingui
blob: 0e48f298a9a30ed06f83975359b62eaa81de67be (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
# -*- Makefile -*-

PLUGIN_GUI_SOURCES = \
	$(top_srcdir)/hugin/hugin.c \
	$(top_srcdir)/plugingui/dgwindow.cc \
	$(top_srcdir)/plugingui/plugingui.cc \
	$(top_srcdir)/plugingui/label.cc \
	$(top_srcdir)/plugingui/eventhandler.cc \
	$(top_srcdir)/plugingui/font.cc \
	$(top_srcdir)/plugingui/window.cc \
	$(top_srcdir)/plugingui/widget.cc \
	$(top_srcdir)/plugingui/colour.cc \
	$(top_srcdir)/plugingui/painter.cc \
	$(top_srcdir)/plugingui/button.cc \
	$(top_srcdir)/plugingui/pixelbuffer.cc \
	$(top_srcdir)/plugingui/lineedit.cc \
	$(top_srcdir)/plugingui/led.cc \
	$(top_srcdir)/plugingui/checkbox.cc \
	$(top_srcdir)/plugingui/slider.cc \
	$(top_srcdir)/plugingui/scrollbar.cc \
	$(top_srcdir)/plugingui/stackedwidget.cc \
	$(top_srcdir)/plugingui/textedit.cc \
	$(top_srcdir)/plugingui/texture.cc \
	$(top_srcdir)/plugingui/texturedbox.cc \
	$(top_srcdir)/plugingui/layout.cc \
	$(top_srcdir)/plugingui/listbox.cc \
	$(top_srcdir)/plugingui/listboxthin.cc \
	$(top_srcdir)/plugingui/listboxbasic.cc \
	$(top_srcdir)/plugingui/knob.cc \
	$(top_srcdir)/plugingui/filebrowser.cc \
	$(top_srcdir)/plugingui/directory.cc \
	$(top_srcdir)/plugingui/pluginconfig.cc \
	$(top_srcdir)/plugingui/imagecache.cc \
	$(top_srcdir)/plugingui/image.cc \
	$(top_srcdir)/plugingui/combobox.cc \
	$(top_srcdir)/plugingui/progressbar.cc \
	$(top_srcdir)/plugingui/verticalline.cc \
	$(top_srcdir)/plugingui/resource.cc \
	$(top_srcdir)/plugingui/resource_data.cc \
	$(top_srcdir)/plugingui/lodepng/lodepng.cpp

$(top_srcdir)/plugingui/resource_data.cc : $(top_srcdir)/plugingui/rcgen
	(cd $(top_srcdir)/plugingui/resources; ../rcgen * > ../resource_data.cc)

PLUGIN_GUI_LIBS = $(GUI_LIBS) $(PTHREAD_LIBS)

PLUGIN_GUI_CPPFLAGS = \
	$(GUI_CPPFLAGS) -I$(top_srcdir)/hugin \
	-I$(top_srcdir)/plugingui \
	-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

if ENABLE_X11
PLUGIN_GUI_SOURCES += $(top_srcdir)/plugingui/nativewindow_x11.cc
endif

if ENABLE_WIN32
PLUGIN_GUI_SOURCES += $(top_srcdir)/plugingui/nativewindow_win32.cc
endif

if ENABLE_PUGL
PLUGIN_GUI_SOURCES += \
	$(top_srcdir)/plugingui/nativewindow_pugl.cc \
	$(top_srcdir)/pugl/pugl/pugl_x11.c

PLUGIN_GUI_CPPFLAGS += -I$(top_srcdir)/pugl/pugl
endif