1 # Makefile.in for LDAP -llunicode
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2003 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 LIBRARY = liblunicode.a
19 XXHEADERS = ucdata.h ure.h
21 XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
23 OBJS = ucdata.o ure.o urestubs.o ucstr.o
26 XLIBS = $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
29 LDAP_INCDIR= ../../include
30 LDAP_LIBDIR= ../../libraries
32 ucgendat: $(XLIBS) ucgendat.o
33 $(LTLINK) -o $@ ucgendat.o $(LIBS)
34 ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
36 DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
38 install-local: $(PROGRAMS) FORCE
39 -$(MKDIR) $(DESTDIR)$(datadir)/ucdata
40 @for i in $(DATFILES); do \
41 echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
42 $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
46 @for i in $(XXSRCS) $(XXHEADERS); do \
48 $(LN_S) $(XXDIR)$$i . ; \
55 @$(RM) *.dat .links $(XXHEADERS)