-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
47 lines (37 loc) · 987 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
SUBDIRS = lib/libdynamic lib/libreactor .
install installdirs: SUBDIRS =
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
AM_CFLAGS = -std=gnu11
EXTRA_DIST = Dockerfile
bin_PROGRAMS = \
bin/pounce
POUNCE_SOURCE_FILES = \
src/main.c \
src/pounce.c \
src/url.c \
src/worker.c \
src/stats.c \
src/connection.c \
src/net.c \
src/http_client.c
POUNCE_HEADER_FILES = \
src/pounce.h \
src/url.h \
src/worker.h \
src/stats.h \
src/connection.h \
src/net.h \
src/http_client.h
bin_pounce_SOURCES = $(POUNCE_SOURCE_FILES) $(POUNCE_HEADER_FILES)
bin_pounce_LDADD = lib/libreactor/libreactor.la lib/libdynamic/libdynamic.la -lm
bin_pounce_LDFLAGS = -pthread
MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in
maintainer-clean-local:
rm -rf autotools m4
indent:
clang-format -i src/*.c
docker-build:
docker build -t pounce-sdk .
id=$$(docker create pounce-sdk); docker cp $$id:/pounce-1.0.0/bin/pounce pounce; docker rm -v $$id
.PHONY: indent