From 25edbb706663b7990b3e9df2ecb8e8408149e0fe Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 8 Sep 2005 06:17:23 +0000 Subject: [PATCH] Forgot to add this with the previous Carbon/Cocoa/X11 commit. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401137 --- src/main/macos/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/main/macos/Makefile.am diff --git a/src/main/macos/Makefile.am b/src/main/macos/Makefile.am new file mode 100644 index 000000000..a47cae2bb --- /dev/null +++ b/src/main/macos/Makefile.am @@ -0,0 +1,17 @@ +# 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`)