Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / openldap / dist / libraries / liblunicode / Makefile.in
blob6a900006973ff06bf90ab9d2dcb52a49984c2153
1 # Makefile.in for LDAP -llunicode
2 # $OpenLDAP: pkg/ldap/libraries/liblunicode/Makefile.in,v 1.31.2.5 2008/02/11 23:26:42 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
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
22 SRCS = ucstr.c
23 OBJS = ucdata.o ure.o urestubs.o ucstr.o
25 XLIB = $(LIBRARY)
26 XLIBS = $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
27 #PROGRAMS = ucgendat
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
35 $(MAKE) ucgendat
36 ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
38 ucgendat: $(XLIBS) ucgendat.o
39 $(LTLINK) -o $@ ucgendat.o $(LIBS)
41 .links :
42 @for i in $(XXSRCS) $(XXHEADERS); do \
43 $(RM) $$i ; \
44 ii=`find $(srcdir) -name $$i` ; \
45 $(LN_S) $$ii . ; \
46 done
47 touch .links
49 $(XXSRCS) $(XXHEADERS) : .links
51 clean-local: FORCE
52 @$(RM) *.dat .links $(XXHEADERS) ucgendat
54 depend-common: .links