2000-01-26 08:00:45 +08:00
|
|
|
# $OpenLDAP$
|
2002-01-05 05:17:25 +08:00
|
|
|
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
|
2000-05-13 10:43:19 +08:00
|
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
2000-01-26 08:00:45 +08:00
|
|
|
##
|
|
|
|
## Makefile.in for LDAP -lldap
|
|
|
|
##
|
|
|
|
LIBRARY = liblunicode.a
|
|
|
|
|
2000-01-29 05:52:28 +08:00
|
|
|
XXDIR = $(srcdir)/*/
|
2000-01-26 08:00:45 +08:00
|
|
|
XXHEADERS = ucdata.h ure.h
|
2000-09-04 07:48:35 +08:00
|
|
|
|
2000-01-26 08:00:45 +08:00
|
|
|
XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
|
2000-09-08 07:31:59 +08:00
|
|
|
SRCS = ucstr.c
|
|
|
|
OBJS = ucdata.o ure.o urestubs.o ucstr.o
|
2000-01-26 08:00:45 +08:00
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
XLIB = $(LIBRARY)
|
2002-07-26 11:22:53 +08:00
|
|
|
XLIBS = $(LDAP_LIBLUTIL_A)
|
2000-01-26 08:00:45 +08:00
|
|
|
PROGRAMS = ucgendat
|
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
ucgendat: $(XLIBS) ucgendat.o
|
2000-10-01 16:10:37 +08:00
|
|
|
$(LTLINK) -o $@ ucgendat.o $(LIBS)
|
2001-01-17 01:25:20 +08:00
|
|
|
./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
|
2000-09-04 07:48:35 +08:00
|
|
|
|
2002-04-19 20:59:57 +08:00
|
|
|
DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
|
2000-09-05 01:49:43 +08:00
|
|
|
|
2000-09-04 07:48:35 +08:00
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
|
|
-$(MKDIR) $(DESTDIR)$(datadir)/ucdata
|
2000-09-05 01:49:43 +08:00
|
|
|
@for i in $(DATFILES); do \
|
|
|
|
echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
|
2000-09-05 01:01:37 +08:00
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
|
2000-09-04 07:48:35 +08:00
|
|
|
done
|
2000-01-26 08:00:45 +08:00
|
|
|
|
|
|
|
.links :
|
|
|
|
@for i in $(XXSRCS) $(XXHEADERS); do \
|
|
|
|
$(RM) $$i ; \
|
2000-01-29 05:52:28 +08:00
|
|
|
$(LN_S) $(XXDIR)$$i . ; \
|
2000-01-26 08:00:45 +08:00
|
|
|
done
|
|
|
|
touch .links
|
|
|
|
|
|
|
|
$(XXSRCS) : .links
|
|
|
|
|
|
|
|
clean-local: FORCE
|
2002-05-05 07:13:51 +08:00
|
|
|
@$(RM) *.dat .links $(XXHEADERS)
|
2000-01-26 08:00:45 +08:00
|
|
|
|
|
|
|
depend-common: .links
|