diff options
| author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
|---|---|---|
| committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
| commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
| tree | cf58939393a9032182c4fbc4441164a9456e82f8 /ldap/servers/slapd/test-plugins/Makefile.WINNT | |
| download | ds-ldapserver7x.tar.gz ds-ldapserver7x.tar.xz ds-ldapserver7x.zip | |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/servers/slapd/test-plugins/Makefile.WINNT')
| -rw-r--r-- | ldap/servers/slapd/test-plugins/Makefile.WINNT | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ldap/servers/slapd/test-plugins/Makefile.WINNT b/ldap/servers/slapd/test-plugins/Makefile.WINNT new file mode 100644 index 00000000..d18d7ea7 --- /dev/null +++ b/ldap/servers/slapd/test-plugins/Makefile.WINNT @@ -0,0 +1,45 @@ +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +# Makefile for Directory Server plug-in +# + +CC = cl +LD = link + + +TARGET=testplugin + +OBJS=testsaslbind.obj testextendedop.obj testpreop.obj testpostop.obj testentry.obj testbind.obj testgetip.obj testdatainterop.obj testdbinterop.obj + + +INC = ../include +CFLAGS = /nologo -I $(INC) /c +LDFLAGS = /dll /nologo +LIBS=/DEFAULTLIB: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 ../lib/libnspr4.lib ./lib/libdb42.lib + + +all: \ + init \ + $(TARGET).dll + +init: + "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat" + + +$(TARGET).dll: $(OBJS) + $(LD) $(LDFLAGS) /def:$(TARGET).def /out:$(TARGET).dll $(EXTRA_LIBS) $(LIBS) $(OBJS) + -rm -f $(OBJS2) *~ + +%.obj:%.c + $(CC) $(CFLAGS) $< + +clean: + del -f $(OBJS) $(TARGET).dll *~ + + + |
