COSC_4P82_Assignment_1/lib/beagle-3.0.3/PACC/Threading/Makefile.am

35 lines
969 B
Makefile
Raw Normal View History

2024-02-13 21:21:51 -05:00
PACC_THREADING_SRC_VAR = \
Condition.cpp \
Exception.cpp \
Mutex.cpp \
Semaphore.cpp \
Thread.cpp \
ThreadPool.cpp
paccthreadingdir = $(includedir)/Threading
paccthreading_HEADERS = \
Condition.hpp \
Exception.hpp \
Mutex.hpp \
Semaphore.hpp \
Task.hpp \
Thread.hpp \
ThreadPool.hpp
lib_LTLIBRARIES = libpacc-threading.la
INCLUDES = -I$(top_srcdir)/PACC
libpacc_threading_la_LIBADD = $(top_srcdir)/PACC/Util/libpacc-util.la
libpacc_threading_la_LDFLAGS = -no-undefined -release @PACC_VERSION@
if FAST_COMPILATION
libpacc-threading.cpp:
rm -f libpacc-threading.cpp
echo "// Generated automatically by make" > libpacc-threading.cpp
echo >> libpacc-threading.cpp
echo $(PACC_THREADING_SRC_VAR) | sed -e 's/ *\([a-zA-Z0-9_\-]*\.cpp\)/\#include \"\1\"=/g' | tr '=' '\n' >> libpacc-threading.cpp
clean-generic:
rm -f libpacc-threading.cpp
nodist_libpacc_threading_la_SOURCES = libpacc-threading.cpp
else
libpacc_threading_la_SOURCES = $(PACC_THREADING_SRC_VAR)
endif