Mercurial > sdl-ios-xcode
annotate src/cdrom/Makefile.am @ 142:40676b1aa39d
From: Max Horn <max@quendi.de>
I also have a slight enhancment, which I already submitted to Darrell Walisser:
In the SDL target template file "Application.trgttmpl" (contained in
the PBProject.tar.gz archive), replace
CustomProductSettings = {
};
with
CustomProductSettings = {
NSPrincipalClass = "NSApplication";
NSMainNibFile = "SDLMain.nib";
};
This automates two steps mentioned in the Readme when creating a new
"SDL Target" in Apple's ProjectBuilder.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Aug 2001 06:08:57 +0000 |
parents | 69ee0b88b615 |
children | 2839f45bdba0 |
rev | line source |
---|---|
0 | 1 |
2 ## Makefile.am for the SDL cdrom library | |
3 | |
4 noinst_LTLIBRARIES = libcdrom.la | |
5 | |
138
69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
6 ARCH_SUBDIRS = $(srcdir)/dummy $(srcdir)/beos $(srcdir)/freebsd \ |
69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
7 $(srcdir)/linux $(srcdir)/macos $(srcdir)/openbsd \ |
69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
8 $(srcdir)/qnx $(srcdir)/win32 |
0 | 9 |
10 # Include the architecture-independent sources | |
11 COMMON_SRCS = SDL_cdrom.c SDL_syscdrom.h | |
12 | |
13 # Include the architecture-specific sources | |
14 ARCH_SRCS = SDL_syscdrom.c | |
15 | |
16 libcdrom_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS) | |
17 | |
18 ## Let automake know that it shouldn't distribute linked sources | |
19 BUILT_SOURCES = $(ARCH_SRCS) | |
20 | |
21 ## Let automake know that it should remove these for distribution | |
22 DISTCLEANFILES = $(ARCH_SRCS) | |
23 | |
24 # The architecture specific directories need to be copied into place | |
25 # when building a distribution. | |
26 dist-hook: | |
27 (cd $(distdir) && rm -f $(BUILT_SOURCES)) | |
28 cp -rp $(ARCH_SUBDIRS) $(distdir) | |
29 (cd $(distdir) && rm -rf `find . -name CVS`) |