bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pfinet, it now compiles (with this patch ;)


From: James A Morrison
Subject: pfinet, it now compiles (with this patch ;)
Date: Fri, 31 May 2002 19:46:41 -0400 (EDT)

2002-05-31  James A. Morrison  <ja2morri@uwaterloo.ca>

        * Makefile (LINUXSRCS): Removed Search for .S files.
        (LINUXASMS): New Variable to hold .S files.
        (arch-lib-asms): New Variable to hold .S filenames.
        (OBJS): Pattern substitute .S to .o.

Index: Makefile
===================================================================
RCS file: /cvsroot/hurd/hurd/pfinet/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile    31 May 2002 22:55:33 -0000      1.32
+++ Makefile    31 May 2002 23:42:21 -0000
@@ -30,6 +30,7 @@
                   sock.c                                                     \
                   utils.c
 arch-lib-srcs   := checksum.c old-checksum.c csum_partial_copy.c
+arch-lib-asms   := checksum.S
 ethernet-srcs  := eth.c
 ipv4-srcs      := af_inet.c                                                  \
                   arp.c                                                      \
@@ -61,14 +62,18 @@
 LINUXSRCS      = $(core-srcs) $(ethernet-srcs) $(ipv4-srcs) \
                  $(notdir $(wildcard $(addprefix \
                           $(srcdir)/linux-src/arch/$(asm_syntax)/lib/,\
-                          $(arch-lib-srcs) $(arch-lib-srcs:.c=.S))))
+                          $(arch-lib-srcs))))
+LINUXASMS       = $(notdir $(wildcard $(addprefix \
+                          $(srcdir)/linux-src/arch/$(asm_syntax)/lib/,\
+                          $(arch-lib-asms))))
 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)) \
+                 $(patsubst %.S,%.o,$(LINUXASMS))
 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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]