File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,16 @@ include_directories(${OVERLAY_CLENT_PATH})
38
38
link_directories (${PCLSYNC_PATH} ${MBEDTLS_PATH} /library ${SQLITE3_PATH} ${OVERLAY_CLENT_PATH} )
39
39
40
40
41
- add_executable (pcl_client main.cpp pclsync_lib.cpp control_tools.cpp ${OVERLAY_CLENT_PATH} /overlay_client.c ${OVERLAY_CLENT_PATH} /debug.c )
41
+ add_executable (pcl_client main.cpp pclsync_lib.cpp control_tools.cpp ${OVERLAY_CLENT_PATH} /overlay_client.c ${OVERLAY_CLENT_PATH} /debug.c ${SQLITE3_PATH} /sqlite3.c )
42
42
43
43
44
- target_link_libraries (pcl_client psynclib mbedtls sqlite3 fuse pthread z
44
+ target_link_libraries (pcl_client psynclib mbedtls fuse pthread z dl
45
45
)
46
46
47
47
target_link_libraries (pcl_client ${Boost_LIBRARIES} )
48
48
49
- add_dependencies (pcl_client pclsync_clean pclsync sqlite3_lib )
49
+ add_dependencies (pclsync sqlite3_lib )
50
+
51
+ add_dependencies (pcl_client sqlite3_lib pclsync )
50
52
51
53
install (TARGETS pcl_client RUNTIME DESTINATION bin )
Original file line number Diff line number Diff line change 15
15
#include < string.h>
16
16
#include < map>
17
17
#include < string>
18
- #include < apr-1.0/apr_poll.h>
19
18
20
19
namespace control_tools {
21
20
Original file line number Diff line number Diff line change 22
22
UNAME_S := $(shell uname -s)
23
23
UNAME_V := $(shell uname -v)
24
24
ifeq ($(UNAME_S),Linux)
25
- CFLAGS += -DP_OS_LINUX
25
+ CFLAGS += -DP_OS_LINUX -I../sqlite
26
26
ifneq (,$(findstring Debian,$(UNAME_V)))
27
27
CFLAGS += -DP_OS_DEBIAN
28
28
endif
@@ -55,7 +55,7 @@ ifeq ($(USESSL),securetransport)
55
55
endif
56
56
ifeq ($(USESSL ) ,mbed)
57
57
OBJ += pssl-mbedtls.o
58
- CFLAGS += -DP_SSL_MBEDTLS -I./lib/ mbedtls/include/
58
+ CFLAGS += -DP_SSL_MBEDTLS -I../ mbedtls/include
59
59
endif
60
60
61
61
OBJ1 =overlay_client.o
Original file line number Diff line number Diff line change 32
32
#include < iosfwd>
33
33
#include < string>
34
34
#include < boost/shared_ptr.hpp>
35
+ #include < iostream>
35
36
36
37
struct pstatus_struct_ ;
37
38
You can’t perform that action at this time.
0 commit comments