summaryrefslogtreecommitdiff
path: root/accel-pptpd/CMakeLists.txt
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-03 18:58:53 +0400
committerKozlov Dmitry <dima@server>2010-09-03 18:58:53 +0400
commite8aa3a1457295f70f8ccc9cd7f2f9073f01a5e2e (patch)
tree17a99610798630e83fc1032c82ee51c404ce19fe /accel-pptpd/CMakeLists.txt
parenta22573e91dac7971aa4c9b1d874d6751e8502d16 (diff)
downloadaccel-ppp-e8aa3a1457295f70f8ccc9cd7f2f9073f01a5e2e.tar.gz
accel-ppp-e8aa3a1457295f70f8ccc9cd7f2f9073f01a5e2e.zip
project restructured
Diffstat (limited to 'accel-pptpd/CMakeLists.txt')
-rw-r--r--accel-pptpd/CMakeLists.txt42
1 files changed, 19 insertions, 23 deletions
diff --git a/accel-pptpd/CMakeLists.txt b/accel-pptpd/CMakeLists.txt
index fc6ac0ed..64f351fa 100644
--- a/accel-pptpd/CMakeLists.txt
+++ b/accel-pptpd/CMakeLists.txt
@@ -3,35 +3,31 @@ cmake_minimum_required(VERSION 2.6)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fvisibility=hidden -D_GNU_SOURCE")
+INCLUDE_DIRECTORIES(include)
+
ADD_SUBDIRECTORY(triton)
+ADD_SUBDIRECTORY(ctrl)
+ADD_SUBDIRECTORY(auth)
ADD_EXECUTABLE(pptpd
- pptp.c
+ ppp/ppp.c
+ ppp/ppp_fsm.c
+ ppp/ppp_lcp.c
+ ppp/lcp_opt_mru.c
+ ppp/lcp_opt_magic.c
+ ppp/lcp_opt_pcomp.c
+ ppp/lcp_opt_accomp.c
+ ppp/ppp_auth.c
+ ppp/ppp_ipcp.c
+ ppp/ipcp_opt_ipaddr.c
+ ppp/ipcp_opt_dns.c
+ ppp/ppp_ccp.c
+
log.c
- ppp.c
- ppp_fsm.c
-
- ppp_lcp.c
- lcp_opt_mru.c
- lcp_opt_magic.c
- lcp_opt_pcomp.c
- lcp_opt_accomp.c
-
- ppp_auth.c
- auth_pap.c
- auth_chap_md5.c
- auth_mschap_v1.c
- auth_mschap_v2.c
-
- ppp_ipcp.c
- ipcp_opt_ipaddr.c
- ipcp_opt_dns.c
-
- ppp_ccp.c
-
pwdb.c
ipdb.c
main.c
)
-TARGET_LINK_LIBRARIES(pptpd pthread triton ssl rt)
+TARGET_LINK_LIBRARIES(pptpd triton rt pthread ssl)
+