--- Makefile.in.orig Tue Dec 30 06:08:09 2003
+++ Makefile.in Sun Jan 4 17:58:03 2004
@@ -1,19 +1,19 @@
-DEBUG=
-FLAGS=-Wall -O3
+#DEBUG=
+#FLAGS=
all:
cd src && make
cd examples && make
install:
- cp include/memgrep.h /usr/include
- cp libmemgrep.so /usr/lib
- cp libmemgrep.a /usr/lib
- cp heaplist.so /usr/lib
- cp memgrep /usr/bin
+ ${BSD_INSTALL_DATA} include/memgrep.h ${PREFIX}/include
+ ${BSD_INSTALL_PROGRAM} libmemgrep.so ${PREFIX}/lib
+ ${BSD_INSTALL_DATA} libmemgrep.a ${PREFIX}/lib
+ ${BSD_INSTALL_PROGRAM} heaplist.so ${PREFIX}/lib
+ ${BSD_INSTALL_PROGRAM} memgrep ${PREFIX}/bin
uninstall:
- rm -f /usr/lib/libmemgrep.so /usr/lib/libmemgrep.a /usr/bin/memgrep /usr/include/memgrep.h
+ rm -f ${PREFIX}/lib/libmemgrep.so ${PREFIX}/lib/libmemgrep.a ${PREFIX}/bin/memgrep ${PREFIX}/include/memgrep.h
clean:
cd examples && make clean
syntax highlighted by Code2HTML, v. 0.9.1