forked from e2guardian/e2guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
executable file
·125 lines (111 loc) · 4.37 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
clean_SUBDIRS= . downloadmanagers contentscanners authplugins
DISTCLEANFILES = Makefile.in
# A MASSIVE thank you to Lawrence Manning for pointing out the
# -export-dynamic option was needed to solve a long problem
# which stopped E22.9 from actually running ever.
# Daniel Barron Fri 18th March 2005
# Unfortunately, since it was never made to work on anything
# other than Linux, libtool support has been removed in favour
# of configure-time options (at DB's request).
if ENABLE_CLAMD
CLAMDSCAN_SOURCE = contentscanners/clamdscan.cpp
else
CLAMDSCAN_SOURCE =
endif
if ENABLE_AVASTD
AVASTDSCAN_SOURCE = contentscanners/avastdscan.cpp
else
AVASTDSCAN_SOURCE =
endif
if ENABLE_ICAP
ICAPSCAN_SOURCE = contentscanners/icapscan.cpp
else
ICAPSCAN_SOURCE =
endif
if ENABLE_KAVD
KAVDSCAN_SOURCE = contentscanners/kavdscan.cpp
else
KAVDSCAN_SOURCE =
endif
if ENABLE_COMMANDLINE
COMMANDLINE_SOURCE = contentscanners/commandlinescan.cpp
else
COMMANDLINE_SOURCE =
endif
DEFAULTDM_SOURCE = downloadmanagers/default.cpp
PROXYAUTH_SOURCE = authplugins/proxy.cpp
IDENTAUTH_SOURCE = authplugins/ident.cpp
IPAUTH_SOURCE = authplugins/ip.cpp
PORTAUTH_SOURCE = authplugins/port.cpp
DIGESTAUTH_SOURCE = authplugins/digest.cpp
HEADERAUTH_SOURCE = authplugins/header.cpp
PFBASICAUTH_SOURCE = authplugins/ProxyFirstBasic.cpp
if ENABLE_NTLM
NTLMAUTH_SOURCE = authplugins/ntlm.cpp
else
NTLMAUTH_SOURCE =
endif
if PRT_DNSAUTH
DNSAUTH_SOURCE = authplugins/dnsauth.cpp
else
DNSAUTH_SOURCE =
endif
sbin_PROGRAMS = e2guardian
e2guardian_CXXFLAGS = $(PCRE_CFLAGS) $(AM_CXXFLAGS)
e2guardian_LDADD = $(PCRE_LIBS) $(AM_LIBS)
e2guardian_CPPFLAGS = -D__CONFFILE='"$(E2CONFFILE)"' \
-D__LOGLOCATION='"$(E2LOGLOCATION)/"' \
-D__PIDDIR='"$(E2PIDDIR)"' \
-D__PROXYUSER='"$(E2PROXYUSER)"' \
-D__PROXYGROUP='"$(E2PROXYGROUP)"' \
-D__CONFDIR='"$(E2CONFDIR)"' \
$(AM_CPPFLAGS)
e2guardian_SOURCES = String.cpp String.hpp \
FDTunnel.cpp FDTunnel.hpp \
ConnectionHandler.cpp ConnectionHandler.hpp \
DataBuffer.cpp DataBuffer.hpp \
HTTPHeader.cpp HTTPHeader.hpp \
ICAPHeader.cpp ICAPHeader.hpp \
NaughtyFilter.cpp NaughtyFilter.hpp \
BackedStore.cpp BackedStore.hpp\
RegExp.cpp RegExp.hpp \
FDFuncs.cpp FDFuncs.hpp \
BaseSocket.cpp BaseSocket.hpp \
Socket.cpp Socket.hpp \
FatController.cpp FatController.hpp \
UDSocket.cpp UDSocket.hpp \
SysV.cpp SysV.hpp \
ListContainer.cpp ListContainer.hpp \
ListMeta.cpp ListMeta.hpp \
StoryBoard.cpp StoryBoard.hpp \
SBFunction.cpp SBFunction.hpp \
HTMLTemplate.cpp HTMLTemplate.hpp \
LanguageContainer.cpp LanguageContainer.hpp \
DynamicURLList.cpp DynamicURLList.hpp \
DynamicIPList.cpp DynamicIPList.hpp \
ImageContainer.cpp ImageContainer.hpp \
IPList.cpp IPList.hpp \
OptionContainer.cpp OptionContainer.hpp \
FOptionContainer.cpp FOptionContainer.hpp \
ListManager.cpp ListManager.hpp \
md5.cpp md5.hpp \
DownloadManager.cpp DownloadManager.hpp \
ConfigVar.cpp ConfigVar.hpp \
ContentScanner.cpp ContentScanner.hpp \
SocketArray.cpp SocketArray.hpp \
DebugManager.cpp DebugManager.hpp \
e2guardian.cpp \ Plugin.hpp \
LOptionContainer.cpp LOptionContainer.hpp \
CertificateAuthority.cpp CertificateAuthority.hpp \
Queue.hpp, UrlRec.hpp, \
Auth.cpp Auth.hpp \
$(ICAPSCAN_SOURCE) \
$(KAVDSCAN_SOURCE) $(CLAMDSCAN_SOURCE) \
$(AVASTDSCAN_SOURCE) \
$(COMMANDLINE_SOURCE) \
$(DEFAULTDM_SOURCE) $(FANCYDM_SOURCE) \
$(TRICKLEDM_SOURCE) $(PROXYAUTH_SOURCE) \
$(IDENTAUTH_SOURCE) $(IPAUTH_SOURCE) \
$(DNSAUTH_SOURCE) $(PORTAUTH_SOURCE) \
$(NTLMAUTH_SOURCE) $(DIGESTAUTH_SOURCE) \
$(HEADERAUTH_SOURCE) $(PFBASICAUTH_SOURCE)