Mercurial > sdl-ios-xcode
comparison src/cdrom/Makefile.am @ 0:74212992fb08
Initial revision
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:45:43 +0000 |
parents | |
children | 69ee0b88b615 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:74212992fb08 |
---|---|
1 | |
2 ## Makefile.am for the SDL cdrom library | |
3 | |
4 noinst_LTLIBRARIES = libcdrom.la | |
5 | |
6 ARCH_SUBDIRS = dummy beos freebsd linux macos openbsd qnx win32 | |
7 | |
8 # Include the architecture-independent sources | |
9 COMMON_SRCS = SDL_cdrom.c SDL_syscdrom.h | |
10 | |
11 # Include the architecture-specific sources | |
12 ARCH_SRCS = SDL_syscdrom.c | |
13 | |
14 libcdrom_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS) | |
15 | |
16 ## Let automake know that it shouldn't distribute linked sources | |
17 BUILT_SOURCES = $(ARCH_SRCS) | |
18 | |
19 ## Let automake know that it should remove these for distribution | |
20 DISTCLEANFILES = $(ARCH_SRCS) | |
21 | |
22 # The architecture specific directories need to be copied into place | |
23 # when building a distribution. | |
24 dist-hook: | |
25 (cd $(distdir) && rm -f $(BUILT_SOURCES)) | |
26 cp -rp $(ARCH_SUBDIRS) $(distdir) | |
27 (cd $(distdir) && rm -rf `find . -name CVS`) |