-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile.am
33 lines (23 loc) · 1.02 KB
/
Makefile.am
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
29
30
31
32
33
#######################################
# The list of libraries we are building seperated by spaces.
# The 'lib_' indicates that these build products will be installed
# in the $(libdir) directory. For example /usr/lib
lib_LTLIBRARIES = lib@[email protected]
#######################################
# Build information for each library
library_include_at_parsedir=$(includedir)/@PACKAGE_NAME@
library_include_at_parse_HEADERS = cobs.h cobsr.h
lib@PACKAGE_NAME@_la_SOURCES = cobs.c cobsr.c
lib@PACKAGE_NAME@_la_LDFLAGS = -version-info @LIB_SO_VERSION@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @[email protected]
#######################################
# Tests
TESTS = test-cobs test-cobsr
check_PROGRAMS = test-cobs test-cobsr
test_cobs_SOURCES = tests-c/test-cobs.c tests-c/unity/unity.c
test_cobs_CFLAGS = -I${srcdir}/tests-c/unity
test_cobs_LDADD = lib@[email protected]
test_cobsr_SOURCES = tests-c/test-cobsr.c tests-c/unity/unity.c
test_cobsr_CFLAGS = -I${srcdir}/tests-c/unity
test_cobsr_LDADD = lib@[email protected]