mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
f9687f6c2a
In liblunicode, 'make clean' and 'make distclean' do not remove the symlinks ucdata.h and ure.h. from Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenLDAP$
|
|
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
|
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
##
|
|
## Makefile.in for LDAP -lldap
|
|
##
|
|
LIBRARY = liblunicode.a
|
|
|
|
XXDIR = $(srcdir)/*/
|
|
XXHEADERS = ucdata.h ure.h
|
|
|
|
XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
|
|
SRCS = ucstr.c
|
|
OBJS = ucdata.o ure.o urestubs.o ucstr.o
|
|
|
|
XLIB = $(LIBRARY)
|
|
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
|
|
|
|
DATFILES = case.dat cmbcl.dat comp.dat ctype.dat decomp.dat num.dat kdecomp.dat
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(DESTDIR)$(datadir)/ucdata
|
|
@for i in $(DATFILES); do \
|
|
echo $(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $$i $(DESTDIR)$(datadir)/ucdata; \
|
|
done
|
|
|
|
.links :
|
|
@for i in $(XXSRCS) $(XXHEADERS); do \
|
|
$(RM) $$i ; \
|
|
$(LN_S) $(XXDIR)$$i . ; \
|
|
done
|
|
touch .links
|
|
|
|
$(XXSRCS) : .links
|
|
|
|
clean-local: FORCE
|
|
@$(RM) *.dat .links $(XXHEADERS)
|
|
|
|
depend-common: .links
|