]> git.sur5r.net Git - openldap/blob - libraries/liblunicode/Makefile.in
Update copyright statements
[openldap] / libraries / liblunicode / Makefile.in
1 # $OpenLDAP$
2 ## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4 ##
5 ## Makefile.in for LDAP -lldap
6 ##
7 LIBRARY = liblunicode.a
8
9 XXDIR = $(srcdir)/*/
10 XXHEADERS = ucdata.h ure.h
11
12 XXSRCS  = ucdata.c ucgendat.c ure.c urestubs.c
13 SRCS    = ucstr.c
14 OBJS    = ucdata.o ure.o urestubs.o ucstr.o
15
16 XLIB = -llunicode
17 PROGRAMS = ucgendat
18
19 LDAP_INCDIR= ../../include       
20 LDAP_LIBDIR= ../../libraries
21
22 ucgendat: $(LIBRARY) ucgendat.o
23         $(LTLINK) -o $@ ucgendat.o $(LIBS)
24         ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
25
26 DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat
27
28 install-local: $(PROGRAMS) FORCE
29         -$(MKDIR) $(DESTDIR)$(datadir)/ucdata
30         @for i in $(DATFILES); do \
31                 echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
32                 $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
33         done
34
35 .links :
36         @for i in $(XXSRCS) $(XXHEADERS); do \
37                 $(RM) $$i ; \
38                 $(LN_S) $(XXDIR)$$i . ; \
39         done
40         touch .links
41
42 $(XXSRCS) : .links
43
44 clean-local: FORCE
45         @$(RM) *.dat .links
46
47 depend-common: .links