Commits

Jeremy Rossi committed 3b15040

more waf

Comments (0)

Files changed (3)

src/os_rootcheckd/wscript

                 check_rc_dev.c check_rc_ports.c check_rc_policy.c common.c common_rcl.c 
                 win-common.c unix-process.c check_rc_files.c check_rc_readproc.c 
                 os_string.c check_rc_if.c check_rc_sys.c rootcheck.c"""
+    ctx.objects(
+        source = COREF, 
+        target = "os_rootcheck_objs",
+        defines = ['ARGV0="ossec-rootcheckd"', '_GNU_SOURCE'],
+        includes = ".",
+        export_includes = ".",
+        use = "os_headers os_zlib os_core",
+    )
     ctx.stlib(
-        source = COREF + " config.c",
+        source = "config.c",
         target = "os_rootcheckd",
         defines = ['ARGV0="ossec-rootcheckd"', '_GNU_SOURCE'],
         includes = ".",
         export_includes = '.',
-        use = "os_headers os_zlib os_core",
+        use = "os_headers os_zlib os_core os_rootcheck_objs",
     )
-    x="""
     ctx.program(
         source = "rootcheck-config.c",
         target = "ossec-rootcheck",
-        defines = ['ARGV0="ossec-rootcheckd"', '_GNU_SOURCE', 'OSSECHIDS'],
-        use = "os_headers os_rootcheckd os_zlib os_core",
+        defines = ['ARGV0="ossec-rootcheck"', '_GNU_SOURCE', 'OSSECHIDS'],
+        use = "os_headers os_zlib os_core os_rootcheck_objs",
     )
-    """

src/os_syscheckd/wscript

         target = "ossec-syscheckd",
         defines = ['ARGV0="ossec-syscheckd"'],
         includes = ".",
-        use = "os_headers os_rootcheckd os_core os_rootcheckd",
+        use = "os_headers os_regex os_xml os_core os_rootcheckd",
     )
     ctx.recurse("os_kvd")
     ctx.recurse("os_dbd os_maild os_logcollectord os_monitord os_agentlessd os_remoted os_agentd os_execd")
     ctx.recurse("os_analysisd")
-    ctx.recurse("os_rootcheckd os_syscheckd")
+    #ctx.recurse("os_rootcheckd os_syscheckd")
     ctx.recurse("libos_cli")
     ctx.recurse("util")
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.