Don't append epoch to log_filename if no format specifier is given.
[PostgreSQL.git] / src / win32.mak
blob8b46cf2a9461ec2c62a9243c00060e5746051e05
1 # $PostgreSQL$
3 # Top-file makefile for building Win32 libpq with Visual C++ 7.1.
4 # (see src/tools/msvc for tools to build with Visual C++ 2005 and newer)
6 !IF "$(OS)" == "Windows_NT"
7 NULL=
8 !ELSE
9 NULL=nul
10 !ENDIF
12 ALL:
13 cd include
14 if not exist pg_config.h copy pg_config.h.win32 pg_config.h
15 if not exist pg_config_os.h copy port\win32.h pg_config_os.h
16 cd ..
17 cd interfaces\libpq
18 nmake /f win32.mak $(MAKEMACRO)
19 cd ..\..
20 echo All Win32 parts have been built!
22 CLEAN:
23 cd interfaces\libpq
24 nmake /f win32.mak CLEAN
25 cd ..\..
26 echo All Win32 parts have been cleaned!
28 DISTCLEAN: CLEAN
29 cd include
30 del pg_config.h pg_config_os.h
31 cd ..