-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
85 lines (65 loc) · 1.48 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
## Process this file with automake to produce Makefile.in
include aminclude.am
ACLOCAL_AMFLAGS = -I m4
if DX_COND_man
# You'd probably want to post-process man pages and installed the patched
# versions.
#man3_MANS = @DX_DOCDIR@/man/man3/teonet.c.1
man3_MANS = @DX_DOCDIR@/man/man3/*.3
$(man3_MANS): doxygen-doc
DX_CLEANFILES = -rf @DX_DOCDIR@/*
endif
SUBDIRS = \
libs/libtuntap \
embedded/libpbl/src \
src \
app \
tests \
examples \
sh \
po \
# end of SUBDIRS
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = src/libteonet.pc
teonetdocdir = ${prefix}/doc/teonet
teonetdoc_DATA = \
README \
COPYING \
AUTHORS \
ChangeLog \
INSTALL \
NEWS \
# end of teonetdoc_DATA
teonetsysconfdir = ${sysconfdir}/teonet
#teonetsysconf_DATA = conf/teonet.conf \
# conf/teonet-8005.conf
INTLTOOL_FILES = intltool-extract.in \
intltool-merge.in \
intltool-update.in \
# end of INTLTOOL_FILES
EXTRA_DIST = \
$(teonetdoc_DATA) \
$(INTLTOOL_FILES) \
$(DX_CONFIG) \
# tests/test-suite.sh \
# end of EXTRA_DIST
DISTCLEANFILES = intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache \
@DX_DOCDIR@ \
# end of DISTCLEANFILES
MOSTLYCLEANFILES = $(DX_CLEANFILES)
# Remove doc directory on un-install
uninstall-local:
-rm -r $(teonetdocdir)
-rm -r $(teonetsysconfdir)
run: app/teovpn
app/teovpn just-make --port=9057
build-tests:
tests/test_teonet
test: tests/test_teonet
tests/test_teonet
deb-package:
sh/make_libtuntap.sh
sh/make_deb.sh @PACKAGE_VERSION@