]> git.sur5r.net Git - openldap/blob - libraries/msdos/makeldap.nfs
no longer supported.
[openldap] / libraries / msdos / makeldap.nfs
1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1992 Regents of the University of Michigan.
3 # All rights reserved.
4 #
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.
11 #
12 #       LDAP lightweight X.500 Directory access top level makefile for MSC
13 #
14 #-----------------------------------------------------------------------------
15
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
22
23 NOLOGO  = /nologo
24 CC      = cl $(NOLOGO)
25 MAKE    = nmake $(NOLOGO)
26 LD      = link $(NOLOGO)
27
28 default:
29         cd ..
30         $(MAKE) ldap-lib
31
32 all:    libldap.lib ltest
33
34 bind.obj:       bind.c
35         $(CC) $(CFLAGS) bind.c
36
37 opendos.obj:    opendos.c
38         $(CC) $(CFLAGS) opendos.c
39
40 result.obj:     result.c
41         $(CC) $(CFLAGS) result.c
42
43 error.obj:      error.c
44         $(CC) $(CFLAGS) error.c
45
46 compare.obj:    compare.c
47         $(CC) $(CFLAGS) compare.c
48
49 search.obj:     search.c
50         $(CC) $(CFLAGS) search.c
51
52 parse.obj:      parse.c
53         $(CC) $(CFLAGS) parse.c
54
55 modify.obj:     modify.c
56         $(CC) $(CFLAGS) modify.c
57
58 add.obj:        add.c
59         $(CC) $(CFLAGS) add.c
60
61 modrdn.obj:     modrdn.c
62         $(CC) $(CFLAGS) modrdn.c
63
64 delete.obj:     delete.c
65         $(CC) $(CFLAGS) delete.c
66
67 abandon.obj:    abandon.c
68         $(CC) $(CFLAGS) abandon.c
69
70 synchron.obj:   synchron.c
71         $(CC) $(CFLAGS) synchron.c
72
73 kerberos.obj:   kerberos.c
74         $(CC) $(CFLAGS) kerberos.c
75
76 cache.obj:      cache.c
77         $(CC) $(CFLAGS) cache.c
78
79 ufn.obj:        ufn.c
80         $(CC) $(CFLAGS) ufn.c
81
82 libldap.lib:    $(OBJS)
83         del libldap.lib
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;
87
88 test.obj:       test.c
89         $(CC) $(CFLAGS) test.c
90
91 ltest:  libldap.lib test.obj ..\liblber\liblber.lib
92         $(LD) $(LDFLAGS) test,ltest,nul,libldap+..\liblber\liblber+ltklib ;
93
94 clean:
95         del *.obj
96         del *.lib
97         del *.exe