view src/main/macos/Makefile.am @ 1148:63fb2da89a4b

Patched inline assembly to compile on gcc 4.0.1. Details are here: http://bugs.gentoo.org/show_bug.cgi?id=104437 I believe the patch is from Harald van Dijk (comment #16 at the above url).
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 28 Sep 2005 02:26:29 +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`)