1 # Build rules for the OS specific utility/abstraction library
6 $(OS_SRC_DIR
)/Clock.
cpp \
7 $(OS_SRC_DIR
)/SocketAddress.
cpp \
8 $(OS_SRC_DIR
)/SocketDescriptor.
cpp \
9 $(OS_SRC_DIR
)/FileDescriptor.
cpp \
10 $(OS_SRC_DIR
)/FileMapping.
cpp \
11 $(OS_SRC_DIR
)/FileUtil.
cpp \
12 $(OS_SRC_DIR
)/PathName.
cpp \
13 $(OS_SRC_DIR
)/SystemLoad.
cpp
15 ifeq ($(HAVE_POSIX
),y
)
17 $(OS_SRC_DIR
)/Poll.
cpp \
18 $(OS_SRC_DIR
)/EventPipe.
cpp
22 OS_SOURCES
+= $(OS_SRC_DIR
)/MemInfo.
cpp
25 $(eval
$(call link-library
,libos
,OS
))
27 ifeq ($(HAVE_POSIX
),n
)
29 OS_LDLIBS
+= -lwinsock