head 1.11; access; symbols LMTP2NNTP_1_4_1:1.11 LMTP2NNTP_1_4_0:1.11 VAR_1_1_3:1.11 VAR_1_1_2:1.10 VAR_1_1_1:1.10 LMTP2NNTP_1_3_0:1.10 LMTP2NNTP_1_3b2:1.10 LMTP2NNTP_1_3b1:1.10 LMTP2NNTP_1_3a3:1.10 LMTP2NNTP_1_3a2:1.10 LMTP2NNTP_1_3a1:1.10 VAR_1_1_0:1.10 VAR_1_0_0:1.9 LMTP2NNTP_1_2_0:1.8 LMTP2NNTP_1_2b4:1.8 LMTP2NNTP_1_2b3:1.8 LMTP2NNTP_1_2b2:1.8 LMTP2NNTP_1_2b1:1.8 LMTP2NNTP_1_2a8:1.8 LMTP2NNTP_1_2a7:1.8 LMTP2NNTP_1_2a6:1.8 LMTP2NNTP_1_2a5:1.8 LMTP2NNTP_1_2a4:1.8 VAR_0_9_0:1.8 LMTP2NNTP_1_2a3:1.6 OSSP_RC_SPEC:1.2; locks; strict; comment @# @; 1.11 date 2005.01.20.20.29.06; author rse; state Exp; branches; next 1.10; 1.10 date 2004.04.04.08.07.34; author rse; state Exp; branches; next 1.9; 1.9 date 2003.02.14.21.17.07; author rse; state Exp; branches; next 1.8; 1.8 date 2002.03.08.12.55.52; author rse; state Exp; branches; next 1.7; 1.7 date 2002.03.07.14.58.41; author rse; state Exp; branches; next 1.6; 1.6 date 2002.02.28.08.48.44; author rse; state Exp; branches; next 1.5; 1.5 date 2002.02.28.08.08.16; author rse; state Exp; branches; next 1.4; 1.4 date 2002.02.27.13.44.16; author rse; state Exp; branches; next 1.3; 1.3 date 2002.02.05.19.55.42; author rse; state Exp; branches; next 1.2; 1.2 date 2002.01.02.17.12.18; author rse; state Exp; branches; next 1.1; 1.1 date 2001.11.20.20.02.21; author rse; state Exp; branches; next ; desc @@ 1.11 log @Bumped year in copyright messages for new year 2005 @ text @## ## OSSP var -- Variable Expansion ## Copyright (c) 2001-2005 Ralf S. Engelschall ## Copyright (c) 2001-2005 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2005 Cable & Wireless (http://www.cw.com/) ## ## This file is part of OSSP var, a variable expansion ## library which can be found at http://www.ossp.org/pkg/lib/var/. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## Makefile.in: make(1) build procedure ## @@SET_MAKE@@ DESTDIR = prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ CC = @@CC@@ CPPFLAGS = @@CPPFLAGS@@ CFLAGS = @@DEFS@@ @@CFLAGS@@ LDFLAGS = @@LDFLAGS@@ LIBS = @@LIBS@@ RM = rm -f SHTOOL = ./shtool LIBTOOL = ./libtool POD2MAN = pod2man LIB_NAME = libvar.la LIB_OBJS = var.lo TST_NAME = var_test TST_OBJS = var_test.o ts.o PLY_NAME = var_play PLY_OBJS = var_play.o MAN_NAME = var-config.1 var.3 # helper macro for generating a Unix manual page _MANPAGE = \ V1=`$(SHTOOL) version -ltxt -dshort VERSION`; \ V2=`$(SHTOOL) version -ltxt -dlong VERSION`; \ D=`$(SHTOOL) version -ltxt -dlong VERSION |\ sed -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=$${SEC} --center="$${ONELINE}" \ --release="$$D" --date="$${NAME} $$V1" $(S)$${BASENAME}.pod |\ sed -e "s;VAR_VERSION_STR;$$V2;" >$${BASENAME}.$${SEC} .SUFFIXES: .SUFFIXES: .c .o .lo all: $(LIB_NAME) $(TST_NAME) $(PLY_NAME) $(MAN_NAME) .c.o: $(CC) $(CPPFLAGS) $(CFLAGS) -c $< .c.lo: @@$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< $(LIB_OBJS): Makefile $(TST_OBJS): Makefile $(PLY_OBJS): Makefile $(LIB_NAME): $(LIB_OBJS) @@$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \ -version-info `$(SHTOOL) version -l txt -d libtool VERSION` $(TST_NAME): $(TST_OBJS) $(LIB_NAME) @@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS) $(PLY_NAME): $(PLY_OBJS) $(LIB_NAME) @@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PLY_NAME) $(PLY_OBJS) $(LIB_NAME) $(LIBS) var-config.1: var-config.pod VERSION BASENAME="var-config"; SEC=1; \ NAME="VAR"; ONELINE="Variable Expansion Library"; \ $(_MANPAGE) var.3: var.pod VERSION BASENAME="var"; SEC=3; \ NAME="VAR"; ONELINE="Variable Expansion Library"; \ $(_MANPAGE) check: $(TST_NAME) @@$(LIBTOOL) --mode=execute ./$(TST_NAME) && echo "All tests succeeed." install: $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(bindir) $(SHTOOL) install -c -m 755 var-config $(DESTDIR)$(bindir)/ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libvar.la $(DESTDIR)$(libdir)/ $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) $(SHTOOL) install -c -m 644 var.h $(DESTDIR)$(includedir)/ $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(mandir)/man1 $(SHTOOL) install -c -m 644 var-config.1 $(DESTDIR)$(mandir)/man1/ $(SHTOOL) mkdir -p -f -m 755 $(DESTDIR)$(mandir)/man3 $(SHTOOL) install -c -m 644 var.3 $(DESTDIR)$(mandir)/man3/ clean: -$(RM) $(LIB_NAME) $(LIB_OBJS) -$(RM) $(TST_NAME) $(TST_OBJS) -$(RM) $(PLY_NAME) $(PLY_OBJS) distclean: clean -$(RM) config.log config.status config.cache -$(RM) Makefile config.h -$(RM) libtool -$(RM) -r .libs >/dev/null 2>&1 -$(RM) *.o *.lo *.a -$(RM) var-config realclean: distclean -$(RM) configure config.h.in -$(RM) shtool -$(RM) ltmain.sh libtool.m4 config.guess config.sub -$(RM) var-config.1 var.3 @ 1.10 log @adjust copyrights @ text @d3 3 a5 3 ## Copyright (c) 2001-2004 Ralf S. Engelschall ## Copyright (c) 2001-2004 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2004 Cable & Wireless (http://www.cw.com/) @ 1.9 log @final polishing for release 1.0.0 @ text @d3 3 a5 3 ## Copyright (c) 2001-2003 Ralf S. Engelschall ## Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2003 Cable & Wireless Deutschland (http://www.cw.com/de/) @ 1.8 log @polishing and copyright extension (add natural person) @ text @d3 3 a5 3 ## Copyright (c) 2001-2002 Ralf S. Engelschall ## Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) @ 1.7 log @- use our standard ts.[ch] test suite library - add support for Dmalloc facility @ text @d3 1 @ 1.6 log @URL fixing and additional documents @ text @d54 1 a54 1 TST_OBJS = var_test.o @ 1.5 log @HEADS UPS: Mega-commit, revamping the whole library! - completely new API - completely new manual page @ text @d7 1 a7 1 ## library which can be found at http://www.ossp.org/pkg/var/. @ 1.4 log @style and text cleanups @ text @d56 3 d74 1 a74 1 all: $(LIB_NAME) $(TST_NAME) $(MAN_NAME) d83 1 d92 3 d122 1 @ 1.3 log @Force new object file generation if the Makefile changed. PR: Submitted by: Reviewed by: Approved by: Obtained from: @ text @d2 1 a2 1 ## VAR - OSSP variable expression library. d6 1 a6 1 ## This file is part of OSSP VAR, an extensible data serialization @ 1.2 log @bump copyright year @ text @d78 3 @ 1.1 log @Apply standard environment for OSSP libraries. @ text @d3 2 a4 2 ## Copyright (c) 2001 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/) @