blob: 7da12fdc4941f7eb7052603305f6051cdc3e0b10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.orig Wed Oct 25 07:02:37 2000
+++ Makefile Wed Oct 25 13:11:16 2000
@@ -1,11 +1,10 @@
all:
- swig -I.. -python ming.i
- gcc -I .. -I /usr/include/python1.5/ -fpic -c ming_wrap.c
- gcc -L .. -shared -o mingcmodule.so ming_wrap.o -lming
+ ${SWIG} -I.. -python ming.i
+ ${CC} ${CFLAGS} -I${LOCALBASE}/include/ming -I${LOCALBASE}/include/${PYTHON_VERSION} -fpic -c ming_wrap.c
+ ${CC} -shared -o mingcmodule.so ming_wrap.o -L${LOCALBASE}/lib -lming
clean:
rm -f mingcmodule.so core *~ *.o ming_wrap*
install:
- cp mingcmodule.so ming.py /usr/lib/python1.5/site-packages
- chmod 755 /usr/lib/python1.5/site-packages/mingcmodule.so
+ ${BSD_INSTALL_DATA} mingcmodule.so ming.py ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages
|