2003-11-26 10:58:56 +08:00
|
|
|
# Makefile.in for LDAP -llunicode
|
2000-01-26 08:00:45 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-26 15:16:36 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2021-01-12 03:25:53 +08:00
|
|
|
## Copyright 1998-2021 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
2000-01-26 08:00:45 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
2000-01-26 08:00:45 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
|
2000-01-26 08:00:45 +08:00
|
|
|
LIBRARY = liblunicode.a
|
|
|
|
|
2006-04-06 09:27:16 +08:00
|
|
|
XXDIR = $(srcdir)/ucdata/
|
2004-05-31 09:58:13 +08:00
|
|
|
XXHEADERS = ucdata.h ure.h uctable.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)
|
2007-10-19 12:46:41 +08:00
|
|
|
XLIBS = $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
|
2004-05-31 09:58:13 +08:00
|
|
|
#PROGRAMS = ucgendat
|
2000-01-26 08:00:45 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
2006-02-11 03:15:35 +08:00
|
|
|
uctable.h: $(XXDIR)/uctable.h
|
|
|
|
|
|
|
|
$(XXDIR)/uctable.h: $(XXDIR)/ucgendat.c $(srcdir)/UnicodeData.txt $(srcdir)/CompositionExclusions.txt
|
2004-05-31 09:58:13 +08:00
|
|
|
$(MAKE) ucgendat
|
|
|
|
./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
|
|
|
|
|
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)
|
2000-09-04 07:48:35 +08:00
|
|
|
|
2000-01-26 08:00:45 +08:00
|
|
|
.links :
|
|
|
|
@for i in $(XXSRCS) $(XXHEADERS); do \
|
|
|
|
$(RM) $$i ; \
|
2006-04-07 09:15:07 +08:00
|
|
|
ii=`find $(srcdir) -name $$i` ; \
|
2006-04-06 09:27:16 +08:00
|
|
|
$(LN_S) $$ii . ; \
|
2000-01-26 08:00:45 +08:00
|
|
|
done
|
|
|
|
touch .links
|
|
|
|
|
2005-09-04 23:23:35 +08:00
|
|
|
$(XXSRCS) $(XXHEADERS) : .links
|
2000-01-26 08:00:45 +08:00
|
|
|
|
|
|
|
clean-local: FORCE
|
2004-05-31 09:58:13 +08:00
|
|
|
@$(RM) *.dat .links $(XXHEADERS) ucgendat
|
2000-01-26 08:00:45 +08:00
|
|
|
|
|
|
|
depend-common: .links
|