Allow UNIX and Windows to share Data lines in the .def files

This commit is contained in:
relyea%netscape.com 2001-01-06 21:38:34 +00:00
parent a1229115a0
commit 3c4399e4ab

View File

@ -368,13 +368,13 @@ endif
$(MAPFILE): $(LIBRARY_NAME).def
ifeq ($(OS_ARCH),SunOS)
grep -v 'UNIX_REMOVE' $(LIBRARY_NAME).def | sed -e 's,;+,,' | sed -e 's,;;,,' > $@
grep -v 'UNIX_REMOVE' $(LIBRARY_NAME).def | sed -e 's,;+,,' | sed -e 's; DATA ;;' | sed -e 's,;;,,' > $@
endif
ifeq ($(OS_ARCH),Linux)
grep -v 'UNIX_REMOVE' $(LIBRARY_NAME).def | sed -e 's,;+,,' > $@
grep -v 'UNIX_REMOVE' $(LIBRARY_NAME).def | sed -e 's,;+,,' | sed -e 's; DATA ;;' | sed -e 's,;;,,' > $@
endif
ifeq ($(OS_ARCH),AIX)
grep -v ';+' $(LIBRARY_NAME).def| sed -e 's,;,,g' > $@
grep -v ';+' $(LIBRARY_NAME).def| sed -e 's,;,,g' | sed -e 's; DATA ;;' > $@
endif
$(OBJDIR)/$(PROG_PREFIX)%$(PROG_SUFFIX): $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX)