added a cleanup script
authorPaul J R <me@pjr.cc>
Fri, 13 Nov 2009 17:51:42 +0000 (04:51 +1100)
committerPaul J R <me@pjr.cc>
Fri, 13 Nov 2009 17:51:42 +0000 (04:51 +1100)
src/cleanit [new file with mode: 0755]
src/makeit [changed mode: 0644->0755]

diff --git a/src/cleanit b/src/cleanit
new file mode 100755 (executable)
index 0000000..d83b860
--- /dev/null
@@ -0,0 +1,15 @@
+rm -f *.cgo[1234].* *.so *.o *.a *.8
+cgo dbibridge.go 
+
+8g -o _dbibridge_.8 dbibridge.cgo1.go dbibridge.cgo2.go
+8c -FVw -I/export/src/external/golang//src/pkg/runtime  dbibridge.cgo3.c
+gopack grc dbibridge.a _dbibridge_.8 dbibridge.cgo3.8
+#cp dbibridge.a /export/src/external/golang//pkg/linux_386/dbibridge.a
+gcc -m32 -fPIC -O2 -o dbibridge.cgo4.o -c  dbibridge.cgo4.c
+gcc -m32 -shared -L`pwd` -lpthread -lm -ldbi -o dbibridge_dbibridge.so dbibridge.cgo4.o 
+#cp dbibridge.so /export/src/external/golang//pkg/linux_386/./dbibridge_dbibridge.so
+
+
+
+8g -I. webconnector.go
+8l -o godhammer -L. webconnector.8
old mode 100644 (file)
new mode 100755 (executable)