Mercurial > sdl-ios-xcode
annotate src/main/macosx/Makefile.am @ 183:561c2d2f3505
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 14 Sep 2001 02:59:59 +0000 |
parents | c9bc7f33d56f |
children | c151cfc43c07 |
rev | line source |
---|---|
168
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 # On OS X, install the SDLMain.nib. |
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 |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 masternibdatadir = $(datadir)/sdl/SDLMain.nib |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 masternibdata_DATA = \ |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 SDLMain.nib |
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 = \ |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 SDLMain.nib/classes.nib \ |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 SDLMain.nib/info.nib \ |
e92aa316c517
Added Max's patches for building MacOS X apps on command line
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 SDLMain.nib/objects.nib \ |
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 |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
19 EXTRA_DIST = SDLMain.h SDLMain.m |
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)) |
c9bc7f33d56f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
168
diff
changeset
|
25 cp -rp SDLMain.nib $(distdir) |
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`) |