diff options
author | relyea%netscape.com <devnull@localhost> | 2001-01-19 07:50:16 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2001-01-19 07:50:16 +0000 |
commit | 9b6a576ebfed89ba2bb18ea5a5ca829a2988dc6e (patch) | |
tree | 813c23248c490e57f667dfe16a9da5635e913964 /security/coreconf/rules.mk | |
parent | 91d3c0e1726dc737cc4ec99da5f459c1460b4b22 (diff) | |
download | nss-hg-9b6a576ebfed89ba2bb18ea5a5ca829a2988dc6e.tar.gz |
Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
Diffstat (limited to 'security/coreconf/rules.mk')
-rw-r--r-- | security/coreconf/rules.mk | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk index 35885ee21..02eebba4d 100644 --- a/security/coreconf/rules.mk +++ b/security/coreconf/rules.mk @@ -369,17 +369,26 @@ endif $(MAPFILE): $(LIBRARY_NAME).def ifeq ($(OS_ARCH),SunOS) - grep -v ';-' $(LIBRARY_NAME).def | sed -e 's,;+,,' | sed -e 's; DATA ;;' | sed -e 's,;;,,' | sed -e 's,;.*,;,' > $@ + grep -v ';-' $(LIBRARY_NAME).def | \ + sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@ endif ifeq ($(OS_ARCH),Linux) - grep -v ';-' $(LIBRARY_NAME).def | sed -e 's,;+,,' | sed -e 's; DATA ;;' | sed -e 's,;;,,' | sed -e 's,;.*,;,' > $@ + grep -v ';-' $(LIBRARY_NAME).def | \ + sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@ endif ifeq ($(OS_ARCH),AIX) - grep -v ';+' $(LIBRARY_NAME).def| grep -v ';-' | sed -e 's; DATA ;;' | sed -e 's,;;,,' | sed -e 's,;.*,,' > $@ + grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \ + sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > $@ endif ifeq ($(OS_ARCH), HP-UX) - grep -v ';+' $(LIBRARY_NAME).def| grep -v ';-' | sed -e 's; DATA ;;' | sed -e 's,;;,,' | sed -e 's,;.*,,' | sed -e 's,^,+e ,' > $@ + grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \ + sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,+e ,' > $@ endif +ifeq ($(OS_ARCH), OSF1) + grep -v ';+' $(LIBRARY_NAME).def | grep -v ';-' | \ + sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' -e 's,^,-exported_symbol ,' > $@ +endif + $(OBJDIR)/$(PROG_PREFIX)%$(PROG_SUFFIX): $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX) |