]> git.sur5r.net Git - openldap/blob - libraries/msdos/makefile.msc
Suck in global schema dn and operational attributes changes
[openldap] / libraries / msdos / makefile.msc
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
17
18 #
19 # Edit the following variables to have appropriate values for your system
20 #
21
22 #
23 # You may want to change some of these things too
24 #
25 # two kinds of things go in ACFLAGS, global compiler flags (like -g to
26 # generate symbol table info), and global defines (like -DKERBEROS to enable
27 # kerberos version 4 authentication, or -DLDAP_DEBUG to compile in some
28 # debugging info you can then turn on by setting ldap_debug)
29 #
30 ACFLAGS         = -g -DNEEDPROTOS #-DLDAP_DEBUG # added to every $(CFLAGS)
31 ALDFLAGS        = # -g                  # always passed to ld
32 UDDEFINES       = -DUOFM                # particular to ud
33
34 #
35 # you probably don't need to edit these things, but if you want to use
36 # a different make or c compiler, change it here.
37 #
38 MAKE    = nmake
39 CC      = cl
40 CFLAGS  = /c /AL /DDOS /DMSC /Ox /W1 $(ACFLAGS) -I../h
41 LD      = link
42 LDFLAGS = /m /ST:8192 $(ALDFLAGS)
43
44 ############################################################################
45 #                                                                          #
46 # You should not have to edit anything below this point                    #
47 #                                                                          #
48 ############################################################################
49
50 SDIRS   = liblber ldapd libldap
51 OTHERS  = finger gopher ud
52
53 all: lber-library ldap-server ldap-library
54
55 library-only: lber-library ldap-library
56
57 others: ldap-finger ldap-gopher ldap-ud
58
59 lber-library:
60         echo "cd liblber; $(MAKE) all"
61         cd liblber
62         $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBDIR=$(LIBDIR) \
63                 CC=$(CC) LD=$(LD) /F makelber.msc
64         cd ..
65
66 ldap-library:
67         echo "cd libldap; $(MAKE) all"
68         cd libldap
69         $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBDIR=$(LIBDIR) \
70                 CC=$(CC) LD=$(LD) /F makeldap.msc
71         cd ..
72
73 #ldap-ud:
74 #       echo "cd ud; $(MAKE) all"
75 #       cd ud
76 #       $(MAKE) CFLAGS="$(CFLAGS) $(UDDEFINES)" LDFLAGS="$(LDFLAGS)" \
77 #               LIBDIR=$(LIBDIR) CC=$(CC) LD=$(LD) makeud.msc
78 #       cd ..