2010-09-21 04:08:53 +08:00
|
|
|
# src/win32.mak
|
1998-07-03 12:24:16 +08:00
|
|
|
|
2007-08-03 18:47:11 +08:00
|
|
|
# Top-file makefile for building Win32 libpq with Visual C++ 7.1.
|
2007-03-05 22:18:38 +08:00
|
|
|
# (see src/tools/msvc for tools to build with Visual C++ 2005 and newer)
|
1998-07-03 12:24:16 +08:00
|
|
|
|
|
|
|
!IF "$(OS)" == "Windows_NT"
|
|
|
|
NULL=
|
2010-11-24 04:27:50 +08:00
|
|
|
!ELSE
|
1998-07-03 12:24:16 +08:00
|
|
|
NULL=nul
|
2010-11-24 04:27:50 +08:00
|
|
|
!ENDIF
|
1998-07-03 12:24:16 +08:00
|
|
|
|
2010-11-24 04:27:50 +08:00
|
|
|
ALL:
|
2000-01-19 03:05:31 +08:00
|
|
|
cd include
|
2001-08-25 06:42:28 +08:00
|
|
|
if not exist pg_config.h copy pg_config.h.win32 pg_config.h
|
2012-10-08 09:52:07 +08:00
|
|
|
if not exist pg_config_ext.h copy pg_config_ext.h.win32 pg_config_ext.h
|
2006-07-06 10:12:32 +08:00
|
|
|
if not exist pg_config_os.h copy port\win32.h pg_config_os.h
|
2000-01-19 03:05:31 +08:00
|
|
|
cd ..
|
1998-07-03 12:24:16 +08:00
|
|
|
cd interfaces\libpq
|
1998-10-06 11:02:29 +08:00
|
|
|
nmake /f win32.mak $(MAKEMACRO)
|
1998-07-03 12:24:16 +08:00
|
|
|
cd ..\..
|
|
|
|
echo All Win32 parts have been built!
|
2000-01-19 03:05:31 +08:00
|
|
|
|
|
|
|
CLEAN:
|
|
|
|
cd interfaces\libpq
|
|
|
|
nmake /f win32.mak CLEAN
|
|
|
|
cd ..\..
|
|
|
|
echo All Win32 parts have been cleaned!
|
|
|
|
|
|
|
|
DISTCLEAN: CLEAN
|
|
|
|
cd include
|
2012-10-08 09:52:07 +08:00
|
|
|
del pg_config.h pg_config_ext.h pg_config_os.h
|
2001-08-25 06:42:28 +08:00
|
|
|
cd ..
|