Mercurial > sdl-ios-xcode
annotate src/main/macosx/Makefile.am @ 738:82b85b731fe3
Date: Mon, 10 Nov 2003 19:57:56 +0100
From: Stephane Marchesin <stephane.marchesin@wanadoo.fr>
Subject: [SDL] SDL and gcc >= 3.3.1 fix
Lately, I upgraded my gcc compiler and could trigger the error described
in this thread :
http://www.libsdl.org/pipermail/sdl/2003-September/056163.html
SDL_RLEaccel.c: In function `RLEClipBlit':
SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
The attached patch fixes this issue, and is smaller than the previous
one, as I was able to trigger the issue, so I could narrow it.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 14 Nov 2003 20:21:22 +0000 |
parents | 91a5db3e930a |
children |
rev | line source |
---|---|
194
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
191
diff
changeset
|
1 # On OS X, install the SDLMain.nib. |
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 # We use an ugly hack to force the creation of the |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 # destination dir, maybe somebody with more automake |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 # experience knows how to do this properly? |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 if TARGET_MACOSX |
218
91a5db3e930a
Hack workaround to fix MacOS X install problems
Sam Lantinga <slouken@libsdl.org>
parents:
213
diff
changeset
|
7 hackhacknibdatadir = $(nibdatadir)/SDLMain.nib |
91a5db3e930a
Hack workaround to fix MacOS X install problems
Sam Lantinga <slouken@libsdl.org>
parents:
213
diff
changeset
|
8 hackhacknibdata_DATA = info.nib |
91a5db3e930a
Hack workaround to fix MacOS X install problems
Sam Lantinga <slouken@libsdl.org>
parents:
213
diff
changeset
|
9 |
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 nibdatadir = $(datadir)/sdl |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 nibdata_DATA = \ |
194
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
191
diff
changeset
|
12 SDLMain.nib/classes.nib \ |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
191
diff
changeset
|
13 SDLMain.nib/info.nib \ |
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
191
diff
changeset
|
14 SDLMain.nib/objects.nib \ |
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 Info.plist |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 endif |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
17 |
218
91a5db3e930a
Hack workaround to fix MacOS X install problems
Sam Lantinga <slouken@libsdl.org>
parents:
213
diff
changeset
|
18 EXTRA_DIST = SDLMain.h SDLMain.m info.nib |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
19 |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
20 # The nib and exports directories need to be copied into place |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
21 # when building a distribution. |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
22 dist-hook: |
194
ba9e0fcc2ae2
Oops, back out that SDL_main -> SDLMain conversion
Sam Lantinga <slouken@libsdl.org>
parents:
191
diff
changeset
|
23 cp -rp SDLMain.nib $(distdir) |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
24 cp -rp exports $(distdir) |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
25 (cd $(distdir) && rm -rf `find . -name CVS`) |