Index: Makefile.beos =================================================================== RCS file: /projects/cvsroot/pgsql/src/makefiles/Makefile.beos,v retrieving revision 1.6 diff -u -r1.6 Makefile.beos --- Makefile.beos 29 Aug 2001 19:14:40 -0000 1.6 +++ Makefile.beos 17 Dec 2004 01:32:31 -0000 @@ -9,7 +9,7 @@ CFLAGS_SL = -fpic -DPIC %.so: %.o - ln -fs $(top_srcdir)/src/backend/postgres _APP_ + ln -fs $(DESTDIR)$(bindir)/postgres _APP_ $(CC) -nostart -Xlinker -soname=$@ -o $@ _APP_ $< sqlmansect = 7 Index: Makefile.cygwin =================================================================== RCS file: /projects/cvsroot/pgsql/src/makefiles/Makefile.cygwin,v retrieving revision 1.5 diff -u -r1.5 Makefile.cygwin --- Makefile.cygwin 27 Oct 2004 19:14:07 -0000 1.5 +++ Makefile.cygwin 17 Dec 2004 01:32:31 -0000 @@ -1,7 +1,7 @@ # $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.5 2004/10/27 19:14:07 momjian Exp $ DLLTOOL= dlltool DLLWRAP= dllwrap -BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres +BE_DLLLIBS= -L$(DESTDIR)$(bindir) -lpostgres DLLINIT = $(top_builddir)/src/utils/dllinit.o # linking with -lm or -lc causes program to crash Index: Makefile.darwin =================================================================== RCS file: /projects/cvsroot/pgsql/src/makefiles/Makefile.darwin,v retrieving revision 1.7 diff -u -r1.7 Makefile.darwin --- Makefile.darwin 27 Oct 2003 07:42:34 -0000 1.7 +++ Makefile.darwin 17 Dec 2004 01:32:31 -0000 @@ -3,7 +3,7 @@ DLSUFFIX = .so CFLAGS_SL = -BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres +BE_DLLLIBS= -bundle_loader $(DESTDIR)$(bindir)/postgres # Rule for building shared libs (currently used only for regression test # shlib ... should go away, since this is not really enough knowledge) Index: Makefile.win32 =================================================================== RCS file: /projects/cvsroot/pgsql/src/makefiles/Makefile.win32,v retrieving revision 1.6 diff -u -r1.6 Makefile.win32 --- Makefile.win32 17 Nov 2004 17:16:17 -0000 1.6 +++ Makefile.win32 17 Dec 2004 01:32:31 -0000 @@ -5,7 +5,7 @@ DLLTOOL= dlltool DLLWRAP= dllwrap -BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres +BE_DLLLIBS= -L$(DESTDIR)$(bindir) -lpostgres DLLINIT = $(top_builddir)/src/utils/dllinit.o AROPT = crs