blob: 2f923361dd765d418827452296520e2e4b009bb2 (
plain)
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
|
# btpd version
NAME = btpd
VERSION = 0.16
# paths
PREFIX = /usr
MANPREFIX = ${PREFIX}/share/man
MISC = ./misc
EVLOOP = ./evloop
# includes and libs
INCS = -I${MISC} -I${EVLOOP}
LIBS = -lcrypto -lm -lpthread
# flags
CPPFLAGS = ${INCS} -DHAVE_CLOCK_MONOTONIC=1 -DEVLOOP_NONE
CFLAGS = -march=native -pipe -O3 -fno-math-errno
LDFLAGS = ${LIBS}
DEFS = -DPACKAGE_NAME=\"${NAME}\" -DPACKAGE_VERSION=\"${VERSION}\"
# compiler
CC = gcc
# excluded
EVLOOP_SRC := ${filter-out evloop/poll.c evloop/epoll.c evloop/kqueue.c, ${EVLOOP_SRC}}
|