-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
38 lines (31 loc) · 1.05 KB
/
Makefile.am
File metadata and controls
38 lines (31 loc) · 1.05 KB
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
AUTOMAKE_OPTIONS = foreign
lib_LTLIBRARIES = libhttpio.la
libhttpio_la_SOURCES = \
src/http-connection.c \
src/http-post-parameters.c \
src/http-protocol.c \
src/http-util.c \
src/http-ssl.c \
src/http-websockets.c
libhttpio_la_CFLAGS = $(CFLAGS) -I$(srcdir)/include
libhttpio_la_LIBADD = $(LDFLAGS)
httpiodir = $(includedir)/httpio
httpio_HEADERS = \
include/http-connection.h \
include/http-post-parameters.h \
include/http-protocol.h \
include/http-ssl.h \
include/http-util.h \
include/http-websockets.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libhttpio.pc
CPPCHECKOPTS = warning,style,performance
clang-analyze: $(libhttpio_la_SOURCES:.c=.clang-analyze)
@true
cppcheck: $(libhttpio_la_SOURCES:.c=.cppcheck)
@true
%.cppcheck: %.c
@echo "-- CPPCHECK $<"
cppcheck --language=c --enable=$(CPPCHECKOPTS) --template='{file}:{line}:4: {severity}:{message}' $<
%.clang-analyze: %.c
@clang --analyze $(libhttpio_la_CFLAGS) $<