Use ol_version.h

This commit is contained in:
Howard Chu 2003-03-19 01:31:42 +00:00
parent 78f9fb45d4
commit 5db9c2c269
8 changed files with 137 additions and 1 deletions

View File

@ -148,6 +148,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapcompare.c
!IF "$CFG)" == "ldapcompare - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -148,6 +148,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapdelete.c
!IF "$CFG)" == "ldapdelete - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -148,6 +148,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapmodify.c
!IF "$CFG)" == "ldapmodify - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -148,6 +148,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapmodrdn.c
!IF "$CFG)" == "ldapmodrdn - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -144,6 +144,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldappasswd.c
!IF "$CFG)" == "ldappasswd - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldappasswd - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldappasswd - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldappasswd - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -148,6 +148,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapsearch.c
!IF "$CFG)" == "ldapsearch - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapsearch - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapsearch - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapsearch - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -144,6 +144,25 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapwhoami.c
!IF "$CFG)" == "ldapwhoami - Win32 Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapwhoami - Win32 Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapwhoami - Win32 Single Debug"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ELSEIF "$(CFG)" == "ldapwhoami - Win32 Single Release"
# ADD CPP /D _OLV_CWD=\"$(OutDir)\"
!ENDIF
# End Source File
# End Target
# End Project

View File

@ -9,7 +9,7 @@
.nt.h:
copy $*.nt $*.h
all: setup.txt
all: setup.txt ol_version0.h
setup.txt: lber_types.h ldap_config.h ldap_features.h portable.h setup.mak
copy setup.mak setup.txt
@ -18,3 +18,6 @@ lber_types.h: lber_types.nt
ldap_config.h: ldap_config.nt
ldap_features.h: ldap_features.nt
portable.h: portable.nt
ol_version0.h: ../build/version.h
$(CPP) /EP /D_OLV_PKG=\"OpenLDAP\" /D_OLV_VER=\"2.1.16\" -D_OLV_WHO=\"$(USERNAME)@$(COMPUTERNAME)\" $? > $@