summaryrefslogtreecommitdiff
path: root/pfinet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r--pfinet/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/pfinet/Makefile b/pfinet/Makefile
index 35e30baa..959af6b3 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -29,7 +29,7 @@ core-srcs := datagram.c \
skbuff.c \
sock.c \
utils.c
-arch-lib-srcs := checksum.c old-checksum.c
+arch-lib-srcs := checksum.c old-checksum.c csum_partial_copy.c
ethernet-srcs := eth.c
ipv4-srcs := af_inet.c \
arp.c \
@@ -58,14 +58,17 @@ ipv4-srcs := af_inet.c \
timer.c \
udp.c \
utils.c
-LINUXSRCS = $(core-srcs) $(ethernet-srcs) $(ipv4-srcs) $(arch-lib-srcs)
+LINUXSRCS = $(core-srcs) $(ethernet-srcs) $(ipv4-srcs) \
+ $(notdir $(wildcard $(addprefix \
+ $(srcdir)/linux-src/arch/$(asm_syntax)/lib/,\
+ $(arch-lib-srcs))))
SRCS = sched.c timer-emul.c socket.c main.c ethernet.c \
io-ops.c socket-ops.c misc.c time.c options.c loopback.c \
kmem_cache.c stubs.c dummy.c tunnel.c pfinet-ops.c \
iioctl-ops.c
MIGSRCS = ioServer.c socketServer.c startup_notifyServer.c \
pfinetServer.c iioctlServer.c
-OBJS := $(patsubst %.c,%.o,$(LINUXSRCS) $(SRCS) $(MIGSRCS))
+OBJS = $(patsubst %.c,%.o,$(LINUXSRCS) $(SRCS) $(MIGSRCS))
LCLHDRS = config.h mapped-time.h mutations.h pfinet.h
LINUXHDRS = arp.h datalink.h eth.h icmp.h ip.h ipx.h ipxcall.h p8022.h \
p8022call.h protocol.h psnap.h psnapcall.h \