-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
Makefile.am
42 lines (36 loc) · 966 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
#AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = gwsocket
AUTOMAKE_OPTIONS = subdir-objects
gwsocket_SOURCES = \
src/base64.c \
src/base64.h \
src/gslist.c \
src/gslist.h \
src/gwsocket.c \
src/gwsocket.h \
src/log.c \
src/log.h \
src/sha1.c \
src/sha1.h \
src/websocket.c \
src/websocket.h \
src/xmalloc.c \
src/xmalloc.h
if DEBUG
AM_CFLAGS = -DDEBUG -O0 -g
else
AM_CFLAGS = -O2
endif
AM_LDFLAGS =
if WITH_RDYNAMIC
AM_LDFLAGS += -rdynamic
endif
if HAVE_OPENSSL
AM_LDFLAGS += -rdynamic
endif
AM_CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
AM_CFLAGS += -Wredundant-decls -Wbad-function-cast -Winline -Wcast-align -Wextra
AM_CFLAGS += -Wdeclaration-after-statement -Wno-missing-field-initializers
dist_man_MANS = gwsocket.1