summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/test-plugins/testplugin.mak
diff options
context:
space:
mode:
authorcvsadm <cvsadm>2005-01-21 00:44:34 +0000
committercvsadm <cvsadm>2005-01-21 00:44:34 +0000
commitb2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch)
treecf58939393a9032182c4fbc4441164a9456e82f8 /ldap/servers/slapd/test-plugins/testplugin.mak
downloadds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.tar.gz
ds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.tar.xz
ds-b2093e3016027d6b5cf06b3f91f30769bfc099e2.zip
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/servers/slapd/test-plugins/testplugin.mak')
-rw-r--r--ldap/servers/slapd/test-plugins/testplugin.mak431
1 files changed, 431 insertions, 0 deletions
diff --git a/ldap/servers/slapd/test-plugins/testplugin.mak b/ldap/servers/slapd/test-plugins/testplugin.mak
new file mode 100644
index 00000000..ca48774c
--- /dev/null
+++ b/ldap/servers/slapd/test-plugins/testplugin.mak
@@ -0,0 +1,431 @@
+#
+# BEGIN COPYRIGHT BLOCK
+# Copyright 2001 Sun Microsystems, Inc.
+# Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
+# All rights reserved.
+# END COPYRIGHT BLOCK
+#
+# Microsoft Developer Studio Generated NMAKE File, Based on testplugin.dsp
+!IF "$(CFG)" == ""
+CFG=testplugin - Win32 Release
+!MESSAGE No configuration specified. Defaulting to testplugin - Win32 Release.
+!ENDIF
+
+!IF "$(CFG)" != "testplugin - Win32 Release" && "$(CFG)" !=\
+ "testplugin - Win32 Debug"
+!MESSAGE Invalid configuration "$(CFG)" specified.
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "testplugin.mak" CFG="testplugin - Win32 Release"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "testplugin - Win32 Release" (based on\
+ "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "testplugin - Win32 Debug" (based on\
+ "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+!ERROR An invalid configuration is specified.
+!ENDIF
+
+!IF "$(OS)" == "Windows_NT"
+NULL=
+!ELSE
+NULL=nul
+!ENDIF
+
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+OUTDIR=.\Release
+INTDIR=.\Release
+# Begin Custom Macros
+OutDir=.\.\Release
+# End Custom Macros
+
+!IF "$(RECURSE)" == "0"
+
+ALL : "$(OUTDIR)\testplugin.dll"
+
+!ELSE
+
+ALL : "$(OUTDIR)\testplugin.dll"
+
+!ENDIF
+
+CLEAN :
+ -@erase "$(INTDIR)\dllmain.obj"
+ -@erase "$(INTDIR)\testbind.obj"
+ -@erase "$(INTDIR)\testentry.obj"
+ -@erase "$(INTDIR)\testextendedop.obj"
+ -@erase "$(INTDIR)\testpostop.obj"
+ -@erase "$(INTDIR)\testpreop.obj"
+ -@erase "$(INTDIR)\testsaslbind.obj"
+ -@erase "$(INTDIR)\vc50.idb"
+ -@erase "$(OUTDIR)\testplugin.dll"
+ -@erase "$(OUTDIR)\testplugin.exp"
+ -@erase "$(OUTDIR)\testplugin.lib"
+
+"$(OUTDIR)" :
+ if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
+
+CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\include" /D "WIN32" /D "NDEBUG" /D\
+ "_WINDOWS" /D "_WIN32" /Fp"$(INTDIR)\testplugin.pch" /YX /Fo"$(INTDIR)\\"\
+ /Fd"$(INTDIR)\\" /FD /c
+CPP_OBJS=.\Release/
+CPP_SBRS=.
+MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
+BSC32=bscmake.exe
+BSC32_FLAGS=/nologo /o"$(OUTDIR)\testplugin.bsc"
+BSC32_SBRS= \
+
+LINK32=link.exe
+LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
+ advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
+ odbccp32.lib wsock32.lib ..\lib\libslapd.lib /nologo /subsystem:windows /dll\
+ /incremental:no /pdb:"$(OUTDIR)\testplugin.pdb" /machine:I386\
+ /def:".\testplugin.def" /out:"$(OUTDIR)\testplugin.dll"\
+ /implib:"$(OUTDIR)\testplugin.lib"
+DEF_FILE= \
+ ".\testplugin.def"
+LINK32_OBJS= \
+ "$(INTDIR)\dllmain.obj" \
+ "$(INTDIR)\testbind.obj" \
+ "$(INTDIR)\testentry.obj" \
+ "$(INTDIR)\testextendedop.obj" \
+ "$(INTDIR)\testpostop.obj" \
+ "$(INTDIR)\testpreop.obj" \
+ "$(INTDIR)\testsaslbind.obj"
+
+"$(OUTDIR)\testplugin.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
+ $(LINK32) @<<
+ $(LINK32_FLAGS) $(LINK32_OBJS)
+<<
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+OUTDIR=.\Debug
+INTDIR=.\Debug
+# Begin Custom Macros
+OutDir=.\.\Debug
+# End Custom Macros
+
+!IF "$(RECURSE)" == "0"
+
+ALL : "$(OUTDIR)\testplugin.dll"
+
+!ELSE
+
+ALL : "$(OUTDIR)\testplugin.dll"
+
+!ENDIF
+
+CLEAN :
+ -@erase "$(INTDIR)\dllmain.obj"
+ -@erase "$(INTDIR)\testbind.obj"
+ -@erase "$(INTDIR)\testentry.obj"
+ -@erase "$(INTDIR)\testextendedop.obj"
+ -@erase "$(INTDIR)\testpostop.obj"
+ -@erase "$(INTDIR)\testpreop.obj"
+ -@erase "$(INTDIR)\testsaslbind.obj"
+ -@erase "$(INTDIR)\vc50.idb"
+ -@erase "$(INTDIR)\vc50.pdb"
+ -@erase "$(OUTDIR)\testplugin.dll"
+ -@erase "$(OUTDIR)\testplugin.exp"
+ -@erase "$(OUTDIR)\testplugin.ilk"
+ -@erase "$(OUTDIR)\testplugin.lib"
+ -@erase "$(OUTDIR)\testplugin.pdb"
+
+"$(OUTDIR)" :
+ if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
+
+CPP_PROJ=/nologo /MD /W3 /Gm /GX /Zi /Od /I "..\include" /D "WIN32" /D "_DEBUG"\
+ /D "_WINDOWS" /D "_WIN32" /Fp"$(INTDIR)\testplugin.pch" /YX /Fo"$(INTDIR)\\"\
+ /Fd"$(INTDIR)\\" /FD /c
+CPP_OBJS=.\Debug/
+CPP_SBRS=.
+MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
+BSC32=bscmake.exe
+BSC32_FLAGS=/nologo /o"$(OUTDIR)\testplugin.bsc"
+BSC32_SBRS= \
+
+LINK32=link.exe
+LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
+ advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
+ odbccp32.lib wsock32.lib ..\lib\libslapd.lib /nologo /subsystem:windows /dll\
+ /incremental:yes /pdb:"$(OUTDIR)\testplugin.pdb" /debug /machine:I386\
+ /def:".\testplugin.def" /out:"$(OUTDIR)\testplugin.dll"\
+ /implib:"$(OUTDIR)\testplugin.lib"
+DEF_FILE= \
+ ".\testplugin.def"
+LINK32_OBJS= \
+ "$(INTDIR)\dllmain.obj" \
+ "$(INTDIR)\testbind.obj" \
+ "$(INTDIR)\testentry.obj" \
+ "$(INTDIR)\testextendedop.obj" \
+ "$(INTDIR)\testpostop.obj" \
+ "$(INTDIR)\testpreop.obj" \
+ "$(INTDIR)\testsaslbind.obj"
+
+"$(OUTDIR)\testplugin.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
+ $(LINK32) @<<
+ $(LINK32_FLAGS) $(LINK32_OBJS)
+<<
+
+!ENDIF
+
+.c{$(CPP_OBJS)}.obj::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+.cpp{$(CPP_OBJS)}.obj::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+.cxx{$(CPP_OBJS)}.obj::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+.c{$(CPP_SBRS)}.sbr::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+.cpp{$(CPP_SBRS)}.sbr::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+.cxx{$(CPP_SBRS)}.sbr::
+ $(CPP) @<<
+ $(CPP_PROJ) $<
+<<
+
+
+!IF "$(CFG)" == "testplugin - Win32 Release" || "$(CFG)" ==\
+ "testplugin - Win32 Debug"
+SOURCE=.\dllmain.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_DLLMA=\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\dllmain.obj" : $(SOURCE) $(DEP_CPP_DLLMA) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_DLLMA=\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_DLLMA=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\dllmain.obj" : $(SOURCE) $(DEP_CPP_DLLMA) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testbind.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTB=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testbind.obj" : $(SOURCE) $(DEP_CPP_TESTB) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTB=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTB=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testbind.obj" : $(SOURCE) $(DEP_CPP_TESTB) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testentry.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTE=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testentry.obj" : $(SOURCE) $(DEP_CPP_TESTE) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTE=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTE=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testentry.obj" : $(SOURCE) $(DEP_CPP_TESTE) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testextendedop.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTEX=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testextendedop.obj" : $(SOURCE) $(DEP_CPP_TESTEX) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTEX=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTEX=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testextendedop.obj" : $(SOURCE) $(DEP_CPP_TESTEX) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testpostop.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTP=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testpostop.obj" : $(SOURCE) $(DEP_CPP_TESTP) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTP=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTP=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testpostop.obj" : $(SOURCE) $(DEP_CPP_TESTP) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testpreop.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTPR=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testpreop.obj" : $(SOURCE) $(DEP_CPP_TESTPR) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTPR=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTPR=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testpreop.obj" : $(SOURCE) $(DEP_CPP_TESTPR) "$(INTDIR)"
+
+
+!ENDIF
+
+SOURCE=.\testsaslbind.c
+
+!IF "$(CFG)" == "testplugin - Win32 Release"
+
+DEP_CPP_TESTS=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+
+
+"$(INTDIR)\testsaslbind.obj" : $(SOURCE) $(DEP_CPP_TESTS) "$(INTDIR)"
+
+
+!ELSEIF "$(CFG)" == "testplugin - Win32 Debug"
+
+DEP_CPP_TESTS=\
+ "..\include\slapi-plugin.h"\
+ {$(INCLUDE)}"lber.h"\
+ {$(INCLUDE)}"ldap.h"\
+ {$(INCLUDE)}"sys\types.h"\
+
+NODEP_CPP_TESTS=\
+ "..\include\macsock.h"\
+ "..\include\os2sock.h"\
+
+
+"$(INTDIR)\testsaslbind.obj" : $(SOURCE) $(DEP_CPP_TESTS) "$(INTDIR)"
+
+
+!ENDIF
+
+
+!ENDIF
+