This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
/
Makefile.in
199 lines (150 loc) · 4.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
# Makefile to build the SDL tests
srcdir = @srcdir@
CC = @CC@
EXE = @EXE@
CFLAGS = @CFLAGS@
LIBS = @LIBS@
TARGETS = \
checkkeys$(EXE) \
loopwave$(EXE) \
13
testaudioinfo$(EXE) \
14
15
16
17
18
19
20
21
22
23
24
25
testdraw2$(EXE) \
testerror$(EXE) \
testfile$(EXE) \
testgesture$(EXE) \
testgl2$(EXE) \
testgles$(EXE) \
testhaptic$(EXE) \
testrumble$(EXE) \
testthread$(EXE) \
testiconv$(EXE) \
testime$(EXE) \
testintersections$(EXE) \
26
testrelative$(EXE) \
27
28
29
30
31
testjoystick$(EXE) \
testkeys$(EXE) \
testloadso$(EXE) \
testlock$(EXE) \
testmultiaudio$(EXE) \
32
testnative$(EXE) \
33
34
35
testoverlay2$(EXE) \
testplatform$(EXE) \
testpower$(EXE) \
36
testrendertarget$(EXE) \
37
38
39
40
41
42
43
44
45
46
47
48
testresample$(EXE) \
testscale$(EXE) \
testsem$(EXE) \
testshader$(EXE) \
testshape$(EXE) \
testsprite2$(EXE) \
testspriteminimal$(EXE) \
teststreaming$(EXE) \
testtimer$(EXE) \
testver$(EXE) \
testwm2$(EXE) \
torturethread$(EXE) \
49
testrendercopyex$(EXE) \
50
51
52
53
54
55
56
all: Makefile $(TARGETS)
Makefile: $(srcdir)/Makefile.in
$(SHELL) config.status $@
checkkeys$(EXE): $(srcdir)/checkkeys.c
57
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
58
59
loopwave$(EXE): $(srcdir)/loopwave.c
60
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
61
62
testresample$(EXE): $(srcdir)/testresample.c
63
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
64
65
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
66
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
67
68
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
69
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
70
71
testatomic$(EXE): $(srcdir)/testatomic.c
72
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
73
74
testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
75
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
76
77
testrelative$(EXE): $(srcdir)/testrelative.c $(srcdir)/common.c
78
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
79
80
testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
81
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
82
83
testerror$(EXE): $(srcdir)/testerror.c
84
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
85
86
testfile$(EXE): $(srcdir)/testfile.c
87
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
88
89
testgesture$(EXE): $(srcdir)/testgesture.c
90
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
91
92
testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
93
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
94
95
testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
96
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
97
98
testhaptic$(EXE): $(srcdir)/testhaptic.c
99
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
100
101
testrumble$(EXE): $(srcdir)/testrumble.c
102
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
103
104
testthread$(EXE): $(srcdir)/testthread.c
105
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
106
107
testiconv$(EXE): $(srcdir)/testiconv.c
108
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
109
110
testime$(EXE): $(srcdir)/testime.c $(srcdir)/common.c
111
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
112
113
testjoystick$(EXE): $(srcdir)/testjoystick.c $(srcdir)/common.c
114
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
115
116
testkeys$(EXE): $(srcdir)/testkeys.c
117
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
118
119
testloadso$(EXE): $(srcdir)/testloadso.c
120
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
121
122
testlock$(EXE): $(srcdir)/testlock.c
123
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
124
125
ifeq (@ISMACOSX@,true)
126
127
128
129
testnative$(EXE): $(srcdir)/testnative.c \
$(srcdir)/testnativecocoa.m \
$(srcdir)/testnativew32.c \
$(srcdir)/testnativex11.c
130
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -L/usr/X11/lib -lX11 -framework Cocoa
131
132
133
134
135
endif
ifeq (@ISWINDOWS@,true)
testnative$(EXE): $(srcdir)/testnative.c \
$(srcdir)/testnativew32.c
136
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
137
138
139
140
141
endif
ifeq (@ISUNIX@,true)
testnative$(EXE): $(srcdir)/testnative.c \
$(srcdir)/testnativex11.c
142
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -L/usr/X11/lib -lX11
143
endif
144
145
testoverlay2$(EXE): $(srcdir)/testoverlay2.c
146
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
147
148
testplatform$(EXE): $(srcdir)/testplatform.c
149
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
150
151
testpower$(EXE): $(srcdir)/testpower.c
152
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
153
154
testrendertarget$(EXE): $(srcdir)/testrendertarget.c $(srcdir)/common.c
155
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
156
157
testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c
158
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
159
160
testsem$(EXE): $(srcdir)/testsem.c
161
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
162
163
testshader$(EXE): $(srcdir)/testshader.c
164
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
165
166
testshape$(EXE): $(srcdir)/testshape.c
167
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
168
169
testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
170
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
171
172
testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
173
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
174
175
teststreaming$(EXE): $(srcdir)/teststreaming.c
176
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
177
178
testtimer$(EXE): $(srcdir)/testtimer.c
179
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
180
181
testver$(EXE): $(srcdir)/testver.c
182
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
183
184
testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
185
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
186
187
torturethread$(EXE): $(srcdir)/torturethread.c
188
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
189
190
testrendercopyex$(EXE): $(srcdir)/testrendercopyex.c $(srcdir)/common.c
191
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
192
193
194
195
196
197
198
199
clean:
rm -f $(TARGETS)
distclean: clean
rm -f Makefile
rm -f config.status config.cache config.log
rm -rf $(srcdir)/autom4te*