|
6 | 6 | # Copyright (c) 1998, Regents of the University of California |
7 | 7 | # |
8 | 8 | # IDENTIFICATION |
9 | | -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.121 2009/08/26 22:24:42 petere Exp $ |
| 9 | +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.122 2009/08/27 17:55:53 tgl Exp $ |
10 | 10 | # |
11 | 11 | #------------------------------------------------------------------------- |
12 | 12 |
|
|
23 | 23 | # SHLIB_LINK If shared library relies on other libraries, |
24 | 24 | # additional stuff to put in its link command |
25 | 25 | # SHLIB_EXPORTS (optional) Name of file containing list of symbols to |
26 | | -# export |
| 26 | +# export, in the format "function_name number" |
27 | 27 | # |
28 | 28 | # When building a shared library, the following version information |
29 | 29 | # must also be set. It should be omitted when building a dynamically |
@@ -444,22 +444,22 @@ $(srcdir)/lib$(NAME)dll.def: $(SHLIB_EXPORTS) |
444 | 444 | echo '; DEF file for MS VC++' >$@ |
445 | 445 | echo 'LIBRARY LIB$(UC_NAME)' >>$@ |
446 | 446 | echo 'EXPORTS' >>$@ |
447 | | - sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' $< >>$@ |
| 447 | + sed -e '/^#/d' -e 's/^\(.*[ ]\)\([0-9][0-9]*\)/ \1@ \2/' $< >>$@ |
448 | 448 |
|
449 | 449 | $(srcdir)/lib$(NAME)ddll.def: $(SHLIB_EXPORTS) |
450 | 450 | echo '; DEF file for MS VC++' >$@ |
451 | 451 | echo 'LIBRARY LIB$(UC_NAME)D' >>$@ |
452 | 452 | echo 'EXPORTS' >>$@ |
453 | | - sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1@ \2/' $< >>$@ |
| 453 | + sed -e '/^#/d' -e 's/^\(.*[ ]\)\([0-9][0-9]*\)/ \1@ \2/' $< >>$@ |
454 | 454 |
|
455 | 455 | $(srcdir)/blib$(NAME)dll.def: $(SHLIB_EXPORTS) |
456 | 456 | echo '; DEF file for Borland C++ Builder' >$@ |
457 | 457 | echo 'LIBRARY BLIB$(UC_NAME)' >>$@ |
458 | 458 | echo 'EXPORTS' >>$@ |
459 | | - sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ _\1@ \2/' $< >>$@ |
| 459 | + sed -e '/^#/d' -e 's/^\(.*[ ]\)\([0-9][0-9]*\)/ _\1@ \2/' $< >>$@ |
460 | 460 | echo >>$@ |
461 | 461 | echo '; Aliases for MS compatible names' >> $@ |
462 | | - sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1= _\1/' $< | sed 's/ *$$//' >>$@ |
| 462 | + sed -e '/^#/d' -e 's/^\(.*[ ]\)\([0-9][0-9]*\)/ \1= _\1/' $< | sed 's/ *$$//' >>$@ |
463 | 463 | endif # SHLIB_EXPORTS |
464 | 464 |
|
465 | 465 |
|
|
0 commit comments