|
@@ -40,6 +40,7 @@ sources_ntkresolv = sources_common + Split("""andns_lib.c ntkresolv.c andns_net.
|
40
|
40
|
crypto.c snsd_cache.c inet.c
|
41
|
41
|
ll_map.c libnetlink.c
|
42
|
42
|
err_errno.c""")
|
|
43
|
+sources_ntkconsole = Split('ntk-console.c')
|
43
|
44
|
|
44
|
45
|
libs = ['gmp', 'pthread', 'crypto', 'z']
|
45
|
46
|
|
|
@@ -153,8 +154,9 @@ build_config_files(env = env)
|
153
|
154
|
ntkd = env.Program('ntkd', sources_netsukuku, LIBS = libs, CPPPATH = '.')
|
154
|
155
|
qspn = env.Program('qspn-empiric', sources_qspn, LIBS = libs, CPPPATH = '.')
|
155
|
156
|
ntkresolv = env.Program('ntk-resolv', sources_ntkresolv, LIBS = libs, CPPPATH = '.')
|
|
157
|
+ntkconsole = env.Program('ntk-console', sources_ntkconsole, LIBS = libs, CPPPATH = '.', CFLAGS = '-std=c99')
|
156
|
158
|
|
157
|
|
-Default(ntkd, ntkresolv)
|
|
159
|
+Default(ntkd, ntkresolv, ntkconsole)
|
158
|
160
|
|
159
|
161
|
|
160
|
162
|
#
|
|
@@ -171,6 +173,7 @@ idir_pid = '$destdir' + '$PID_DIR'
|
171
|
173
|
|
172
|
174
|
env.Install(idir_bin, [ntkd])
|
173
|
175
|
env.Install(idir_bin, [ntkresolv])
|
|
176
|
+env.Install(idir_bin, [ntkconsole])
|
174
|
177
|
env.Alias('install', [idir_bin, idir_conf])
|
175
|
178
|
|
176
|
179
|
#Dirty hack ;( Why GetOption("install") doesn't work?
|