0
|
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`)
|