head 1.6; access; symbols INITIAL:1.1.1.1 VENDOR:1.1.1; locks; strict; comment @# @; 1.6 date 2003.02.16.11.39.22; author rse; state Exp; branches; next 1.5; 1.5 date 2002.08.27.19.04.33; author rse; state Exp; branches; next 1.4; 1.4 date 2002.08.23.15.33.18; author rse; state Exp; branches; next 1.3; 1.3 date 2002.08.03.21.00.14; author rse; state Exp; branches; next 1.2; 1.2 date 2002.08.03.10.23.41; author rse; state Exp; branches; next 1.1; 1.1 date 2002.01.21.13.32.35; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.01.21.13.32.35; author rse; state Exp; branches; next ; desc @@ 1.6 log @update copyright messages for new year 2003 @ text @## ## OSSP path - Filesystem Path Manipulation ## Copyright (c) 2002-2003 Ralf S. Engelschall ## Copyright (c) 2002-2003 The OSSP Project ## Copyright (c) 2002-2003 Cable & Wireless Deutschland ## ## This file is part of OSSP path, a filesystem path manipulation library ## which can be found at http://www.ossp.org/pkg/lib/path/. ## ## 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 RMDIR = rmdir SHTOOL = ./shtool LIBTOOL = ./libtool TRUE = true LIB_NAME = libpath.la LIB_OBJS = path_abs2rel.lo path_rel2abs.lo path_resolve.lo path_canon.lo \ path_dirname.lo path_basename.lo path_temp.lo path_self.lo path_util.lo TST_NAME = path_test TST_OBJS = path_test.o .SUFFIXES: .SUFFIXES: .c .o .lo all: $(LIB_NAME) $(TST_NAME) .c.o: $(CC) $(CPPFLAGS) $(CFLAGS) -c $< .c.lo: $(LIBTOOL) --quiet --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< $(LIB_NAME): $(LIB_OBJS) $(LIBTOOL) --quiet --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) --quiet --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS) check: $(TST_NAME) $(LIBTOOL) --quiet --mode=execute ./$(TST_NAME) install: $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) $(SHTOOL) install -c -m 755 path-config $(DESTDIR)$(bindir)/ $(SHTOOL) install -c -m 644 path.h $(DESTDIR)$(includedir)/ $(LIBTOOL) --quiet --mode=install $(SHTOOL) install -c -m 644 libpath.la $(DESTDIR)$(libdir)/ uninstall: $(LIBTOOL) --quiet --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libpath.la -$(RM) $(DESTDIR)$(includedir)/path.h -$(RM) $(DESTDIR)$(bindir)/path-config -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE) -$(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE) clean: -$(RM) $(LIB_NAME) $(LIB_OBJS) -$(RM) $(TST_NAME) $(TST_OBJS) -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE) -$(RM) *.o *.lo distclean: clean -$(RM) config.log config.status config.cache -$(RM) Makefile config.h path-config -$(RM) libtool realclean: distclean -$(RM) configure config.h.in -$(RM) shtool -$(RM) ltmain.sh libtool.m4 config.guess config.sub @ 1.5 log @add path_canon() function for non-physical-fs-based canonifcations of a path @ text @d3 3 a5 3 ## Copyright (c) 2002 Ralf S. Engelschall ## Copyright (c) 2002 The OSSP Project ## Copyright (c) 2002 Cable & Wireless Deutschland @ 1.4 log @Add new path_self(3) function for finding the path to the own program @ text @d53 1 a53 1 LIB_OBJS = path_abs2rel.lo path_rel2abs.lo path_resolve.lo \ @ 1.3 log @add (still untested) full-featured path_temp() function @ text @d54 1 a54 1 path_dirname.lo path_basename.lo path_temp.lo path_util.lo @ 1.2 log @source tree cleanups @ text @d53 2 a54 1 LIB_OBJS = path_abs2rel.lo path_rel2abs.lo path_resolve.lo path_dirname.lo path_basename.lo @ 1.1 log @Initial revision @ text @d2 1 a2 1 ## path - OSSP Path Library d8 1 a8 1 ## which can be found at http://www.ossp.org/pkg/path/. d67 1 a67 1 @@$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c $< d70 1 a70 1 @@$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \ d74 1 a74 1 @@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS) d77 1 a77 1 @@$(LIBTOOL) --mode=execute ./$(TST_NAME) d86 1 a86 1 @@$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libpath.la $(DESTDIR)$(libdir)/ d89 1 a89 1 @@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libpath.la @ 1.1.1.1 log @Welcome OSSP path (filesystem path manipulation library) This is currently just a collection of reused components, assembled together from various vendor sources. @ text @@