summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk9
-rw-r--r--project/common.mk1
-rw-r--r--project/tree.mk1
3 files changed, 11 insertions, 0 deletions
diff --git a/project/arch.mk b/project/arch.mk
index 458db3e..7040e88 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -12,6 +12,15 @@ src/process/%.lo: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag
src/process/%.o: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
$(CC) -c -o $@ $<
+# seh
+src/seh/%.lo: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
+ $(CC) -c -o $@ $< $(CFLAGS_SHARED)
+
+src/seh/%.o: $(SOURCE_DIR)/src/seh/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag
+ $(CC) -c -o $@ $< $(CFLAGS_STATIC)
+
shared-objs-asm: src/process/tt_fork_v1.lo
+shared-objs-asm: src/seh/ntapi_tt_seh_frame.lo
static-objs-asm: src/process/tt_fork_v1.o
+static-objs-asm: src/seh/ntapi_tt_seh_frame.o
diff --git a/project/common.mk b/project/common.mk
index c0e9070..ef8b350 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -47,6 +47,7 @@ COMMON_SRCS = \
src/pty/ntapi_pty_ioctl.c \
src/pty/ntapi_pty_query.c \
src/pty/ntapi_pty_set.c \
+ src/seh/ntapi_tt_seh_frame.c \
src/section/ntapi_tt_get_section_name.c \
src/socket/ntapi_sc_accept.c \
src/socket/ntapi_sc_bind_v1.c \
diff --git a/project/tree.mk b/project/tree.mk
index baabe2d..9d44b3e 100644
--- a/project/tree.mk
+++ b/project/tree.mk
@@ -14,6 +14,7 @@ tree.tag:
mkdir -p src/process
mkdir -p src/pty
mkdir -p src/section
+ mkdir -p src/seh
mkdir -p src/socket
mkdir -p src/string
mkdir -p src/sync