1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1992 Regents of the University of Michigan.
5 # Redistribution and use in source and binary forms are permitted
6 # provided that this notice is preserved and that due credit is given
7 # to the University of Michigan at Ann Arbor. The name of the University
8 # may not be used to endorse or promote products derived from this
9 # software without specific prior written permission. This software
10 # is provided ``as is'' without express or implied warranty.
12 # LDAP lightweight X.500 Directory access top level makefile for MSC
14 #-----------------------------------------------------------------------------
16 SRCS = bind.c opendos.c result.c error.c compare.c search.c parse.c \
17 modify.c add.c modrdn.c delete.c abandon.c synchron.c \
18 kerberos.c cache.c ufn.c
19 OBJS = bind.obj opendos.obj result.obj error.obj compare.obj search.obj \
20 parse.obj modify.obj add.obj modrdn.obj delete.obj abandon.obj \
21 synchron.obj kerberos.obj cache.obj ufn.obj
25 MAKE = nmake $(NOLOGO)
32 all: libldap.lib ltest
35 $(CC) $(CFLAGS) bind.c
37 opendos.obj: opendos.c
38 $(CC) $(CFLAGS) opendos.c
41 $(CC) $(CFLAGS) result.c
44 $(CC) $(CFLAGS) error.c
46 compare.obj: compare.c
47 $(CC) $(CFLAGS) compare.c
50 $(CC) $(CFLAGS) search.c
53 $(CC) $(CFLAGS) parse.c
56 $(CC) $(CFLAGS) modify.c
62 $(CC) $(CFLAGS) modrdn.c
65 $(CC) $(CFLAGS) delete.c
67 abandon.obj: abandon.c
68 $(CC) $(CFLAGS) abandon.c
70 synchron.obj: synchron.c
71 $(CC) $(CFLAGS) synchron.c
73 kerberos.obj: kerberos.c
74 $(CC) $(CFLAGS) kerberos.c
77 $(CC) $(CFLAGS) cache.c
84 lib $(NOLOGO) libldap.lib +bind.obj+opendos.obj+result.obj+error.obj+compare.obj;
85 lib $(NOLOGO) libldap.lib +search.obj+parse.obj+modify.obj+add.obj+modrdn.obj;
86 lib $(NOLOGO) libldap.lib +delete.obj+abandon.obj+synchron.obj+kerberos.obj+cache.obj+ufn.obj;
89 $(CC) $(CFLAGS) test.c
91 ltest: libldap.lib test.obj ..\liblber\liblber.lib
92 $(LD) $(LDFLAGS) test,ltest,nul,libldap+..\liblber\liblber+ltklib ;