From 2c414dc400729160ec4d2004c60470ce59ad9008 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Wed, 30 Dec 2015 01:40:22 +0100 Subject: Add missing libraries to fix link errors This fixes several linking problems I had in my recent cross-compilation of the Hurd. I added missing static libraries and also organized some of the targets for more concise rules. * console-client/Makefile: Add libiohelp.a and libihash.a. * daemons/Makefile: Add libihash.a and libshouldbeinlibc.a. * devnode/Makefile: Add iohelp and ihash to HURDLIBS. * random/Makefile: Likewise. * trans/Makefile: Reorder targets alphabetically and add libiohelp.a and libihash.a. * utils/Makefile: Add libihash.a. --- trans/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'trans/Makefile') diff --git a/trans/Makefile b/trans/Makefile index ce1eae7a..2fdcd38b 100644 --- a/trans/Makefile +++ b/trans/Makefile @@ -55,22 +55,21 @@ include ../Makeconf vpath elfcore.c $(top_srcdir)/exec -symlink: fsysServer.o -ifsock: ifsockServer.o crash: crashServer.o crash_replyUser.o msgServer.o elfcore.o +ifsock: ifsockServer.o +mtab: fsUser.o password: passwordServer.o -streamio: device_replyServer.o proxy-defpager: default_pagerServer.o default_pagerUser.o +streamio: device_replyServer.o +symlink: fsysServer.o -proxy-defpager crash password streamio: ../libports/libports.a ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a +fakeroot: ../libnetfs/libnetfs.a fifo new-fifo: ../libpipe/libpipe.a -fwd: ../libfshelp/libfshelp.a ../libports/libports.a -hello-mt magic null ifsock fifo new-fifo firmlink: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a ../libports/libports.a ../libihash/libihash.a -magic: ../libiohelp/libiohelp.a -hello: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a ../libports/libports.a ../libihash/libihash.a -fakeroot: ../libnetfs/libnetfs.a ../libfshelp/libfshelp.a ../libiohelp/libiohelp.a ../libports/libports.a ../libihash/libihash.a -remap: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a ../libports/libports.a ../libihash/libihash.a -mtab: ../libtrivfs/libtrivfs.a ../libfshelp/libfshelp.a ../libports/libports.a ../libihash/libihash.a fsUser.o -$(targets): ../libshouldbeinlibc/libshouldbeinlibc.a +crash fifo firmlink hello hello-mt ifsock magic mtab new-fifo null password proxy-defpager remap streamio: ../libtrivfs/libtrivfs.a +$(targets): ../libfshelp/libfshelp.a \ + ../libihash/libihash.a \ + ../libiohelp/libiohelp.a \ + ../libports/libports.a \ + ../libshouldbeinlibc/libshouldbeinlibc.a $(targets): %: %.o -- cgit v1.2.3