Makefile.am 1.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
AUTOMAKE_OPTIONS = subdir-objects
#bin_PROGRAMS = dtcpip_mock_lib
lib_LTLIBRARIES=libdtcpip.la
libdtcpip_la_SOURCES = \
                        MockDLL.c \
                        MockDLL.h \
                        mpe_error.h \
                        mpe_types.h \
                        os_error.h \
                        os_util_common.h
libdtcpip_la_LDFLAGS = -version-info 1:0:0
if LINUX
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/linux -I$(srcdir)/linux/include
libdtcpip_la_SOURCES += \
                           linux/mock_sync.h \
                           linux/mock_sync.c \
                           linux/include/os_types.h \
                           linux/include/os_sync.h
libdtcpip_la_CFLAGS = -pthread
else
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/win32 -I$(srcdir)/win32/include
libdtcpip_la_SOURCES += \
                           win32/mock_sync.h \
                           win32/mock_sync.c \
                           win32/include/os_types.h \
                           win32/include/os_sync.h
endif