]> git.sur5r.net Git - openldap/blob - libraries/msdos/makefile.nfs
no longer supported.
[openldap] / libraries / msdos / makefile.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 # Edit the following variables to have appropriate values for your system
17 #
18 NOLOGO  = /nologo
19 MAKE    = nmake $(NOLOGO)
20 CFLAGS  = /c /AL /DDOS /DMSC /DNEEDPROTOS /DPCNFS /W3 /Oas $(ACFLAGS) -I../h
21 LDFLAGS = /m /SEG:256 /ST:8192
22
23 ############################################################################
24 #                                                                          #
25 # You should not have to edit anything below this point                    #
26 #                                                                          #
27 ############################################################################
28
29 SDIRS   = liblber ldapd libldap
30 OTHERS  = finger gopher ud
31
32 all: lber-lib ldap-lib
33
34 lib-only: lber-lib ldap-lib
35
36 others: ldap-finger ldap-gopher ldap-ud
37
38 lber-lib:
39         cd liblber
40         $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" all
41         cd ..
42
43 ldap-lib:
44         cd libldap
45         $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" all
46         cd ..
47
48 #ldap-ud:
49 #       echo "cd ud; $(MAKE) all"
50 #       cd ud
51 #       $(MAKE) CFLAGS="$(CFLAGS) $(UDDEFINES)" LDFLAGS="$(LDFLAGS)" \
52 #               LIBDIR=$(LIBDIR) CC=$(CC) LD=$(LD) makeud.msc
53 #       cd ..
54
55 clean:
56         cd liblber
57         $(MAKE) clean
58         cd ..\libldap
59         $(MAKE) clean
60         cd ..