File: Makefile.am

package info (click to toggle)
tntnet 1.5.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,004 kB
  • ctags: 2,381
  • sloc: cpp: 13,553; sh: 8,997; ansic: 1,604; makefile: 573; sql: 10
file content (40 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
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
bin_PROGRAMS = tntnet

tntnet_SOURCES = \
	dispatcher.cpp \
	job.cpp \
	listener.cpp \
	poller.cpp \
	regex.cpp \
	worker.cpp \
	tntnet.cpp \
	tnt/dispatcher.h \
	tnt/job.h \
	tnt/listener.h \
	tnt/poller.h \
	tnt/regex.h \
	tnt/ssl.h \
	tnt/worker.h \
	tnt/tntnet.h

tntnet_LDFLAGS = -lpthread
tntnet_LDADD = $(top_builddir)/framework/common/libtntnet.la
tntnet_CXXFLAGS=-DTNTNET_CONF=\"@sysconfdir@/tntnet/tntnet.conf\" -DTNTNET_PID=\"@localstatedir@/tntnet.pid\"

if MAKE_GNUTLS
tntnet_SOURCES += \
	gcryptinit.c \
	tnt/gcryptinit.h \
	gnutls.cpp \
	tnt/gnutls.h
tntnet_LDFLAGS += `libgnutls-config --libs`
tntnet_CXXFLAGS += `libgnutls-config --cflags`
endif

if MAKE_OPENSSL
tntnet_SOURCES += \
	openssl.cpp \
	tnt/openssl.h
tntnet_LDFLAGS += -lssl -lcrypto
endif