-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
42 lines (35 loc) · 839 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
bin_PROGRAMS = esocks
noinst_PROGRAMS = testapp
ACLOCAL_AMFLAGS = -I m4
testapp_SOURCES = testapp.c \
server.c server.h \
log.c log.h \
helper.c helper.h \
crypto.c crypto.h \
lru.c lru.h relay.c
esocks_SOURCES = server.c server.h \
log.c log.h \
helper.c helper.h \
crypto.c crypto.h \
lru.c lru.h \
relay.c daemon.c esocks.c
test: testapp
$(srcdir)/testapp
maintainer-clean-local:
-rm Makefile.in
-rm aclocal.m4
-rm config.guess
-rm config.sub
-rm depcomp
-rm install-sh
-rm ltmain.sh
-rm missing
-rm configure
-rm config.log
-rm config.status
version.h:
ver="#define ESOCKS_VERSION \"$$(git describe --dirty 2>/dev/null)\"" && \
[ "$$(cat version.h 2>/dev/null)" != "$$ver" ] && \
echo "$$ver" > version.h && \
git update-index --assume-unchanged version.h || true
.PHONY: version.h