-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
-
noinst_LTLIBRARIES = libcompat.la
-libcompat_la_SOURCES =
+libcompat_la_SOURCES = compat_uuid.c \
+ compat_mman.c \
+ logging.c logging.h
libcompat_la_LDFLAGS = \
- -Wl,--no-as-needed
+ $(LD_NO_AS_NEEDED)
if BABELTRACE_BUILD_WITH_MINGW
-libcompat_la_SOURCES += compat_uuid.c
+libcompat_la_LDFLAGS += -lrpcrt4
endif