-
Notifications
You must be signed in to change notification settings - Fork 30
/
Makefile.am
76 lines (57 loc) · 1.4 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
#
# Copyright (C) 2010-2012 Red Hat, Inc. All rights reserved.
#
# Authors: Fabio M. Di Nitto <fabbione@kronosnet.org>
# Federico Simoncelli <fsimon@kronosnet.org>
#
# This software licensed under GPL-2.0+, LGPL-2.0+
#
MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/build-aux/check.mk
LIBS = -lpthread -lm
libversion = 0:0:0
sources = \
common.c \
crypto.c \
handle.c \
host.c \
listener.c \
link.c \
logging.c \
nsscrypto.c \
threads.c \
threads_heartbeat.c
include_HEADERS = libknet.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libknet.pc
noinst_HEADERS = \
common.h \
crypto.h \
host.h \
internals.h \
link.h \
listener.h \
logging.h \
nsscrypto.h \
onwire.h \
threads.h \
threads_heartbeat.h
lib_LTLIBRARIES = libknet.la
libknet_la_SOURCES = $(sources)
libknet_la_LIBS = -version-info $(libversion)
libknet_la_CFLAGS = $(nss_CFLAGS)
libknet_la_LIBADD = $(nss_LIBS) -lrt
check_PROGRAMS = timediff_test
noinst_PROGRAMS = \
pckt_test \
ping_test \
khandle_test \
$(check_PROGRAMS)
TESTS = $(check_PROGRAMS)
ping_test_SOURCES = ping_test.c
ping_test_LDADD = libknet.la
khandle_test_SOURCES = khandle_test.c
khandle_test_LDADD = libknet.la
pckt_test_SOURCES = pckt_test.c
pckt_test_LDADD = libknet.la
timediff_test_SOURCES = timediff_test.c