Makefile.dc
author Sam Lantinga <slouken@libsdl.org>
Thu, 06 May 2004 15:55:06 +0000
changeset 886 05c551e5bc64
parent 509 dad72daf44b3
child 1461 11134dc42da8
permissions -rw-r--r--
Date: Sat, 24 Apr 2004 15:13:32 +0300
From: "Mike Gorchak"
Subject: SDL updates for the QNX6

1. Updated the README.QNX
2. Updated libtool scripts, which are shipped with SDL for QNX6 support.
3. Added some code to support the new QNX 6.3.0, which is in beta now.
4. Added code to detect the hw features, which driver supports.
5. Added hw alpha blits code.
6. Fixed bug when application switches to fullscreen more the 2 times. (afte\
r that window becames always stay on top).
7. Updated a bit README for the tests.
8. Added information about acceleration show in the testalpha.c test.
9. Added small fixes to the testoverlay2.c test.
10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
     1 #GL=1
     2 
     3 CC = sh-elf-gcc -ml -m4-single-only
     4 AR = sh-elf-ar
     5 KOS_BASE=/prog/kos-1.1.7
     6 INCS = -I$(KOS_BASE)/libc/include -I$(KOS_BASE)/include -I$(KOS_BASE)/kernel/arch/dreamcast/include
     7 DEFS =-DNO_SIGNAL_H -DENABLE_DC
     8 
     9 ifdef GL
    10 DEFS += -DHAVE_OPENGL
    11 TARGET = libSDL_gl.a
    12 else
    13 TARGET = libSDL.a
    14 endif
    15 
    16 OPTFLAGS=-O2 -fomit-frame-pointer
    17 CFLAGS=-D_arch_dreamcast $(DEFS) $(INCS) -Iinclude -Isrc -Isrc/audio -Isrc/cdrom -Isrc/endian -Isrc/events -Isrc/joystick -Isrc/thread/dc -Isrc/thread -Isrc/timer -Isrc/video $(OPTFLAGS)
    18 
    19 SRCS = \
    20 	src/audio/dc/SDL_dcaudio.c \
    21 	src/audio/dc/aica.c \
    22 	src/audio/SDL_audio.c \
    23 	src/audio/SDL_audiocvt.c \
    24 	src/audio/SDL_audiodev.c \
    25 	src/audio/SDL_audiomem.c \
    26 	src/audio/SDL_mixer.c \
    27 	src/audio/SDL_wave.c \
    28 	src/cdrom/dc/SDL_syscdrom.c \
    29 	src/cdrom/SDL_cdrom.c \
    30 	src/endian/SDL_endian.c \
    31 	src/events/SDL_active.c \
    32 	src/events/SDL_events.c \
    33 	src/events/SDL_expose.c \
    34 	src/events/SDL_keyboard.c \
    35 	src/events/SDL_mouse.c \
    36 	src/events/SDL_quit.c \
    37 	src/events/SDL_resize.c \
    38 	src/file/SDL_rwops.c \
    39 	src/joystick/dc/SDL_sysjoystick.c \
    40 	src/joystick/SDL_joystick.c \
    41 	src/SDL.c \
    42 	src/SDL_error.c \
    43 	src/SDL_fatal.c \
    44 	src/SDL_getenv.c \
    45 	src/SDL_loadso.c \
    46 	src/thread/dc/SDL_syscond.c \
    47 	src/thread/dc/SDL_sysmutex.c \
    48 	src/thread/dc/SDL_syssem.c \
    49 	src/thread/dc/SDL_systhread.c \
    50 	src/thread/SDL_thread.c \
    51 	src/timer/dc/SDL_systimer.c \
    52 	src/timer/SDL_timer.c \
    53 	src/video/dc/SDL_dcevents.c \
    54 	src/video/dc/SDL_dcvideo.c \
    55 	src/video/SDL_blit.c \
    56 	src/video/SDL_blit_0.c \
    57 	src/video/SDL_blit_1.c \
    58 	src/video/SDL_blit_A.c \
    59 	src/video/SDL_blit_N.c \
    60 	src/video/SDL_bmp.c \
    61 	src/video/SDL_cursor.c \
    62 	src/video/SDL_gamma.c \
    63 	src/video/SDL_pixels.c \
    64 	src/video/SDL_RLEaccel.c \
    65 	src/video/SDL_stretch.c \
    66 	src/video/SDL_surface.c \
    67 	src/video/SDL_video.c \
    68 	src/video/SDL_yuv.c \
    69 	src/video/SDL_yuv_sw.c \
    70 
    71 OBJS = $(SRCS:.c=.o)
    72 
    73 TEST = \
    74 	test/checkkeys.c \
    75 	test/graywin.c \
    76 	test/loopwave.c \
    77 	test/testalpha.c \
    78 	test/testbitmap.c \
    79 	test/testcdrom.c \
    80 	test/testerror.c \
    81 	test/testgamma.c \
    82 	test/testgl.c \
    83 	test/testhread.c \
    84 	test/testjoystick.c \
    85 	test/testkeys.c \
    86 	test/testlock.c \
    87 	test/testoverlay.c \
    88 	test/testpalette.c \
    89 	test/testsem.c \
    90 	test/testsprite.c \
    91 	test/testtimer.c \
    92 	test/testtypes.c \
    93 	test/testver.c \
    94 	test/testvidinfo.c \
    95 	test/testwin.c \
    96 	test/testwm.c \
    97 	test/threadwin.c \
    98 	test/torturethread.c \
    99 
   100 clean:
   101 	rm $(OBJS)
   102 
   103 $(TARGET) : $(OBJS)
   104 	$(AR) rcs $(TARGET) $(OBJS)
   105