include/Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Sun, 21 Sep 2003 18:32:04 +0000
changeset 720 f90d80d68071
parent 652 a3bb929c9e2f
child 739 22dbf364c017
permissions -rw-r--r--
N Sep 17 8791 Sam Lantinga Re: tks source released
Date: Sun, 07 Sep 2003 02:51:58 +0200
From: Stephane Marchesin
Subject: [SDL] Two little patches

Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
behaviour) gives some nasty warnings :

SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
SDL_blit_A.c:223: warning: integer constant is too large for "long" type
SDL_blit_A.c:225: warning: integer constant is too large for "long" type
SDL_blit_A.c:227: warning: integer constant is too large for "long" type
[...]

The first attached patch (longlongfix.patch) tells gcc to really treat
those constants as unsigned long long and not long.

The second patch (nasinclude.patch) fixes an include problem I had while
compiling nas audio : when the <audio/audiolib.h> file lies in
/usr/X11R6/include, a -I/usr/X11R6/include option is needed or the file
isn't found.
slouken@0
     1
# The input Makefile for SDL header files
slouken@0
     2
slouken@0
     3
# The directory where the include files will be installed
slouken@0
     4
libSDLincludedir = $(includedir)/SDL
slouken@0
     5
slouken@0
     6
# Which header files to install
slouken@0
     7
libSDLinclude_HEADERS =		\
slouken@0
     8
	SDL.h			\
slouken@0
     9
	SDL_active.h		\
slouken@0
    10
	SDL_audio.h		\
slouken@0
    11
	SDL_byteorder.h		\
slouken@0
    12
	SDL_cdrom.h		\
slouken@0
    13
	SDL_copying.h		\
slouken@0
    14
	SDL_endian.h		\
slouken@0
    15
	SDL_error.h		\
slouken@0
    16
	SDL_events.h		\
slouken@0
    17
	SDL_getenv.h		\
slouken@0
    18
	SDL_joystick.h		\
slouken@0
    19
	SDL_keyboard.h		\
slouken@0
    20
	SDL_keysym.h		\
slouken@652
    21
	SDL_loadso.h		\
slouken@0
    22
	SDL_main.h		\
slouken@0
    23
	SDL_mouse.h		\
slouken@0
    24
	SDL_mutex.h		\
slouken@293
    25
	SDL_name.h		\
slouken@214
    26
	SDL_opengl.h		\
slouken@0
    27
	SDL_quit.h		\
slouken@0
    28
	SDL_rwops.h		\
slouken@0
    29
	SDL_syswm.h		\
slouken@0
    30
	SDL_thread.h		\
slouken@0
    31
	SDL_timer.h		\
slouken@0
    32
	SDL_types.h		\
slouken@0
    33
	SDL_version.h		\
slouken@0
    34
	SDL_video.h		\
slouken@0
    35
	begin_code.h		\
slouken@0
    36
	close_code.h