]> git.tdb.fi Git - libs/core.git/commitdiff
Rename the library as mspfs
authorMikko Rasa <tdb@tdb.fi>
Sat, 19 Jul 2008 23:51:39 +0000 (23:51 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sat, 19 Jul 2008 23:51:39 +0000 (23:51 +0000)
Remove obsolete files

Build
Makefile [deleted file]
Package [deleted file]
source/path.cpp
source/path.h
source/utils.cpp
source/utils.h

diff --git a/Build b/Build
index 04490594263506c819efa0430d94b7da488cda4b..831a5df36ed78101caa3e578e164e42c6bd52d31 100644 (file)
--- a/Build
+++ b/Build
@@ -1,16 +1,16 @@
 /* $Id$ */
 
-package "msppath"
+package "mspfs"
 {
        version "0.1";
        description "Filesystem utilities";
 
        require "mspstrings";
 
-       library "msppath"
+       library "mspfs"
        {
                source "source";
                install true;
-               install_headers "msp/path";
+               install_headers "msp/fs";
        };
 };
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 8396a66..0000000
--- a/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-NAME           = path
-
-WORKDIR                = $(PWD)/../..
-TMP            = $(WORKDIR)/tmp/linux
-TGT            = $(HOME)/local
-
-CXX            = g++
-CC             = gcc
-AR             = ar
-CP             = cp
-
-LIBFILE                = libmsp$(NAME)
-
-MAKEFLAGS      += -s --no-print-directory
-INCLUDE                = -Isource -I$(TMP)/include
-LIB            = -L$(TMP)
-DEBUG          = 
-CFLAGS         = $(DEBUG) $(INCLUDE) -pipe -Wall 
-CXXFLAGS       = $(CFLAGS)
-
-PIC            = -fPIC
-SHARED         = .so
-STATIC         = .a
-
-SRC            = source
-OBJS           = $(addprefix $(TMP)/, $(addsuffix .o, $(notdir $(basename $(wildcard $(SRC)/*.cpp)))))
-
-pkgincludedir  = include/msp/$(NAME)
-libdir         = lib
-
-.PHONY: all
-all: $(TMP) $(TMP)/$(LIBFILE)$(SHARED) $(TMP)/$(LIBFILE)$(STATIC) tmpheaders
-
-# Create temp directory
-$(TMP):
-       mkdir -p $@
-
-# Dynamic library
-$(TMP)/$(LIBFILE)$(SHARED): $(OBJS)
-       echo "Compiling $(notdir $@)"
-       $(CXX) $^ -shared -o $@ $(LIB) $(LDFLAGS)
-
-# Static library
-$(TMP)/$(LIBFILE)$(STATIC): $(OBJS)
-       echo "Compiling $(notdir $@)"
-       $(AR) rcs $@ $^
-
-# Copy headers to temp
-.PHONY: tmpheaders
-tmpheaders: $(TMP)/$(pkgincludedir)
-       $(CP) $(SRC)/*.h $<
-
-$(TMP)/$(pkgincludedir):
-       mkdir -p $@
-
-# Library object file
-$(TMP)/%.o: $(SRC)/%.cpp $(wildcard $(SRC)/*.h)
-       echo "Compiling $(NAME)/$(notdir $(basename $@))"
-       $(CXX) $(PIC) $(CXXFLAGS) -c $< -o $@
-
-# Installs
-.PHONY: install
-install: install_lib 
-
-$(TGT)/$(pkgincludedir):
-       mkdir -p $@
-
-$(TGT)/$(libdir):
-       mkdir -p $@
-
-.PHONY: install_headers
-install_headers: $(TGT)/$(pkgincludedir)
-       echo "Installing $(NAME) headers to $<"
-       $(CP) $(SRC)/*.h $<
-
-.PHONY: install_lib
-install_lib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(SHARED)
-       echo "Installing dynamic library to $<"
-       $(CP) $(TMP)/$(LIBFILE)$(SHARED) $<
-
-.PHONY: install_staticlib
-install_staticlib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(STATIC)
-       echo "Installing static library to $<"
-       $(CP) $(TMP)/$(LIBFILE)$(STATIC) $<
diff --git a/Package b/Package
deleted file mode 100644 (file)
index 550c7d3..0000000
--- a/Package
+++ /dev/null
@@ -1,3 +0,0 @@
-package="msppath"
-version="0.1"
-requires=("mspmisc",)
index 25c9b170c9460b8d8bcc3bb504285a51119ec8cf..bed74162e4fa9674ee62a1e483ec0160333e550a 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
-This file is part of libmsppath
-Copyright © 2006-2007  Mikko Rasa, Mikkosoft Productions
+This file is part of libmspfs
+Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
index 1da6a934cd800874107503ab0fea7d259061f951..9eacf5199ca1c3fa0363788d698c5c1a14b79e15 100644 (file)
@@ -1,12 +1,12 @@
 /* $Id$
 
-This file is part of libmsppath
-Copyright © 2006-2007  Mikko Rasa, Mikkosoft Productions
+This file is part of libmspfs
+Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
-#ifndef MSP_PATH_PATH_H_
-#define MSP_PATH_PATH_H_
+#ifndef MSP_FS_PATH_H_
+#define MSP_FS_PATH_H_
 
 #include <ostream>
 #include <string>
index 33981b227e744baa5f20eae390694e5ddb9435f8..ca6d6f346469c6f4f980e601f6339fd9f587083f 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
-This file is part of libmsppath
-Copyright © 2006-2007  Mikko Rasa, Mikkosoft Productions
+This file is part of libmspfs
+Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
index b166fede96a8e888f4ea070cce87ede620dfe466..8139a7e4c073f4f7d8640608ae85b4cce5b79e4e 100644 (file)
@@ -1,12 +1,12 @@
 /* $Id$
 
-This file is part of libmsppath
-Copyright © 2006-2007  Mikko Rasa, Mikkosoft Productions
+This file is part of libmspfs
+Copyright © 2006-2008  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
-#ifndef MSP_PATH_UTILS_H_
-#define MSP_PATH_UTILS_H_
+#ifndef MSP_FS_UTILS_H_
+#define MSP_FS_UTILS_H_
 
 #include <sys/stat.h>
 #include <list>