Age | Commit message (Collapse) | Author |
|
When cross-compiling, OTHERLIBS magically turns -lpthread into the path
to the host libpthread.so file, resulting in build issues. LDLIBS does
not suffer from this problem and it seems that is already being used in
other Makefiles. This patch removes OTHERLIBS entirely from the build
system.
* Makeconf: Remove references to OTHERLIBS
* auth/Makefile: Replace OTHERLIBS with LDLIBS.
* boot/Makefile: Likewise.
* console/Makefile: Likewise.
* exec/Makefile: Likewise.
* ext2fs/Makefile: Likewise.
* fatfs/Makefile: Likewise.
* ftpfs/Makefile: Likewise.
* hostmux/Makefile: Likewise.
* isofs/Makefile: Likewise.
* libhurd-slab/Makefile: Likewise.
* nfs/Makefile: Likewise.
* nfsd/Makefile: Likewise.
* pfinet/Makefile: Likewise.
* proc/Makefile: Likewise.
* procfs/Makefile: Likewise.
* random/Makefile: Likewise.
* storeio/Makefile: Likewise.
* term/Makefile: Likewise.
* tmpfs/Makefile: Likewise.
* usermux/Makefile: Likewise.
|
|
The latter does not work for libpthread.a which passes -lihash, which would
find the installed libihash.a instead of the just-compiled one.
* Makeconf (rpath): Remove, replaced by...
(lpath): ... new variable.
(link-executable, $(libname).so.$(hurd-version)): Use $(lpath) instead of
$(rpath).
|
|
* Makeconf (CPPFLAGS): Remove -D_IO_MTSAFE_IO.
* libthreads/lockfile.c (_IO_MTSAFE_IO): Define macro.
(IS_IN): Define macro to 0.
|
|
The changes to `hurd_types.defs' caused the glibc build to fail.
Guard the problematic parts with `HURD_SERVER' similar how it is done
in GNU Mach.
* Makeconf: Define `HURD_SERVER' when preprocessing the RPC
definitions for the server side.
* hurd/hurd_types.defs: Guard problematic parts with `HURD_SERVER'.
|
|
* Makeconf (mach_defs_names): Add `task_notify'.
|
|
* Makeconf (mach_defs_names): Add `gnumach'.
|
|
* Makeconf (mach_debug_defs_names,mach_debug_defs): New variables.
* Makeconf: Add rule to generate local $(mach_debug_defs) files.
* procfs/Makefile: Remove vpath for mach_debug defs.
|
|
* config.make.in (package-version): New variable.
(hurd-version): Set to 0.3.
* Makeconf (%: %.sh): Use package-version instead of hurd-version.
* Makefile (stamp-version): Likewise.
* doc/Makefile (stamp-version): Likewise.
|
|
This reverts commit 202339d49461ce6dcffd3a5b3690537daea5ef38.
|
|
The gnumach installation provides the include file mach/gnumach.defs
instead of mach/gnumach.h. This runs the defs file through MIG and
builds the result for vmstat.
* utils/vmstat.c: Replace <mach/gnumach.h> with "gnumach_U.h".
* utils/Makefile (vmstat): Add rule to depend on gnumach_U.o.
* Makeconf (mach_defs_names): Add gnumach.
|
|
* Makeconf (dist.tar): When $(dir) is ".", avoid adding "./" to the
resulting file name.
|
|
* Makeconf (dist.tar): Invoke `tar' with `--owner=0 --group=0'.
|
|
* 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.
|
|
Follow-up to 05f5cc229323a61799388fbb52da84ca8cb502c9 (»configure: Use modern
`AC_INIT' invocation.«).
* Makeconf (%: %.sh): Depend on config.make.
* Makefile (version.h): Use a stamp file.
(stamp-version): Depend on config.make.
* doc/Makefile (stamp-version): Likewise.
* Makeconf (make-deps): Take additional target-specific dependencies, $*-DEPS.
* console-client/Makefile (driver-DEPS): Depend on config.make.
* libstore/Makefile (module-DEPS): Likewise.
|
|
* Makeconf ($(INSTALLED_LOCAL_HEADERS)): Just depend on the Makefile.
The include/ hierarchy does not depend on anything but the local Makefile;
especially it does not depend on how the package has been configured, which is
what config.make records.
|
|
|
|
* Makeconf (hurd-version): Move to...
* config.make.in (hurd-version): ... here. Set to @PACKAGE_VERSION@.
* configure.in: Change `AC_INIT' invocation to specify the package name,
version number, and bug report address.
|
|
* Makeconf (libs): Add dependency to create these links.
|
|
* Makeconf (distfiles): Remove ChangeLog.
* Makefile (DIST_FILES): Add ChangeLog.
|
|
Part stores are used for debian-installer, and they're considered more
elegant than kernel partition devices. This patch makes sure they're
included in the build unless the user disables them explicitely.
* Makeconf: add $(PARTED_LIBS) to static binaries which use libstore_part.a.
* configure.in: look for libparted again (see also 7c7a04eb).
* libstore/Makefile (store-types): include the 'part' store type when
appropriate, remove the previous attempt.
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
|
|
* Makeconf (%): Don't depend on removed files. Remove excess backslashes.
|
|
* Makeconf (local-installhdrsubdir): Always put files below `include/'.
|
|
* config.make.in (gnu89-inline-CFLAGS): New variable.
* Makeconf (CFLAGS): Evaluate that one instead of hard-coding.
Suggested by Olaf Buddenhagen,
<http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00006.html>
* configure.in (libc_cv_gnu89_inline): Fill depending on a compile-time
test, as per glibc HEAD, 2007-11-07.
|
|
* Makeconf (CFLAGS): Add ``-fgnu89-inline''.
|
|
* Makeconf (CFLAGS): Allow for appending target-specific flags.
|
|
[bug #17127]
* Makeconf (clean): Don't remove `*.*_d' files.
(%.sdefsi): Add `%.sdefs.d' to the target list. Create these files by
specifying `-MD' as a flag for CPP and mangle the output as needed.
Include these `*.sdefs.d' files instead of `*.migs_d' and `*.migsh_d'
files.
(%.udefsi): Likewise for `%.udefs.d' / `*.migu_d' and `*.miguh_d'.
(%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets.
|
|
* Makeconf (mach_defs_names): Remove `mach_norma' and `norma_task'.
|
|
* Makeconf (TAGS): Add a space between the function `strip' and
its argument.
|
|
* Makeconf (CPPFLAGS): Move -std=gnu99 option to ...
(CFLAGS): ... here.
pfinet/
2002-09-17 Marcus Brinkmann <marcus@gnu.org>
* Makefile: Revert last change.
* glue-include/asm/spinlock.h (SPIN_LOCK_UNLOCKED): Do not use a
compound literal, which is not constant.
|
|
* Makeconf (CPPFLAGS): Add -std=gnu99 option.
|
|
* Makeconf (cleantarg): Add $(libname).so.$(hurd-version).
* Makeconf ($(patsubst %.o,%.d,$(filter %.o,$(OBJS)))): Give these dep
files a dependency on $(INSTALLED_LOCAL_HEADERS).
|
|
* Makeconf (%_S.h %Server.c): Prepend $(mig-sheader-prefix)
to stub header file name.
(INSTALLED_LOCAL_HEADERS): Put them in the build directory,
not the source. Make files with #include rather than symlinks.
(../$(dir)/%: %): New dummy pattern rule.
(INCLUDES): New variable broken out of CPPFLAGS. Add -I$(..)include.
Include ..-relative dirs only if [$(dir) != .].
(CPPFLAGS): Use that.
|
|
* Makeconf (CPPFLAGS): Add -D_FILE_OFFSET_BITS=64.
(hurd-version): Update to 0.3 so as to change sonames.
|
|
* Makeconf (CPPFLAGS): Add -D_FILE_OFFSET_BITS=64.
|
|
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so
that .map files come after the -( ... -) group.
|
|
* Makeconf ($(libname).so.$(hurd-version)):
Include $($(libname).so-LDLIBS) and $(LDLIBS) in the link.
* configure.in (--enable-boot-store-types): Grok this arg.
* config.make.in (boot-store-types): New variable, set by it.
* Makeconf [$(dir) != libstore]
($(boot-store-types:%=../libstore/libstore_%.a)): Make these targets
depend on ../libstore/libstore.so.
|
|
* Makeconf (TAGS) [configured]: Create tags for MiG generated files.
* Makefile (TAGS): Generate dependencies respecting broken
code markers, i.e. based on $(working-prog-subdirs) and not
$(prog-subdirs).
|
|
* Makeconf (MIGCOMFLAGS): New variable, set -subrprefix __ here.
(%_S.h %Server.c rule, %_U.h %User.c rule): Pass that to $(MIGCOM).
|
|
* Makeconf: Typo fix in last change.
|
|
* Makeconf: Include config.make only if it exists.
(configured): Set this if we included config.make.
[! configured]: Set no_deps=t.
|
|
* Makeconf ($(libname).so.$(hurd-version)): Replace $($@-LDFLAGS)
with $($(libname).so-LDFLAGS).
|
|
* Makeconf (CPPFLAGS, CFLAGS): Append to these before we include the
config.make file.
|
|
* Makeconf (%_S.h %Server.c): Split out an intermediate rule for the
cpp stage ...
(%.sdefsi: %.defs): ... into this rule.
(%_U.h %User.c): Likewise split ...
(%.udefsi: %.defs): ... into this rule.
(clean): Remove *.[su]defsi too.
|
|
* Makeconf (mach_defs_names): Remove default_pager (replaced by our
own in hurd) and default_pager_helper (never used).
|
|
* Makeconf [$(makemode) = misc]: If no installationdir and no targets,
set makemode-instdir so it's not empty, to avoid expanding `$(dir)'.
|
|
* Makeconf [Decode makemode page]: Clean up variable usage in each
cases, as follows:
(installationdir): Don't test and set this directly.
(makemode-instdir): New variable, set instead for each makemode.
(linktarg): Don't this for each program-linking makemode.
(targets): Make sure this is always set, i.e. = $(target) in singular
modes.
[$(makemode) != library] (progtarg): New variable.
[$(makemode) != library] (linktarg): Set from $(progtarg), including
.static versions.
(installationdir): Test and default once, using $(makemode-instdir).
[linking and dep rules]: Use $(linktarg) and $(progtarg) as
appropriate instead of $(targets) or $(target).
|
|
* Makeconf [$(makemode) != misc]: Use this to protect linking rules,
so we don't define any rule for $(targets) if $(makemode) is misc.
|
|
* Makeconf [Installation section]: Last change (9 Sep 1999) broke
this. Separate more clearly the library and non-library install
rules.
|
|
* Makeconf (link-executable): New variable, partial linking
commands for executables.
($(target)): Use it. Move .o's before -Wl,-(, just cause.
($(addsuffix .static,$(target))): New static pattern rule,
use `$(link-executable) -static' and static hurd libs.
[$(doinst) = one]: Give deps to $(target).static too.
{"Decode makemode" page}: Set linktarg instead of cleantarg for each
makemode that sets only one.
[$(makemode) != library]: Append $(linktarg:=.static) to linktarg.
[$(cleantarg) empty]: Set cleantarg to $(linktarg).
[Installation section] (targets): Set to $(target) if empty.
(installable): New variable, union of $(linktarg) and $(targets).
Remove conditionals on $(doinst), leaving only multi-target version.
Use $(installable) rather than $(targets) to compute list of
targets for static pattern rule that does the install.
(install-targets): New variable, $(targets) plus subset of $(linktarg)
matching $(build-static:=.static).
(all): Depend on $(install-targets) rather than $(targets).
(install): Likewise for computed list of targets in $(installationdir).
* config.make.in (build-static): New variable.
* configure.in: Support --enable-static-progs=LIST.
|
|
* Makeconf (cleantarg): Add `$(libname)_pic.a'.
[$(makemode) = library] (targets): Likewise.
($(libname)_pic.a): New rule.
($(libdir)/$(libname)_pic.a): Extended from the previous _p.a and
.a rules.
Submitted by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
|