summaryrefslogtreecommitdiffstats
path: root/eurephiadm/CMakeLists.txt
blob: 0e40aa914e78e014d4dc42e225f785bcf2d3aba0 (plain)
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
PROJECT(eurephiadm C)
cmake_minimum_required(VERSION 2.6)

SET(efw_ipt_SRC
        eurephiadm.c
        argparser.c
        get_console_input.c
        client_config.c
        client_context.c
        client_session.c
        parse_certificate_files.c
        commands/users.c
        commands/lastlog.c
        commands/certificates.c
        commands/usercerts.c
        commands/adminaccess.c
        commands/edit_config.c
        ../common/eurephia_log.c
        ../common/eurephia_getsym.c
        ../common/eurephia_values.c
        ../common/eurephiadb_session_common.c
        ../common/eurephia_xml.c
        ../common/passwd.c
        ../common/sha512.c
        ../common/randstr.c
        ../common/certinfo.c
        ../database/eurephiadb.c
)

IF(FIREWALL)
        ADD_DEFINITIONS(-DFIREWALL)

ENDIF(FIREWALL)


SET(EUREPHIADM_XSLT_PATH "${XSLTROOT}/eurephiadm/" CACHE STRING "Path for eurephiadm XSLT templates")
ADD_DEFINITIONS(-DEUREPHIADM_XSLT_PATH="${EUREPHIADM_XSLT_PATH}")

INCLUDE_DIRECTORIES(../common ../database)
ADD_EXECUTABLE(eurephiadm ${efw_ipt_SRC})
TARGET_LINK_LIBRARIES(eurephiadm dl crypto ${EXTRA_LIBS})