summaryrefslogtreecommitdiff
path: root/dggui/Makefile.am
blob: e55fe124d665fbc4b55af1d09db485285d2aac78 (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
noinst_PROGRAMS = rcgen
noinst_LTLIBRARIES = libdggui.la

libdggui_la_CPPFLAGS = \
	$(DEBUG_FLAGS) \
	-I$(top_srcdir) \
	$(GUI_CPPFLAGS) \
	-I$(top_srcdir)/hugin \
	-I$(top_srcdir)/src \
	-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 =

libdggui_la_LIBTOOLFLAGS=--tag=CC

libdggui_la_LIBADD = \
	$(GUI_LIBS) $(PTHREAD_LIBS)

# If you add a file here, remember to add it to plugin/Makefile.mingw32.in
GUI_SRC = \
	button.cc \
	button_base.cc \
	checkbox.cc \
	colour.cc \
	combobox.cc \
	dialog.cc \
	eventhandler.cc \
	font.cc \
	frame.cc \
	helpbutton.cc \
	image.cc \
	imagecache.cc \
	knob.cc \
	label.cc \
	layout.cc \
	led.cc \
	lineedit.cc \
	listbox.cc \
	listboxbasic.cc \
	listboxthin.cc \
	painter.cc \
	pixelbuffer.cc \
	powerbutton.cc \
	progressbar.cc \
	rc_data.cc \
	resource.cc \
	scrollbar.cc \
	slider.cc \
	stackedwidget.cc \
	tabbutton.cc \
	tabwidget.cc \
	textedit.cc \
	texture.cc \
	texturedbox.cc \
	toggle.cc \
	tooltip.cc \
	uitranslation.cc \
	utf8.cc \
	verticalline.cc \
	widget.cc \
	window.cc

GUI_HDR = \
	button.h \
	button_base.h \
	canvas.h \
	checkbox.h \
	colour.h \
	combobox.h \
	dialog.h \
	drawable.h \
	eventhandler.h \
	font.h \
	frame.h \
	guievent.h \
	helpbutton.h \
	image.h \
	imagecache.h \
	knob.h \
	label.h \
	layout.h \
	led.h \
	lineedit.h \
	listbox.h \
	listboxbasic.h \
	listboxthin.h \
	nativewindow.h \
	nativewindow_cocoa.h \
	nativewindow_cocoa.mm \
	nativewindow_pugl.h \
	nativewindow_pugl.cc \
	nativewindow_win32.h \
	nativewindow_win32.cc \
	nativewindow_x11.h \
	nativewindow_x11.cc \
	painter.h \
	pixelbuffer.h \
	powerbutton.h \
	progressbar.h \
	resource.h \
	resource_data.h \
	scrollbar.h \
	slider.h \
	stackedwidget.h \
	tabbutton.h \
	tabwidget.h \
	textedit.h \
	texture.h \
	texturedbox.h \
	toggle.h \
	tooltip.h \
	uitranslation.h \
	utf8.h \
	verticalline.h \
	widget.h \
	window.h

libdggui_la_SOURCES = \
	$(GUI_SRC) \
	lodepng/lodepng.cpp

nodist_libdggui_la_SOURCES =

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.mm

libdggui_la_OBJCXXFLAGS = \
	-fblocks
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

rcgen_LDFLAGS = -static
rcgen_CXXFLAGS = -I$(top_srcdir)/getoptpp
rcgen_SOURCES = \
	rcgentool.cc

EXTRA_DIST = \
	$(RES) \
	$(GUI_HDR)