File: Makefile.am

package info (click to toggle)
faumachine 20180503-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 61,272 kB
  • sloc: ansic: 272,290; makefile: 6,199; asm: 4,251; sh: 3,022; perl: 886; xml: 563; pascal: 311; lex: 214; vhdl: 204
file content (216 lines) | stat: -rw-r--r-- 5,382 bytes parent folder | download
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
#
# Copyright (C) 2005-2009 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

CC = $(filter-out -Wshadow, $(filter-out -Wstrict-prototypes, $(filter-out -Wcast-qual, @CC@)))

FONT1PPM = ${srcdir}/pattern-matcher/ttf_input/Arial_11pt.ppm
FONT1TXT = ${srcdir}/pattern-matcher/ttf_input/Arial_11pt.txt

SUBDIRS = . pattern-matcher

BUILT_SOURCES = \
	font_8x8_0.c \
	font_8x8_128.c \
	font_8x8.c \
	font_8x14.c \
	font_8x16.c \
	glyphs_8x8.c \
	glyphs_8x14.c \
	glyphs_8x16.c \
	samples.c \
	ttf_samples.c

CLEANFILES = \
	$(BUILT_SOURCES) \
	simsetup_expect.c \
	font_build_stamp

AM_LFLAGS=-P$(basename $*)_ -olex.yy.c

noinst_LIBRARIES = libglue.a libpattern.a libsimsetup.a

png_DATA = images/aufzug_aussen.png \
	   images/aufzug_button_rauf_an.png \
	   images/aufzug_button_rauf_aus.png \
	   images/aufzug_button_runter_an.png \
	   images/aufzug_button_runter_aus.png \
	   images/aufzug_gelber_hintergrund.png \
	   images/aufzug_hintergrund.png \
	   images/aufzug_rauf_an.png \
	   images/aufzug_rauf_aus_klein.png \
	   images/aufzug_rauf_aus.png \
	   images/aufzug_runter_an.png \
	   images/aufzug_runter_aus_klein.png \
	   images/aufzug_runter_aus.png \
	   images/aufzug_schwarz.png \
	   images/aufzug_stockwerk_1_an.png \
	   images/aufzug_stockwerk_1_aus.png \
	   images/aufzug_stockwerk_2_an.png \
	   images/aufzug_stockwerk_2_aus.png \
	   images/aufzug_stockwerk_e_an.png \
	   images/aufzug_stockwerk_e_aus.png \
	   images/aufzug_tuer_links.png \
	   images/aufzug_tuer_rechts.png \
	   images/button_tuer_oeffnen.png \
	   images/button_tuer_schliessen.png \
	   images/button_black.png \
	   images/button_lamp_on.png \
	   images/button_lamp_off.png \
	   images/camera.png \
	   images/cardbus.png \
	   images/digital_horizontal_an.png \
	   images/digital_horizontal_aus.png \
	   images/digital_vertikal_an.png \
	   images/digital_vertikal_aus.png \
	   images/power_led_off.png \
	   images/power_led.png \
	   images/power_led_off_small.png \
	   images/power_led_small.png \
	   images/video.png \
	   images/window.png

keymap_DATA = keymaps/ar keymaps/de-ch keymaps/da keymaps/de \
	      keymaps/en-gb keymaps/en-us keymaps/es keymaps/et \
	      keymaps/fi keymaps/fo keymaps/fr keymaps/fr-be \
	      keymaps/fr-ca keymaps/fr-ch keymaps/hr keymaps/hu \
	      keymaps/is keymaps/it keymaps/ja keymaps/lt \
	      keymaps/lv keymaps/mk keymaps/nl-be keymaps/nl \
	      keymaps/pt-br keymaps/no keymaps/pl keymaps/pt \
	      keymaps/ru keymaps/sl keymaps/sv keymaps/th \
	      keymaps/tr

libglue_a_CFLAGS = -I. -I../sig -I../sim \
	$(GTK_CFLAGS) \
	$(PNG_CFLAGS) \
	$(LIBFAUHDLI_CFLAGS)

if HOST_X86_64
libglue_a_CFLAGS += -mcx16
endif

libglue_a_SOURCES = \
	fixme.c \
	env.c \
	softfloat.c \
	sound_sample.c \
	glue-gui.c \
	glue-audio.c \
	glue-audio_null.c \
	glue-audio_file.c \
	glue-aui-gen.c \
	glue-gui-recorder.c \
	glue-io.c \
	glue-proc.c \
        glue-log.c \
	glue-lru.c \
	glue-main.c \
	glue-rom.c \
	glue-scheduler.c \
	glue-trace.c \
	glue-png.c \
	glue-ppm.c \
	glue-setup-interactive.c \
	glue-shm.c \
	glue-storage.c \
	glue-suspend.c \
	conv_gen.c \
	conv_zero.c \
	conv_cd.c \
	conv_s19.c \
	inspector.c \
	gdb.c \
	list.c \
	tree.c \
	system_node_tree.c \
	umutil.c \
	random100.c \
	jit-comp.c \
	jit-cache.c
if GUI_GTK
libglue_a_SOURCES += \
	glue-gui-gtk.c \
	glue-gui-gtk-button.c \
	glue-gui-gtk-change.c \
	glue-gui-gtk-fi.c \
	glue-gui-gtk-keyboard.c \
	glue-gui-gtk-led.c \
	glue-gui-gtk-led3.c \
	glue-gui-gtk-media-gen-floppy-create.c \
	glue-gui-gtk-media-gen-cd-create.c \
	glue-gui-gtk-media-gen-dvd-create.c \
	glue-gui-gtk-monitor.c \
	glue-gui-gtk-potentiometer.c \
	glue-gui-gtk-sec-div-knob.c \
	glue-gui-gtk-control-knob.c \
	glue-gui-gtk-plus-minus-button.c \
	glue-gui-gtk-text-control.c \
	glue-gui-gtk-volt-div-knob.c \
	glue-gui-gtk-mouse.c \
	glue-gui-gtk-switch.c \
	glue-gui-gtk-console.c
endif

if AO_OSS
libglue_a_SOURCES += glue-audio_oss.c
endif
if AO_PULSE
libglue_a_SOURCES += glue-audio_pulse.c
endif
if AO_MACOSX
libglue_a_SOURCES += glue-audio_macosx.c
endif
if AO_ALSA1X
libglue_a_SOURCES += glue-audio_alsa1x.c
endif
if HAVE_FAUHDLI
libglue_a_SOURCES += glue-vhdl.c glue-setup.c
endif

libpattern_a_CFLAGS = -I. -I../sig -I../sim $(PNG_CFLAGS)
libpattern_a_SOURCES = \
	samples.c \
	ttf_samples.c \
	pattern-matcher/patternm.c \
	pattern-matcher/mouse_matcher.c

libsimsetup_a_CFLAGS = -I. -I../sig -I../sim \
	-Wno-undef \
	-Wno-redundant-decls \
	-Wno-missing-noreturn \
	-Wno-unused-function
libsimsetup_a_SOURCES = \
	simsetup.c \
	simsetup_expect.l

font_8x8_0.c \
	font_8x8_128.c \
	font_8x8.c \
	font_8x14.c \
	font_8x16.c \
	glyphs_8x8.c \
	glyphs_8x14.c \
	glyphs_8x16.c \
	samples.c: font_build_stamp

font_build_stamp: \
		$(srcdir)/font_info.dat \
		$(srcdir)/glyph_info.dat \
		$(top_builddir)/scripts/font_gen
	$(top_builddir)/scripts/font_gen $<
	touch $@

ttf_samples.c: $(FONT1PPM) $(FONT1TXT)
	$(top_builddir)/scripts/generate_ttf_glyphs $(FONT1PPM) $(FONT1TXT)

# noinst_PROGRAMS = test_sig_i2c_bus
# test_sig_i2c_CFLAGS = -I. -I../sim
# test_sig_i2c_bus_SOURCES = \
# 	test_sig_i2c_bus.c\
# 	sig_i2c_bus.c\
# 	fixme.c \
# 	glue-log.c\
# 	glue-shm.c