Mercurial > sdl-ios-xcode
annotate 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 |
rev | line source |
---|---|
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
1 # On OS X, install the SDL_main.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 |
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
7 masternibdatadir = $(datadir)/sdl/SDL_main.nib |
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 masternibdata_DATA = \ |
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
9 SDL_main.nib |
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 nibdatadir = $(datadir)/sdl |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 nibdata_DATA = \ |
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
13 SDL_main.nib/classes.nib \ |
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
14 SDL_main.nib/info.nib \ |
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
15 SDL_main.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
|
16 Info.plist |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 endif |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
18 |
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
19 EXTRA_DIST = SDL_main.h SDL_main.m |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
20 |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
21 # The nib and exports directories need to be copied into place |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
22 # when building a distribution. |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
23 dist-hook: |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
24 (cd $(distdir) && rm -f $(BUILT_SOURCES)) |
191
c151cfc43c07
Changed SDLMain to SDL_main for MacOS X stuff
Sam Lantinga <slouken@libsdl.org>
parents:
176
diff
changeset
|
25 cp -rp SDL_main.nib $(distdir) |
176
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
26 cp -rp exports $(distdir) |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
27 (cd $(distdir) && rm -rf `find . -name CVS`) |