Mercurial > sdl-ios-xcode
comparison src/main/Makefile.am @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | 609c060fd2a2 |
children |
comparison
equal
deleted
inserted
replaced
1360:70a9cfb4cf1b | 1361:19418e4422cb |
---|---|
1 | 1 |
2 ## Makefile.am for the main() function in the SDL library | 2 ## Makefile.am for the main() function in the SDL library |
3 # | 3 # |
4 # This is necessary because some platforms have special program | 4 # This is necessary because some platforms have special program |
5 # entry points, which require special application initialization. | 5 # entry points, which require special application initialization. |
6 | |
7 ARCH_SUBDIRS = $(srcdir)/beos \ | |
8 $(srcdir)/epoc \ | |
9 $(srcdir)/dummy \ | |
10 $(srcdir)/macos \ | |
11 $(srcdir)/macosx \ | |
12 $(srcdir)/qtopia \ | |
13 $(srcdir)/win32 | |
14 | 6 |
15 # Build a separate library containing the main() entry point. | 7 # Build a separate library containing the main() entry point. |
16 lib_LIBRARIES = libSDLmain.a | 8 lib_LIBRARIES = libSDLmain.a |
17 | 9 |
18 if TARGET_WIN32 | 10 if TARGET_WIN32 |
46 endif | 38 endif |
47 | 39 |
48 libarch_la_SOURCES = $(ARCH_SRCS) | 40 libarch_la_SOURCES = $(ARCH_SRCS) |
49 | 41 |
50 exports: | 42 exports: |
51 for i in $(ARCH_SUBDIRS); do if [ -d $$i/exports ]; then (cd $$i/exports; make); fi; done | 43 for i in $(srcdir)/*; do if [ -d $$i/exports ]; then (cd $$i/exports; make); fi; done |
52 | 44 |
53 # The architecture specific directories need to be copied into place | 45 EXTRA_DIST = beos dummy epoc linux macos macosx qtopia win32 |
54 # when building a distribution. | |
55 dist-hook: | |
56 (cd $(distdir) && rm -f $(BUILT_SOURCES)) | |
57 cp -rp $(ARCH_SUBDIRS) $(distdir) | |
58 (cd $(distdir) && rm -rf `find . -name CVS`) |