summaryrefslogtreecommitdiff
path: root/libthreads
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-04-08 23:10:42 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-04-08 23:10:42 +0200
commit50bfb9acf98d5f4c0c5948cc28285e990b40b659 (patch)
tree404988f522437c2a9c84a3a70a8e7e6584ebe9e1 /libthreads
parenta4df9fbd1e22a75eda2959765e58888dbcc6e42b (diff)
Replace fragile manual »make dist« system with one based on »git archive«.
* Makeconf (lndist): Remove target. (dist-hook, dist.tar): New targets. * Makefile (dist): Rewrite this target's as well as accompanying rules. (%-lndist, cp-linked-files, $(lf-inst)): Remove targets. (%.bz2, %.gz, %/dist-hook): New targets. (DISTFILES): Set. * doc/Makefile (DISTFILES): Set. * doc/Makefile (lndist, lndist-info-targets): Remove targets. * include/Makefile (lndist): Remove target. * libthreads/Makefile (lndist, lndist-i386-files, lndist-map-file): Remove targets. * pfinet/Makefile (lndist, lndist-linux-src-net-core-files) (lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files) (lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files) (lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files) (lndist-linux-src-include-asm-files, lndist-glue-include-linux-files) (lndist-glue-include-asm-files): Remove targets. * auth/Makefile (LCLHDRS): Don't set. * boot/Makefile (LCLHDRS, DIST_FILES): Likewise. * bsdfsck/Makefile (LCLHDRS): Likewise. * config/Makefile (DIST_FILES): Likewise. * console-client/Makefile (LCLHDRS): Likewise. * console/Makefile (LCLHDRS, DIST_FILES): Likewise. * doc/Makefile (DIST_FILES): Likewise. * exec/Makefile (LCLHDRS, DIST_FILES): Likewise. * ext2fs/Makefile (LCLHDRS): Likewise. * fatfs/Makefile (LCLHDRS): Likewise. * ftpfs/Makefile (LCLHDRS): Likewise. * hostmux/Makefile (LCLHDRS): Likewise. * hurd/Makefile (DIST_FILES): Likewise. * include/Makefile (LCLHDRS): Likewise. * isofs/Makefile (LCLHDRS, DIST_FILES): Likewise. * libcons/Makefile (LCLHDRS): Likewise. * libdirmgt/Makefile (LCLHDRS): Likewise. * libdiskfs/Makefile (LCLHDRS): Likewise. * libfshelp/Makefile (LCLHDRS): Likewise. * libftpconn/Makefile (LCLHDRS): Likewise. * libihash/Makefile (LCLHDRS): Likewise. * libiohelp/Makefile (LCLHDRS): Likewise. * libnetfs/Makefile (LCLHDRS): Likewise. * libpager/Makefile (LCLHDRS): Likewise. * libpipe/Makefile (LCLHDRS): Likewise. * libports/Makefile (LCLHDRS): Likewise. * libps/Makefile (LCLHDRS): Likewise. * libshouldbeinlibc/Makefile (LCLHDRS): Likewise. * libstore/Makefile (LCLHDRS, DIST_FILES): Likewise. * libthreads/Makefile (LCLHDRS): Likewise. * libtreefs/Makefile (LCLHDRS): Likewise. * libtrivfs/Makefile (LCLHDRS): Likewise. * mach-defpager/Makefile (LCLHDRS): Likewise. * nfs/Makefile (LCLHDRS): Likewise. * nfsd/Makefile (LCLHDRS): Likewise. * pfinet/Makefile (LCLHDRS): Likewise. * pflocal/Makefile (LCLHDRS): Likewise. * proc/Makefile (LCLHDRS, DIST_FILES): Likewise. * release/Makefile (DIST_FILES): Likewise. * storeio/Makefile (LCLHDRS): Likewise. * sutils/Makefile (LCLHDRS): Likewise. * term/Makefile (LCLHDRS, DIST_FILES): Likewise. * tmpfs/Makefile (LCLHDRS): Likewise. * ufs-fsck/Makefile (LCLHDRS): Likewise. * ufs/Makefile (LCLHDRS): Likewise. * usermux/Makefile (LCLHDRS): Likewise. * utils/Makefile (LCLHDRS): Likewise.
Diffstat (limited to 'libthreads')
-rw-r--r--libthreads/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/libthreads/Makefile b/libthreads/Makefile
index e9fa571b..3bcff2aa 100644
--- a/libthreads/Makefile
+++ b/libthreads/Makefile
@@ -1,5 +1,4 @@
-#
-# Copyright (C) 1994,95,96,97,2000,2010 Free Software Foundation, Inc.
+# Copyright (C) 1994,95,96,97,2000,2010,2012 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -25,7 +24,6 @@ SRCS := call.c cprocs.c cthread_data.c cthreads.c stack.c \
I386SRCS := i386/csw.S i386/thread.c
# In GNU machine/cthreads.h is omitted; that work is done in libc headers.
-LCLHDRS := cthread_internals.h options.h cthreads.h rwlock.h
OBJS = $(addsuffix .o,$(basename $(notdir $(SRCS) $(I386SRCS))))
@@ -43,23 +41,8 @@ include ../Makeconf
# what that means, you'll understand this line.
CFLAGS := $(filter-out -Wall,$(CFLAGS))
-lndist: lndist-i386-files
-
-lndist-i386-files: $(top_srcdir)/hurd-snap/$(dir)/i386
- ln $(addprefix $(srcdir)/,$(I386SRCS) $(I386HDRS)) $<
-
-$(top_srcdir)/hurd-snap/$(dir)/i386:
- mkdir $@
-
ifeq ($(VERSIONING),yes)
-
# Adding this dependency gets it included in the command line,
# where ld will read it as a linker script.
$(libname).so.$(hurd-version): $(srcdir)/$(libname).map
-
-lndist: lndist-map-file
-
-lndist-map-file: $(top_srcdir)/hurd-snap/$(dir)
- ln $(addprefix $(srcdir)/,$(libname).map) $<
-
endif