1 # $NetBSD: Makefile,v 1.1 2013/02/23 14:16:50 jmmv Exp $
20 COPTS.memory.
cpp+= -Wno-unused-function
21 .
endif # defined(__MINIX)
23 SRCS
+= cmdline
/base_command.
cpp \
24 cmdline
/exceptions.
cpp \
31 SRCS
+= config
/exceptions.
cpp \
33 config
/lua_module.
cpp \
38 SRCS
+= format
/exceptions.
cpp \
41 SRCS
+= fs
/auto_cleaners.
cpp \
47 SRCS
+= logging
/operations.
cpp
49 SRCS
+= process
/child.
cpp \
50 process
/exceptions.
cpp \
51 process
/fdstream.
cpp \
56 SRCS
+= signals
/exceptions.
cpp \
57 signals
/interrupts.
cpp \
59 signals
/programmer.
cpp
61 SRCS
+= sqlite
/c_gate.
cpp \
63 sqlite
/exceptions.
cpp \
64 sqlite
/statement.
cpp \
65 sqlite
/transaction.
cpp
67 SRCS
+= text
/exceptions.
cpp \
72 # The subdirectories into which we recurse only exist to create the necessary
73 # obj directories for the above SRCS declarations to work. We need to be able
74 # to create object files of the form <subdirectory>/<file>.o, and therefore
75 # the subdirectory must exist upfront.
77 # Note that there are source files of the same name in various subdirectories,
78 # so we just cannot use .PATH to look for files in all of them at once.
80 # TODO: Would be nice if bsd.obj.mk (or whichever other module) did the right
81 # thing here and just created these obj directories for us. Or, alternatively,
82 # we could have every subdirectory Makefile create a temporary .a and we could
83 # pull all the .a files together from here into libutil.a.
84 SUBDIR
= cmdline config format fs logging process signals sqlite text
86 clean-
${dir} cleandir-
${dir} includes-
${dir}: .PHONY
90 .
include <bsd.subdir.mk
>