#
-# Copyright 2003 Free Software Foundation, Inc.
+# Copyright 2003,2008 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# we should do some configure hacking to determine these on the fly
OMNITHREAD_DEFINES = -DPthreadDraftVersion=10
-INCLUDES = $(DEFINES) $(OMNITHREAD_DEFINES) $(OMNITHREAD_INCLUDES)
+AM_CPPFLAGS = $(DEFINES) $(OMNITHREAD_DEFINES) $(OMNITHREAD_INCLUDES) \
+ $(WITH_INCLUDES)
# we call it libgromnithread to avoid a collision with libomnithread on Debian
lib_LTLIBRARIES = libgromnithread.la
if OMNITHREAD_POSIX
libgromnithread_la_SOURCES = \
+ omni_time.cc \
posix.cc
endif
if OMNITHREAD_NT
libgromnithread_la_SOURCES = \
+ omni_time.cc \
nt.cc
endif
-libgromnithread_la_LDFLAGS = $(NO_UNDEFINED) -avoid-version
+libgromnithread_la_LDFLAGS = $(NO_UNDEFINED)
libgromnithread_la_LIBADD = \
$(PTHREAD_LIBS)
grinclude_HEADERS = \
omnithread.h \
+ omni_time.h \
ot_mach.h \
ot_nt.h \
ot_posix.h \