X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2FMakefile.in;h=9ce402c03a05f29cb6c1d4f610e0d3d544da8745;hb=59d4b38a7c9247d13bbff43c73c253929e348fdf;hp=b44f3b40ef904e7ef1829a5cdc80bb223d756908;hpb=3cbcf01cfdb77d6d8d575c1b23ca6db6a039ffa8;p=openldap diff --git a/servers/slurpd/Makefile.in b/servers/slurpd/Makefile.in index b44f3b40ef..9ce402c03a 100644 --- a/servers/slurpd/Makefile.in +++ b/servers/slurpd/Makefile.in @@ -1,9 +1,17 @@ +# Makefile.in for slurpd # $OpenLDAP$ -## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. -## COPYING RESTRICTIONS APPLY, see COPYRIGHT file +## This work is part of OpenLDAP Software . ## -## Makefile.in for slurpd +## Copyright 1998-2007 The OpenLDAP Foundation. +## All rights reserved. ## +## Redistribution and use in source and binary forms, with or without +## modification, are permitted only as authorized by the OpenLDAP +## Public License. +## +## A copy of this license is available in the file LICENSE in the +## top-level directory of the distribution or, alternatively, at +## . PROGRAMS = slurpd XPROGRAMS = sslurpd @@ -32,8 +40,7 @@ all-local-srv: $(PROGRAMS) # $(LTHREAD_LIBS) must be last! XLIBS = $(SLURPD_L) -XXLIBS = $(SLURPD_LIBS) $(SECURITY_LIBS) \ - $(LDIF_LIBS) $(LUTIL_LIBS) +XXLIBS = $(SLURPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS) XXXLIBS = $(LTHREAD_LIBS) slurpd: version.o @@ -42,16 +49,18 @@ slurpd: version.o sslurpd: version.o $(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS) -version.c: $(OBJS) $(SLURPD_L) +version.c: Makefile @-$(RM) $@ - $(MKVERSION) slurpd > $@ + $(MKVERSION) -s -n Versionstr slurpd > $@ + +version.o: version.c $(OBJS) $(SLURPD_L) install-local-srv: FORCE -$(MKDIR) $(DESTDIR)$(libexecdir) @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp @( \ for prg in $(PROGRAMS); do \ - $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \ + $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 $$prg$(EXEEXT) \ $(DESTDIR)$(libexecdir); \ done \ )