Mercurial > sdl-ios-xcode
annotate src/thread/Makefile.am @ 138:69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Aug 2001 05:31:32 +0000 |
parents | 74212992fb08 |
children | 83018110dce8 |
rev | line source |
---|---|
0 | 1 |
2 ## Makefile.am for the SDL thread library | |
3 | |
4 noinst_LTLIBRARIES = libthread.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)/generic $(srcdir)/amigaos $(srcdir)/beos \ |
69ee0b88b615
Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
7 $(srcdir)/irix $(srcdir)/linux $(srcdir)/win32 |
0 | 8 |
9 # Older versions of Linux require an asm clone() implementation | |
10 if USE_CLONE | |
11 THREAD_ASM_SRC = clone.S | |
12 else | |
13 THREAD_ASM_SRC = | |
14 endif | |
15 | |
16 COMMON_SRCS = \ | |
17 SDL_systhread.h \ | |
18 SDL_thread.c \ | |
19 SDL_thread_c.h | |
20 ARCH_SRCS = \ | |
21 SDL_systhread.c \ | |
22 SDL_systhread_c.h \ | |
23 SDL_sysmutex.c \ | |
24 SDL_sysmutex_c.h \ | |
25 SDL_syssem.c \ | |
26 SDL_syssem_c.h \ | |
27 SDL_syscond.c \ | |
28 SDL_syscond_c.h \ | |
29 $(THREAD_ASM_SRC) | |
30 | |
31 libthread_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS) | |
32 | |
33 ## Let automake know that it shouldn't distribute linked sources | |
34 BUILT_SOURCES = $(ARCH_SRCS) | |
35 | |
36 ## Let automake know that it should remove these for distribution | |
37 DISTCLEANFILES = $(ARCH_SRCS) | |
38 | |
39 # The architecture specific directories need to be copied into place | |
40 # when building a distribution. | |
41 dist-hook: | |
42 (cd $(distdir) && rm -f $(BUILT_SOURCES)) | |
43 cp -rp $(ARCH_SUBDIRS) $(distdir) | |
44 (cd $(distdir) && rm -rf `find . -name CVS`) |