1 # Build rules for the multithreading library
3 THREAD_SRC_DIR
= $(SRC
)/Thread
6 $(SRC
)/Poco
/RWLock.
cpp \
7 $(THREAD_SRC_DIR
)/Thread.
cpp \
8 $(THREAD_SRC_DIR
)/SuspensibleThread.
cpp \
9 $(THREAD_SRC_DIR
)/RecursivelySuspensibleThread.
cpp \
10 $(THREAD_SRC_DIR
)/WorkerThread.
cpp \
11 $(THREAD_SRC_DIR
)/StandbyThread.
cpp \
12 $(THREAD_SRC_DIR
)/Mutex.
cpp \
13 $(THREAD_SRC_DIR
)/Debug.
cpp
15 # this is needed to compile Notify.cpp, which depends on the screen
16 # library's event queue
17 THREAD_CPPFLAGS_INTERNAL
= $(SCREEN_CPPFLAGS
)
19 $(eval
$(call link-library
,libthread
,THREAD
))