[med-svn] r2079 - in trunk/packages: . patman patman/branches patman/branches/upstream patman/branches/upstream/current

plessy at alioth.debian.org plessy at alioth.debian.org
Sat Jun 21 03:58:07 UTC 2008


Author: plessy
Date: 2008-06-21 03:58:06 +0000 (Sat, 21 Jun 2008)
New Revision: 2079

Added:
   trunk/packages/patman/
   trunk/packages/patman/branches/
   trunk/packages/patman/branches/upstream/
   trunk/packages/patman/branches/upstream/current/
   trunk/packages/patman/branches/upstream/current/Makefile
Log:
[svn-inject] Installing original source of patman

Added: trunk/packages/patman/branches/upstream/current/Makefile
===================================================================
--- trunk/packages/patman/branches/upstream/current/Makefile	                        (rev 0)
+++ trunk/packages/patman/branches/upstream/current/Makefile	2008-06-21 03:58:06 UTC (rev 2079)
@@ -0,0 +1,49 @@
+# PatMaN DNA pattern matcher
+# (C) 2007 Kay Pruefer, Udo Stenzel
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or (at
+# your option) any later version.  See the LICENSE file for details.
+
+prefix := ${HOME}
+version := 1.2
+
+TARGETS := patman
+OBJS := prefix_tree.o fasta.o main.o
+CPPFLAGS += -Wall 
+CPPFLAGS += -O3 -funroll-loops -DNDEBUG -march=k8
+# CPPFLAGS += -ggdb
+LDLIBS += -lpopt
+
+all: $(TARGETS)
+
+patman:	$(OBJS)
+	g++ $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+%.o:	%.cpp
+	g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) -c -o $@ $<
+
+install: $(TARGET)
+	install -d ${prefix}/bin
+	install -d ${prefix}/share/man/man1
+	install -s -m755 $^ ${prefix}/bin
+	install -m644 patman.1 ${prefix}/share/man/man1
+	
+fasta.o: fasta.h 
+prefix_tree.o: prefix_tree.h global.h
+main.o: fasta.h prefix_tree.h global.h
+
+.SUFFIXES:
+
+.PHONY: clean mrproper dist all
+
+dist: all
+	$(MAKE) clean
+	strip $(TARGETS)
+
+clean:	
+	-rm -f $(OBJS)
+	
+mrproper: clean
+	-rm -r $(TARGET)




More information about the debian-med-commit mailing list