diff options
-rw-r--r-- | pfinet/Makefile | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/pfinet/Makefile b/pfinet/Makefile index ecd16dac..9dff21c1 100644 --- a/pfinet/Makefile +++ b/pfinet/Makefile @@ -26,9 +26,18 @@ LINUXSRCS= af_inet.c arp.c datagram.c dev.c dev_mcast.c devinet.c eth.c \ tcp.c timer.c udp.c utils.c UNUSEDSRC = packet.c ipx.c ip_fw.c p8022.c p8023.c pe2.c psnap.c rarp.c SRCS = sched.c timer-emul.c devices.c socket.c main.c ethernet.c \ - io-ops.c socket-ops.c misc.c + io-ops.c socket-ops.c misc.c time.c MIGSRCS = ioServer.c socketServer.c OBJS= $(subst .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 rarp.h raw.h route.h \ + snmp.h sock.h tcp.h udp.h +FROBBEDLINUXHEADERS = autoconf.h config.h errno.h etherdevice.h fcntl.h \ + icmp.h if.h if_arp.h if_ether.h igmp.h in.h inet.h interrupt.h \ + ip.h ip_fw.h ipx.h kernel.h major.h malloc.h mm.h net.h netdevice.h \ + notifier.h param.h route.h sched.h skbuff.h socket.h sockios.h stat.h \ + string.h tcp.h termios.h time.h timer.h types.h udp.h un.h wait.h pfinet: $(OBJS) ../libtrivfs/libtrivfs.a ../libthreads/libthreads.a ../libports/libports.a ../libihash/libihash.a @@ -47,3 +56,17 @@ socket-MIGSFLAGS = -imacros $(srcdir)/mutations.h io_S.h ioServer.c socket_S.h socketServer.c: mutations.h $(OBJS): config.h +lndist: lndist-linux-inet-files lndist-linux-files + +lndist-linux-inet-files: $(top_srcdir)/hurd-snap/$(dir)/linux-inet + ln $(addprefix linux-inet/,$(LINUXSRCS) $(UNUSEDSRC) $(LINUXHDRS)) $< + +lndist-linux-files: $(top_srcdir)/hurd-snap/$(dir)/linux + ln $(addprefix linux/,$(FROBBEDLINUXHEADERS)) $< + +$(top_srcdir)/hurd-snap/$(dir)/linux-inet: + mkdir $@ + +$(top_srcdir)/hurd-snap/$(dir)/linux: + mkdir $@ + |