]> git.sur5r.net Git - openldap/blobdiff - libraries/liblunicode/Makefile.in
ITS#6933
[openldap] / libraries / liblunicode / Makefile.in
index c7de1a782763376010e643311af4313fdff464ee..c3ee1809cf8e064b527796fdcee08725cadc62f1 100644 (file)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2006 The OpenLDAP Foundation.
+## Copyright 1998-2011 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -15,7 +15,7 @@
 
 LIBRARY = liblunicode.a
 
-XXDIR = $(srcdir)/*/
+XXDIR = $(srcdir)/ucdata/
 XXHEADERS = ucdata.h ure.h uctable.h
 
 XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
@@ -23,7 +23,7 @@ SRCS  = ucstr.c
 OBJS   = ucdata.o ure.o urestubs.o ucstr.o
 
 XLIB = $(LIBRARY)
-XLIBS = $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
+XLIBS = $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
 #PROGRAMS = ucgendat
 
 LDAP_INCDIR= ../../include       
@@ -41,7 +41,8 @@ ucgendat: $(XLIBS) ucgendat.o
 .links :
        @for i in $(XXSRCS) $(XXHEADERS); do \
                $(RM) $$i ; \
-               $(LN_S) $(XXDIR)$$i . ; \
+               ii=`find $(srcdir) -name $$i` ; \
+               $(LN_S) $$ii . ; \
        done
        touch .links