]> git.sur5r.net Git - openldap/blob - libraries/msdos/makelber.msc
no longer supported.
[openldap] / libraries / msdos / makelber.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 #       lightweight ber library makefile for MicroSoft C
13 #
14 #-----------------------------------------------------------------------------
15
16 SRCS    = decode.c encode.c io.c msdos.c lp.c
17 OBJS    = decode.obj encode.obj io.obj msdos.obj lp.obj
18
19 CFLAGS  = $(ACFLAGS) -I../h
20 CC      = echo "cd up a level first"
21
22 NCFLAGS = -I../../include
23
24 #default:
25 #       (cd ../; make lber-library)
26
27 all:    $(OBJS) liblber.lib
28
29 decode.obj:     decode.c
30         $(CC) $(CFLAGS) decode.c
31
32 encode.obj:     encode.c
33         $(CC) $(CFLAGS) encode.c
34
35 io.obj: io.c
36         $(CC) $(CFLAGS) io.c
37
38 msdos.obj:      msdos.c
39         $(CC) $(CFLAGS) $(NCFLAGS) msdos.c
40
41 lp.obj: lp.c
42         $(CC) $(CFLAGS) $(NCFLAGS) lp.c
43
44 liblber.lib:    $(OBJS)
45         del liblber.lib
46         lib liblber.lib +decode.obj+encode.obj+io.obj+msdos.obj+lp.obj;
47
48 #etest.obj:     etest.c
49 #       $(CC) $(CFLAGS) etest.c
50
51 #etest: liblber.lib etest.obj
52 #       $(LD) $(LDFLAGS) etest,etest,nul,liblber
53
54 #dtest.obj:     dtest.c
55 #       $(CC) $(CFLAGS) dtest.c
56
57 #dtest: liblber.lib dtest.obj
58 #       $(LD) $(LDFLAGS) dtest,dtest,nul,liblber