Lines 1-33
Link Here
|
1 |
--- Makefile.orig Sat Apr 28 09:45:46 2001 |
|
|
2 |
+++ Makefile Thu May 15 13:52:33 2003 |
3 |
@@ -1,7 +1,7 @@ |
4 |
|
5 |
CC=gcc |
6 |
-CFLAG=-O2 -g -Wall -Iinclude |
7 |
-LIBS= -Llib -lhz |
8 |
+CFLAG+=-Iinclude |
9 |
+LIBS+=-Llib -lhz |
10 |
|
11 |
.PHONY: all hzlib clean install-home install |
12 |
|
13 |
@@ -30,12 +30,11 @@ |
14 |
ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5 |
15 |
chmod 755 $(HOME)/bin/autogb |
16 |
install: |
17 |
- install -m 755 autogb $(DESTDIR)/usr/bin |
18 |
- install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib |
19 |
- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0 |
20 |
- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so |
21 |
- install -m 755 lib/libhz.a $(DESTDIR)/usr/lib |
22 |
- install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert |
23 |
- install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert |
24 |
- install -m 644 include/*.h $(DESTDIR)/usr/include |
25 |
- ln -s autogb $(DESTDIR)/usr/bin/autob5 |
26 |
+ ${BSD_INSTALL_PROGRAM} autogb $(PREFIX)/bin |
27 |
+ ${BSD_INSTALL_PROGRAM} lib/libhz.so.0.0 $(PREFIX)/lib/libhz.so.0 |
28 |
+ cd $(PREFIX)/lib;ln -s libhz.so.0 libhz.so |
29 |
+ ${BSD_INSTALL_PROGRAM} lib/libhz.a $(PREFIX)/lib |
30 |
+ ${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autogb.so $(PREFIX)/share/zh-autoconvert |
31 |
+ ${BSD_INSTALL_PROGRAM} contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/zh-autoconvert |
32 |
+ ${BSD_INSTALL_DATA} include/*.h $(PREFIX)/include |
33 |
+ ln -s autogb $(PREFIX)/bin/autob5 |