1 $! 30-Nov-1995 ldap V3.2 Craig Watkins Innosoft International, Inc.
3 $! This is a crude make procedure to build the ldap libraries and the test
4 $! program. This should work with DECC or VAXC compilers.
6 $! This links with UCX libraries so that it should work on any TCP/IP
7 $! package that has UCX emulation. This has been tested with MultiNet.
8 $! You may have to change the LINK to find your copy of UCX$IPC.OLB.
11 $ if f$getsyi("hw_model") .GE. 1024 then ARCH = "ALPHA"
13 $ ! If we are on an alpha/axp, we need to use DECC -- otherwise, your choice
15 $ if ARCH .eqs. "ALPHA" then COMPILER = "DECC"
17 $ if COMPILER .eqs. "VAXC"
19 $ define arpa sys$library:
20 $ define sys sys$library:
21 $ define netinet sys$library:
22 $! This assumes your default compiler is VAXC; if not, add /VAXC below
23 $ cc_switches = "/include=([---.include],[---.libraries.vms])/define=(LDAP_DEBUG,CLDAP,LDAP_REFERRALS,STR_TRANSLATION,LDAP_CHARSET_8859=88591)"
27 $ cc_switches = "/decc/standard=vaxc/include=([---.include],[---.libraries.vms])/define=(__STDC__,LDAP_DEBUG,CLDAP,LDAP_REFERRALS,STR_TRANSLATION,LDAP_CHARSET_8859=88591)
30 $ cc 'CC_SWITCHES' 'P1' [---.libraries.liblber]io
31 $ cc 'CC_SWITCHES' 'P1' [---.libraries.liblber]encode
32 $ cc 'CC_SWITCHES' 'P1' [---.libraries.liblber]decode
33 $ cc 'CC_SWITCHES' 'P1' [---.libraries.liblber]version
35 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]ABANDON
36 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]ADD
37 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]ADDENTRY
38 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]BIND
39 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]CACHE
40 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]CHARSET
41 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]CLDAP
42 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]COMPARE
43 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]DELETE
44 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]DISPTMPL
45 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]DSPARSE
46 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]ERROR
47 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]FREE
48 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]FRIENDLY
49 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETATTR
50 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETDN
51 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETDXBYNAME
52 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETENTRY
53 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETFILTER
54 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]GETVALUES
55 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]KBIND
56 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]MODIFY
57 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]MODRDN
58 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]OPEN
59 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]OS-IP
60 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]REGEX
61 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]REQUEST
62 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]RESULT
63 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]SBIND
64 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]SEARCH
65 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]SORT
66 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]SRCHPREF
67 $ cc 'CC_SWITCHES' 'P1' /define="TEMPLATEFILE=""LDAP_ETC:ldaptemplates.conf""" -
68 [---.libraries.libldap]TMPLOUT
69 $!CC 'CC_SWITCHES' 'P1' [---.libraries.libldap]TMPLTEST
70 $ cc 'CC_SWITCHES' 'P1' /define="FILTERFILE=""LDAP_ETC:ldapfilter.conf""" -
71 [---.libraries.libldap]UFN
72 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]UNBIND
73 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]VERSION
75 $ cc 'CC_SWITCHES' 'P1' [---.libraries.vms]getopt
76 $ cc 'CC_SWITCHES' 'P1' [---.libraries.vms]strings
78 $ library/create/log ldap.olb *.obj
80 $ cc 'CC_SWITCHES' 'P1' [---.libraries.libldap]TEST
82 $ if COMPILER .eqs. "VAXC"
85 $ link test, sys$input/opt
87 sys$library:ucx$ipc.olb/lib
88 sys$share:vaxcrtl.exe/share
92 $ link test, sys$input/opt