0
|
1
|
|
2 ## Makefile.am for the SDL timer library
|
|
3
|
|
4 noinst_LTLIBRARIES = libtimer.la
|
|
5
|
|
6 ARCH_SUBDIRS = amigaos beos linux macos win32
|
|
7
|
|
8 # Include the architecture-independent sources
|
|
9 COMMON_SRCS = SDL_timer.c SDL_timer_c.h SDL_systimer.h
|
|
10
|
|
11 # Include the architecture-specific sources
|
|
12 ARCH_SRCS = SDL_systimer.c
|
|
13
|
|
14 libtimer_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`)
|