comparison src/main/macosx/Makefile.am @ 191:c151cfc43c07

Changed SDLMain to SDL_main for MacOS X stuff
author Sam Lantinga <slouken@libsdl.org>
date Sun, 23 Sep 2001 20:42:00 +0000
parents c9bc7f33d56f
children ba9e0fcc2ae2
comparison
equal deleted inserted replaced
190:e4af2c852c09 191:c151cfc43c07
1 # On OS X, install the SDLMain.nib. 1 # On OS X, install the SDL_main.nib.
2 # We use an ugly hack to force the creation of the 2 # We use an ugly hack to force the creation of the
3 # destination dir, maybe somebody with more automake 3 # destination dir, maybe somebody with more automake
4 # experience knows how to do this properly? 4 # experience knows how to do this properly?
5 5
6 if TARGET_MACOSX 6 if TARGET_MACOSX
7 masternibdatadir = $(datadir)/sdl/SDLMain.nib 7 masternibdatadir = $(datadir)/sdl/SDL_main.nib
8 masternibdata_DATA = \ 8 masternibdata_DATA = \
9 SDLMain.nib 9 SDL_main.nib
10 10
11 nibdatadir = $(datadir)/sdl 11 nibdatadir = $(datadir)/sdl
12 nibdata_DATA = \ 12 nibdata_DATA = \
13 SDLMain.nib/classes.nib \ 13 SDL_main.nib/classes.nib \
14 SDLMain.nib/info.nib \ 14 SDL_main.nib/info.nib \
15 SDLMain.nib/objects.nib \ 15 SDL_main.nib/objects.nib \
16 Info.plist 16 Info.plist
17 endif 17 endif
18 18
19 EXTRA_DIST = SDLMain.h SDLMain.m 19 EXTRA_DIST = SDL_main.h SDL_main.m
20 20
21 # The nib and exports directories need to be copied into place 21 # The nib and exports directories need to be copied into place
22 # when building a distribution. 22 # when building a distribution.
23 dist-hook: 23 dist-hook:
24 (cd $(distdir) && rm -f $(BUILT_SOURCES)) 24 (cd $(distdir) && rm -f $(BUILT_SOURCES))
25 cp -rp SDLMain.nib $(distdir) 25 cp -rp SDL_main.nib $(distdir)
26 cp -rp exports $(distdir) 26 cp -rp exports $(distdir)
27 (cd $(distdir) && rm -rf `find . -name CVS`) 27 (cd $(distdir) && rm -rf `find . -name CVS`)