-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
47 lines (31 loc) · 932 Bytes
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST = autogen.sh ChangeLog README.md LICENSE
AM_CPPFLAGS = -g -Wall -Werror -I${srcdir}/include -I${srcdir}/src
AM_CPPFLAGS += @OAUTH2_CFLAGS@ @XML_CFLAGS@
AM_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS) $(CODE_COVERAGE_CFLAGS)
AM_LDFLAGS = --coverage
LIBS += @OAUTH2_LIBS@ @XML_LIBS@
LIBS += $(CODE_COVERAGE_LIBS)
lib_LTLIBRARIES = liboauth2_sts.la
includesubdir = $(includedir)/oauth2
includesub_HEADERS = \
include/oauth2/sts.h
liboauth2_sts_la_SOURCES = \
src/sts_int.h \
src/sts.c \
src/wstrust.c \
src/ropc.c \
src/cc.c \
src/otx.c \
src/jwt.c
if HAVE_CHECK
TESTS = check_liboauth2_sts
check_PROGRAMS = $(TESTS)
check_liboauth2_sts_SOURCES = \
test/check_liboauth2_sts.c
check_liboauth2_sts_CFLAGS = $(AM_CFLAGS) @CHECK_CFLAGS@
check_liboauth2_sts_LDADD = liboauth2_sts.la @CHECK_LIBS@
endif
@CODE_COVERAGE_RULES@
clang-format:
clang-format -style=file -i `find . -name *.[ch]`