1 #-----------------------------------------------------------------------------
2 # Copyright (c) 1996 Regents of the University of Michigan.
5 # Redistribution and use in source and binary forms are permitted
6 # provided that this notice is preserved and that due credit is given
7 # to the University of Michigan at Ann Arbor. The name of the University
8 # may not be used to endorse or promote products derived from this
9 # software without specific prior written permission. This software
10 # is provided ``as is'' without express or implied warranty.
12 # ldif library makefile
14 #-----------------------------------------------------------------------------
26 CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
31 $(AR) ruv $@ $(OBJS) version.o
32 @if [ ! -z "$(RANLIB)" ]; then \
36 $(LN) libldif/$@ ../$@
40 (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
41 h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
42 -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
43 -e "s|%VERSION%|$${v}|" \
49 $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
52 $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
55 $(RM) libldif.a ../libldif.a *.o core a.out version.c
58 $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)