Create pg_config_paths in port/ for win32 builds of psql.

REL8_0_STABLE
Bruce Momjian 21 years ago
parent 8975dcfcbb
commit 35e88b512e
  1. 6
      src/bin/psql/bcc32.mak
  2. 6
      src/bin/psql/win32.mak

@ -53,7 +53,7 @@ REFDOCDIR=../../../doc/src/sgml/ref
.c.obj:
$(CPP) -o"$(INTDIR)\$&" $(CPP_PROJ) $<
ALL : sql_help.h pg_config_paths.h "$(OUTDIR)\psql.exe"
ALL : sql_help.h "..\..\port\pg_config_paths.h" "$(OUTDIR)\psql.exe"
CLEAN :
-@erase "$(INTDIR)\command.obj"
@ -81,9 +81,9 @@ CLEAN :
-@erase "$(INTDIR)\psql.ils"
-@erase "$(INTDIR)\psql.ilf"
-@erase "$(OUTDIR)\psql.exe"
-@erase "$(INTDIR)\pg_config_paths.h"
-@erase "$(INTDIR)\..\..\port\pg_config_paths.h"
pg_config_paths.h: win32.mak
"..\..\port\pg_config_paths.h": win32.mak
echo "#define PGBINDIR "">$@
echo "#define PGSHAREDIR "" >>$@
echo "#define SYSCONFDIR "" >>$@

@ -16,7 +16,7 @@ REFDOCDIR= ../../../doc/src/sgml/ref
OutDir=.\Release
# End Custom Macros
ALL : sql_help.h pg_config_paths.h "$(OUTDIR)\psql.exe"
ALL : sql_help.h "..\..\port\pg_config_paths.h" "$(OUTDIR)\psql.exe"
CLEAN :
-@erase "$(INTDIR)\command.obj"
@ -41,9 +41,9 @@ CLEAN :
-@erase "$(INTDIR)\mbprint.obj"
-@erase "$(INTDIR)\*psql.pch"
-@erase "$(OUTDIR)\psql.exe"
-@erase "$(INTDIR)\pg_config_paths.h"
-@erase "$(INTDIR)\..\..\port\pg_config_paths.h"
pg_config_paths.h: win32.mak
"..\..\port\pg_config_paths.h": win32.mak
echo "#define PGBINDIR "">$@
echo "#define PGSHAREDIR "" >>$@
echo "#define SYSCONFDIR "" >>$@

Loading…
Cancel
Save