test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Tue, 09 May 2006 07:26:58 +0000
changeset 1790 828a17e05192
parent 1501 73dc5d39bbf8
child 1706 1577404809f0
child 1858 d3ac464fb3c1
permissions -rw-r--r--
Date: Mon, 8 May 2006 14:19:30 -0700
From: Bob Ippolito
Subject: SDL trunk (r2346) and Mac OS X

The current state of the trunk doesn't quite compile on Mac OS X,
I've attached a series of patches that gets it to compile and kills a
few warnings.

sdl-trunk-r2346-dlcompat-warnings.diff:
The dlcompat thing is just loaded with incorrect type signatures ..
some of them have changed since 10.2 and others are just flat wrong.
This puts it in sync with the latest headers. People on 10.2 will get
the warnings instead of people with new kits.
slouken@1380
     1
# Makefile to build the SDL tests
slouken@1380
     2
slouken@1380
     3
srcdir  = @srcdir@
slouken@1380
     4
slouken@1380
     5
CC      = @CC@
slouken@1380
     6
EXE	= @EXE@
slouken@1380
     7
CFLAGS  = @CFLAGS@
slouken@1380
     8
LIBS	= @LIBS@
slouken@1380
     9
slouken@1501
    10
TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE)
slouken@1380
    11
slouken@1380
    12
all: $(TARGETS)
slouken@1380
    13
slouken@1380
    14
checkkeys$(EXE): $(srcdir)/checkkeys.c
slouken@1380
    15
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    16
slouken@1380
    17
graywin$(EXE): $(srcdir)/graywin.c
slouken@1380
    18
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    19
slouken@1380
    20
loopwave$(EXE): $(srcdir)/loopwave.c
slouken@1380
    21
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    22
slouken@1380
    23
testalpha$(EXE): $(srcdir)/testalpha.c
slouken@1380
    24
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    25
slouken@1380
    26
testbitmap$(EXE): $(srcdir)/testbitmap.c
slouken@1380
    27
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    28
slouken@1380
    29
testblitspeed$(EXE): $(srcdir)/testblitspeed.c
slouken@1380
    30
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    31
slouken@1380
    32
testcdrom$(EXE): $(srcdir)/testcdrom.c
slouken@1380
    33
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    34
slouken@1380
    35
testdyngl$(EXE): $(srcdir)/testdyngl.c
slouken@1380
    36
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    37
slouken@1380
    38
testerror$(EXE): $(srcdir)/testerror.c
slouken@1380
    39
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    40
slouken@1453
    41
testfile$(EXE): $(srcdir)/testfile.c
slouken@1453
    42
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1453
    43
slouken@1380
    44
testgamma$(EXE): $(srcdir)/testgamma.c
slouken@1380
    45
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    46
slouken@1380
    47
testgl$(EXE): $(srcdir)/testgl.c
slouken@1380
    48
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
slouken@1380
    49
slouken@1380
    50
testhread$(EXE): $(srcdir)/testhread.c
slouken@1380
    51
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    52
slouken@1501
    53
testiconv$(EXE): $(srcdir)/testiconv.c
slouken@1501
    54
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1501
    55
slouken@1380
    56
testjoystick$(EXE): $(srcdir)/testjoystick.c
slouken@1380
    57
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    58
slouken@1380
    59
testkeys$(EXE): $(srcdir)/testkeys.c
slouken@1380
    60
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    61
slouken@1380
    62
testlock$(EXE): $(srcdir)/testlock.c
slouken@1380
    63
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    64
slouken@1380
    65
testoverlay2$(EXE): $(srcdir)/testoverlay2.c
slouken@1380
    66
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    67
slouken@1380
    68
testoverlay$(EXE): $(srcdir)/testoverlay.c
slouken@1380
    69
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    70
slouken@1380
    71
testpalette$(EXE): $(srcdir)/testpalette.c
slouken@1380
    72
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    73
slouken@1421
    74
testplatform$(EXE): $(srcdir)/testplatform.c
slouken@1421
    75
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1421
    76
slouken@1380
    77
testsem$(EXE): $(srcdir)/testsem.c
slouken@1380
    78
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    79
slouken@1380
    80
testsprite$(EXE): $(srcdir)/testsprite.c
slouken@1380
    81
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    82
slouken@1380
    83
testtimer$(EXE): $(srcdir)/testtimer.c
slouken@1380
    84
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    85
slouken@1380
    86
testver$(EXE): $(srcdir)/testver.c
slouken@1380
    87
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    88
slouken@1380
    89
testvidinfo$(EXE): $(srcdir)/testvidinfo.c
slouken@1380
    90
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    91
slouken@1380
    92
testwin$(EXE): $(srcdir)/testwin.c
slouken@1380
    93
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    94
slouken@1380
    95
testwm$(EXE): $(srcdir)/testwm.c
slouken@1380
    96
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    97
slouken@1380
    98
threadwin$(EXE): $(srcdir)/threadwin.c
slouken@1380
    99
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   100
slouken@1380
   101
torturethread$(EXE): $(srcdir)/torturethread.c
slouken@1380
   102
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   103
slouken@1380
   104
slouken@1380
   105
clean:
slouken@1380
   106
	rm -f $(TARGETS)
slouken@1380
   107
slouken@1380
   108
distclean: clean
slouken@1380
   109
	rm -f Makefile
slouken@1380
   110
	rm -f config.status config.cache config.log
slouken@1380
   111
	rm -rf $(srcdir)/autom4te*