mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Hello!
Through some minor changes, I have been able to compile the libpq client libraries on the Win32 platform. Since the libpq communications part has been rewritten, this has become much easier. Enclosed is a patch that will allow at least Microsoft Visual C++ to compile libpq into both a static and a dynamic library. I will take a look at porting the psql frontend as well, but I figured it was a good idea to send in these patches first - so no major changes are done to the files before it gets applied (if it does). Regards, Magnus Hagander
This commit is contained in:
17
src/win32.mak
Normal file
17
src/win32.mak
Normal file
@ -0,0 +1,17 @@
|
||||
# Makefile for Microsoft Visual C++ 5.0 (or compat)
|
||||
|
||||
# Top-file makefile for Win32 parts of postgresql.
|
||||
|
||||
# Note that most parts are not ported to Win32!
|
||||
|
||||
!IF "$(OS)" == "Windows_NT"
|
||||
NULL=
|
||||
!ELSE
|
||||
NULL=nul
|
||||
!ENDIF
|
||||
|
||||
ALL:
|
||||
cd interfaces\libpq
|
||||
nmake /f win32.mak
|
||||
cd ..\..
|
||||
echo All Win32 parts have been built!
|
Reference in New Issue
Block a user