1 # Makefile.in for LDAP -llunicode
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2006 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 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_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
29 LDAP_INCDIR= ../../include
30 LDAP_LIBDIR= ../../libraries
32 uctable.h: ucgendat.c $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions.txt
34 ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
36 ucgendat: $(XLIBS) ucgendat.o
37 $(LTLINK) -o $@ ucgendat.o $(LIBS)
40 @for i in $(XXSRCS) $(XXHEADERS); do \
42 $(LN_S) $(XXDIR)$$i . ; \
46 $(XXSRCS) $(XXHEADERS) : .links
49 @$(RM) *.dat .links $(XXHEADERS) ucgendat