diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:38:28 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:38:28 +0000 |
commit | 39b3cbd4b7fcfe5e9f530ea30c9d9b04e617ab4e (patch) | |
tree | 19513bf72927c5334c1cf8fcedd680ccf2bccf41 | |
parent | ae61a2d341f870d806ed318234e53894396865e3 (diff) |
1999-09-08 Thomas Bushnell, BSG <tb@mit.edu>
* 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).
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | Makeconf | 23 | ||||
-rw-r--r-- | TODO | 2 |
3 files changed, 29 insertions, 5 deletions
@@ -1,3 +1,12 @@ +1999-09-08 Thomas Bushnell, BSG <tb@mit.edu> + + * 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). + 1999-06-19 Roland McGrath <roland@baalperazim.frob.com> * Makefile (DIST_FILES): Add move-if-change. @@ -128,14 +128,22 @@ endif ifeq ($(makemode),library) linktarg := $(libname).so.$(hurd-version) clean := yes - cleantarg := $(libname).a $(libname)_p.a $(libname).so $(linktarg) + cleantarg := $(libname).a $(libname)_p.a $(libname).so $(libname)_pic.a $(linktarg) ifndef installhdrsubdir installhdrsubdir = hurd endif - ifeq ($(no_prof),t) - targets := $(libname).a $(libname).so + ifeq ($(no_pic),t) + ifeq ($(no_prof),t) + targets := $(libname).a $(libname).so + else + targets := $(libname).a $(libname).so $(libname)_p.a + endif else - targets := $(libname).a $(libname).so $(libname)_p.a + ifeq ($(no_prof),t) + targets := $(libname).a $(libname).so $(libname)_pic.a + else + targets := $(libname).a $(libname).so $(libname)_pic.a $(libname)_p.a + endif endif endif @@ -203,7 +211,7 @@ $(INSTALLED_LOCAL_HEADERS): $(top_srcdir)/$(installhdrsubdir)/%: endif libs: $(INSTALLED_LOCAL_HEADERS) -$(addprefix $(libdir)/$(libname),_p.a .a): $(libdir)/%: % +$(addprefix $(libdir)/$(libname),_p.a .a _pic.a): $(libdir)/%: % $(INSTALL_DATA) $< $@ $(RANLIB) $@ @@ -281,6 +289,11 @@ $(libname)_p.a: $(patsubst %.o,%_p.o,$(OBJS)) $(AR) r $@ $^ $(RANLIB) $@ +$(libname)_pic.a: $(patsubst %.o,%_pic.o,$(OBJS)) + rm -f $(libname)_pic.a + $(AR) r $@ $^ + $(RANLIB) $@ + # The shared object needs to be findable in the build directory as # libfoo.so.VERSION (i.e. its soname) so that ld finds it when looking # for dependencies of other shared libraries. @@ -247,6 +247,8 @@ See `tasks', the exported task list. ** crash *** Write core files. !! +** arla -- port it + * Utilities ** Make id, et. al. work with no/multiple uids. !!! |