From 453c670b61748139e2222f9db792aeb0804ec196 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 1 Sep 2004 23:45:16 +0000 Subject: [PATCH] Fix bcc to compile libpq by creating include file for path.c. --- src/bin/psql/bcc32.mak | 10 +++++++++- src/bin/psql/win32.mak | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/bin/psql/bcc32.mak b/src/bin/psql/bcc32.mak index c07ace3615..2fbe2a2278 100644 --- a/src/bin/psql/bcc32.mak +++ b/src/bin/psql/bcc32.mak @@ -83,7 +83,15 @@ CLEAN : -@erase "$(OUTDIR)\psql.exe" pg_config_paths.h: win32.mak - echo #define SYSCONFDIR "" >pg_config_paths.h + echo "#define PGBINDIR "">$@ + echo "#define PGSHAREDIR "" >>$@ + echo "#define SYSCONFDIR "" >>$@ + echo "#define INCLUDEDIR "" >>$@ + echo "#define PKGINCLUDEDIR "" >>$@ + echo "#define INCLUDEDIRSERVER "" >>$@ + echo "#define LIBDIR "" >>$@ + echo "#define PKGLIBDIR "" >>$@ + echo "#define LOCALEDIR "" >>$@ "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" diff --git a/src/bin/psql/win32.mak b/src/bin/psql/win32.mak index ab43882dd8..68dc0bb9cf 100644 --- a/src/bin/psql/win32.mak +++ b/src/bin/psql/win32.mak @@ -43,7 +43,15 @@ CLEAN : -@erase "$(OUTDIR)\psql.exe" pg_config_paths.h: win32.mak - echo #define SYSCONFDIR "" >pg_config_paths.h + echo "#define PGBINDIR "">$@ + echo "#define PGSHAREDIR "" >>$@ + echo "#define SYSCONFDIR "" >>$@ + echo "#define INCLUDEDIR "" >>$@ + echo "#define PKGINCLUDEDIR "" >>$@ + echo "#define INCLUDEDIRSERVER "" >>$@ + echo "#define LIBDIR "" >>$@ + echo "#define PKGLIBDIR "" >>$@ + echo "#define LOCALEDIR "" >>$@ "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -- 2.40.0