diff options
| author | Eudald Gubert i Roldan <hola@eudald.gr> | 2020-04-03 20:17:52 +0200 |
|---|---|---|
| committer | Raspbeguy <raspbeguy@users.noreply.github.com> | 2020-04-06 13:58:06 +0200 |
| commit | 73c9c332463b4c0d744a5cb1f570609f1e19ea26 (patch) | |
| tree | 0d7d0cf5ae491540f64f8c8e061fd543e0bd95fa /config.mk | |
| parent | a7fb9a80ce0c6021096b34b170f771a1bff022f7 (diff) | |
| download | btpd-73c9c332463b4c0d744a5cb1f570609f1e19ea26.tar.gz btpd-73c9c332463b4c0d744a5cb1f570609f1e19ea26.zip | |
Removed automake dependency
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..3bb1968 --- /dev/null +++ b/config.mk @@ -0,0 +1,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 + +# 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}} |