openldap/libraries/liblunicode/Makefile.in

49 lines
1.2 KiB
Makefile
Raw Normal View History

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