-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathSSNFS.pro
48 lines (38 loc) · 1.05 KB
/
SSNFS.pro
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
# SSNFS v0.1
#
# Available under the license(s) specified at https://github.com/MDTech-us-MAN/SSNFS.
#
# Copyright 2018 Maxwell Dreytser
#
TEMPLATE = subdirs
isEmpty(PREFIX) {
CONFIG(debug, debug|release) {
PREFIX = $$OUT_PWD
} else {
PREFIX = /usr/local
}
}
system("echo DEFINES += ISGLOBAL=1 > $$OUT_PWD/.qmake.cache")
system("echo PREFIX = $$PREFIX >> $$OUT_PWD/.qmake.cache")
CONFIG(release, debug|release):system("echo DEFINES += QT_NO_DEBUG_OUTPUT >> $$OUT_PWD/.qmake.cache")
QMAKE_DISTCLEAN += $$OUT_PWD/.qmake.cache
SUBDIRS += fastpbkdf2
server {
message(Building server component.)
SUBDIRS += SSNFSd/PH7 \
SSNFSd
SSNFSd.depends = SSNFSd/PH7 fastpbkdf2
}
client {
message(Building client component.)
SUBDIRS += SSNFS-client
SSNFS-client.depends = fastpbkdf2
}
!server:!client {
message(Building both client and server component.)
SUBDIRS += SSNFSd/PH7 \
SSNFSd
SSNFSd.depends = SSNFSd/PH7 fastpbkdf2
SUBDIRS += SSNFS-client
SSNFS-client.depends = fastpbkdf2
}