Mercurial > sdl-ios-xcode
view src/main/macos/Makefile.am @ 1413:40edc79b0926
FIXME:
This code needs to be rewritten to reference the static data using relocatable addresses (e.g. http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml or http://nasm.sourceforge.net/doc/html/nasmdoc8.html#section-8.2)
This code currently breaks on systems with readonly text segments (hardened Linux / Intel Mac)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 22:12:55 +0000 |
parents | 55a86cfe6277 |
children |
line wrap: on
line source
# On OS X, install the SDL.rsrc. EXTRA_DIST = SDL_main.c SDL.rsrc rsrcdatadir = $(datadir)/sdl rsrcdata_DATA = \ SDL.rsrc SDL.rsrc: SDL.r /Developer/Tools/Rez -o $@ -useDF $< # The rsrc and export directory need to be copied into place # when building a distribution. dist-hook: cp -rp SDL.rsrc $(distdir) cp -rp exports $(distdir) (cd $(distdir)/exports && rm -rf `find . -name CVS`)