1 # Makefile.in for LDAP -llunicode
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2013 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
18 XXDIR = $(srcdir)/ucdata/
19 XXHEADERS = ucdata.h ure.h uctable.h
21 XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
23 OBJS = ucdata.o ure.o urestubs.o ucstr.o
26 XLIBS = $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
29 LDAP_INCDIR= ../../include
30 LDAP_LIBDIR= ../../libraries
32 uctable.h: $(XXDIR)/uctable.h
34 $(XXDIR)/uctable.h: $(XXDIR)/ucgendat.c $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions.txt
36 ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
38 ucgendat: $(XLIBS) ucgendat.o
39 $(LTLINK) -o $@ ucgendat.o $(LIBS)
42 @for i in $(XXSRCS) $(XXHEADERS); do \
44 ii=`find $(srcdir) -name $$i` ; \
49 $(XXSRCS) $(XXHEADERS) : .links
52 @$(RM) *.dat .links $(XXHEADERS) ucgendat