1 | ## Copyright (c) 2005, Eric Crahen |
---|
2 | ## Modified for Trinity <http://www.trinitycore.org/> |
---|
3 | ## |
---|
4 | ## Permission is hereby granted, free of charge, to any person obtaining a copy |
---|
5 | ## of this software and associated documentation files (the "Software"), to deal |
---|
6 | ## in the Software without restriction, including without limitation the rights |
---|
7 | ## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
---|
8 | ## copies of the Software, and to permit persons to whom the Software is furnished |
---|
9 | ## to do so, subject to the following conditions: |
---|
10 | ## |
---|
11 | ## The above copyright notice and this permission notice shall be included in all |
---|
12 | ## copies or substantial portions of the Software. |
---|
13 | ## |
---|
14 | ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
---|
15 | ## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
---|
16 | ## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
---|
17 | ## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
---|
18 | ## WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
---|
19 | ## CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
---|
20 | |
---|
21 | ## Process this file with automake to produce Makefile.in |
---|
22 | |
---|
23 | ## CPP flags for includes, defines, etc. |
---|
24 | AM_CPPFLAGS = -I$(srcdir)/../../include -I$(srcdir)/../../include/zthread |
---|
25 | |
---|
26 | ## Build ZThread as shared library. |
---|
27 | # libZThread shared library will later be reused by realm list daemon |
---|
28 | # and world server daemon. |
---|
29 | lib_LTLIBRARIES = libZThread.la |
---|
30 | libZThread_la_SOURCES = \ |
---|
31 | AtomicCount.cxx \ |
---|
32 | Condition.cxx \ |
---|
33 | ConcurrentExecutor.cxx \ |
---|
34 | CountingSemaphore.cxx \ |
---|
35 | FastMutex.cxx \ |
---|
36 | FastRecursiveMutex.cxx \ |
---|
37 | Mutex.cxx \ |
---|
38 | RecursiveMutexImpl.cxx \ |
---|
39 | RecursiveMutex.cxx \ |
---|
40 | Monitor.cxx \ |
---|
41 | PoolExecutor.cxx \ |
---|
42 | PriorityCondition.cxx \ |
---|
43 | PriorityInheritanceMutex.cxx \ |
---|
44 | PriorityMutex.cxx \ |
---|
45 | PrioritySemaphore.cxx \ |
---|
46 | Semaphore.cxx \ |
---|
47 | SynchronousExecutor.cxx \ |
---|
48 | Thread.cxx \ |
---|
49 | ThreadedExecutor.cxx \ |
---|
50 | ThreadImpl.cxx \ |
---|
51 | ThreadLocalImpl.cxx \ |
---|
52 | ThreadQueue.cxx \ |
---|
53 | Time.cxx \ |
---|
54 | ThreadOps.cxx |
---|
55 | |
---|
56 | ## libtool settings |
---|
57 | # API versioning |
---|
58 | # Link against dependencies |
---|
59 | # How to increase version info: |
---|
60 | # - only bug fixes implemented: |
---|
61 | # bump the version to LTZTHREAD_CURRENT:LTZTHREAD_REVISION+1:LTZTHREAD_AGE |
---|
62 | # - augmented the interface: |
---|
63 | # bump the version to LTZTHREAD_CURRENT+1:0:LTZTHREAD_AGE+1 |
---|
64 | # - broken old interface: |
---|
65 | # bump the version to LTZTHREAD_CURRENT+1:0:0 |
---|
66 | LTZTHREAD_CURRENT = 2 |
---|
67 | LTZTHREAD_REVISION = 3 |
---|
68 | LTZTHREAD_AGE = 2 |
---|
69 | libZThread_la_LDFLAGS = -version-info $(LTZTHREAD_CURRENT):$(LTZTHREAD_REVISION):$(LTZTHREAD_AGE) |
---|
70 | |
---|
71 | ## Additional files to include when running 'make dist' |
---|
72 | # Header files. |
---|
73 | EXTRA_DIST = \ |
---|
74 | ConditionImpl.h \ |
---|
75 | Debug.h \ |
---|
76 | DeferredInterruptionScope.h \ |
---|
77 | FastLock.h \ |
---|
78 | FastRecursiveLock.h \ |
---|
79 | IntrusivePtr.h \ |
---|
80 | Monitor.h \ |
---|
81 | MutexImpl.h \ |
---|
82 | RecursiveMutexImpl.h \ |
---|
83 | Scheduling.h \ |
---|
84 | SemaphoreImpl.h \ |
---|
85 | State.h \ |
---|
86 | Status.h \ |
---|
87 | TSS.h \ |
---|
88 | ThreadImpl.h \ |
---|
89 | ThreadOps.h \ |
---|
90 | ThreadQueue.h \ |
---|
91 | TimeStrategy.h \ |
---|
92 | config.h |
---|
93 | |
---|
94 | # Implementation specific files. |
---|
95 | EXTRA_DIST += \ |
---|
96 | linux/AtomicCount.cxx \ |
---|
97 | linux/AtomicFastLock.h \ |
---|
98 | linux/FastRecursiveLock.h \ |
---|
99 | macos/FastLock.h \ |
---|
100 | macos/Monitor.cxx \ |
---|
101 | macos/Monitor.h \ |
---|
102 | macos/TSS.h \ |
---|
103 | macos/ThreadOps.cxx \ |
---|
104 | macos/ThreadOps.h \ |
---|
105 | macos/UpTimeStrategy.h \ |
---|
106 | posix/ConditionRecursiveLock.h \ |
---|
107 | posix/FastLock.h \ |
---|
108 | posix/FtimeStrategy.h \ |
---|
109 | posix/GetTimeOfDayStrategy.h \ |
---|
110 | posix/Monitor.cxx \ |
---|
111 | posix/Monitor.h \ |
---|
112 | posix/PriorityOps.h \ |
---|
113 | posix/TSS.h \ |
---|
114 | posix/ThreadOps.cxx \ |
---|
115 | posix/ThreadOps.h \ |
---|
116 | solaris/FastRecursiveLock.h \ |
---|
117 | vanilla/DualMutexRecursiveLock.h \ |
---|
118 | vanilla/SimpleAtomicCount.cxx \ |
---|
119 | vanilla/SimpleRecursiveLock.h \ |
---|
120 | win32/AtomicCount.cxx \ |
---|
121 | win32/AtomicFastLock.h \ |
---|
122 | win32/AtomicFastRecursiveLock.h \ |
---|
123 | win32/FastLock.h \ |
---|
124 | win32/FastRecursiveLock.h \ |
---|
125 | win32/Monitor.cxx \ |
---|
126 | win32/Monitor.h \ |
---|
127 | win32/PerformanceCounterStrategy.h \ |
---|
128 | win32/TSS.h \ |
---|
129 | win32/ThreadOps.cxx \ |
---|
130 | win32/ThreadOps.h \ |
---|
131 | win9x/AtomicCount.cxx \ |
---|
132 | win9x/AtomicFastLock.h |
---|