]> git.sur5r.net Git - openldap/blob - libraries/liblunicode/Makefile.in
Remove an implicit int, to silence gcc warnings.
[openldap] / libraries / liblunicode / Makefile.in
1 # $OpenLDAP$
2 ## Copyright 1998-2003 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 = $(LIBRARY)
17 XLIBS = $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
18 PROGRAMS = ucgendat
19
20 LDAP_INCDIR= ../../include       
21 LDAP_LIBDIR= ../../libraries
22
23 ucgendat: $(XLIBS) ucgendat.o
24         $(LTLINK) -o $@ ucgendat.o $(LIBS)
25         ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
26
27 DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
28
29 install-local: $(PROGRAMS) FORCE
30         -$(MKDIR) $(DESTDIR)$(datadir)/ucdata
31         @for i in $(DATFILES); do \
32                 echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
33                 $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
34         done
35
36 .links :
37         @for i in $(XXSRCS) $(XXHEADERS); do \
38                 $(RM) $$i ; \
39                 $(LN_S) $(XXDIR)$$i . ; \
40         done
41         touch .links
42
43 $(XXSRCS) : .links
44
45 clean-local: FORCE
46         @$(RM) *.dat .links $(XXHEADERS)
47
48 depend-common: .links