From 0161d735721e49b9d444e6d817d378ed04bcd3d5 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Thu, 5 Jan 2006 00:12:49 +0000 Subject: [PATCH] remove debian Makefile git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@412 7ec92016-0320-0410-acc4-a06ded1c099a --- Makefile-debian | 65 ------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100755 Makefile-debian diff --git a/Makefile-debian b/Makefile-debian deleted file mode 100755 index a5bdb9b..0000000 --- a/Makefile-debian +++ /dev/null @@ -1,65 +0,0 @@ -# libloki Makefile -# -# written for Debian GNU/Linux by # martin f. krafft -# but may be used by others. -# -# (c) 2005 martin f. krafft -# Released under the terms of the Artistic Licence: -# http://www.opensource.org/licenses/artistic-license.php -# - -LOKI_VERSION=$(shell dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-[[:digit:]]*,\1,p') - -prefix ?= /usr/local -libdir ?= $(prefix)/lib -includedir ?= $(prefix)/include - -CPPFLAGS = -CXXFLAGS = -I./include -O2 -g -Wall -W -pedantic -ansi -Werror -c -LDFLAGS = -static -rpath $(libdir) - -LIBTOOL = libtool -COMPILE = $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CPPFLAGS) $(CXXFLAGS) -LINK = $(LIBTOOL) --mode=link --tag=BINCXX $(LD) $(LDFLAGS) -INSTALL = $(LIBTOOL) --mode=install install -m644 -FINISH = $(LIBTOOL) --mode=finish -CLEAN = $(LIBTOOL) --mode=clean $(RM) - -SOURCES = src/SmallObj.cpp src/Singleton.cpp src/OrderedStatic.cpp - -libloki.la: $(patsubst %.cpp,%.lo,$(SOURCES)) - $(LINK) -o $@ $^ - -libloki.pc: libloki.pc.in - sed -e "s,@prefix@,$(prefix)," \ - -e "s,@libdir@,$(libdir)," \ - -e "s,@includedir@,$(includedir)," \ - $< > $@ - - -.PHONY: all -all: libloki.la - -.PHONY: install -install: DESTlibdir = $(DESTDIR)$(libdir) -install: DESTincludedir = $(DESTDIR)$(includedir) -install: libloki.la libloki.pc -ifndef DESTDIR - @echo E: DESTDIR not specified. >&2 - @false -else - mkdir -p $(DESTlibdir) - $(INSTALL) libloki.la $(DESTlibdir) 2>/dev/null - mkdir -p $(DESTlibdir)/pkgconfig - $(INSTALL) libloki.pc $(DESTlibdir)/pkgconfig 2>/dev/null - mkdir -p $(DESTincludedir) - $(INSTALL) $(wildcard *.h) $(DESTincludedir) -endif - -%.lo: %.cpp - $(COMPILE) -o $@ $< - -.PHONY: clean -clean: - $(CLEAN) $(wildcard *.o *.lo) - $(CLEAN) $(wildcard *.a *.la)