~ubuntu-branches/ubuntu/hardy/libsvm/hardy

« back to all changes in this revision

Viewing changes to python/Makefile.osx

  • Committer: Bazaar Package Importer
  • Author(s): Rudi Cilibrasi
  • Date: 2006-09-26 21:28:48 UTC
  • Revision ID: james.westby@ubuntu.com-20060926212848-32vmapsyn6y9ssma
Tags: 2.82.0-1
* 2.82.0-1
* Initial release. (Closes: #379051)  This package will be a
  sponsored upload by Paul van Tilburg and owes him thanks for
  valuable suggestions.
* This release also closes: #379051.
* Made Python interface work.  Thank to Yarik for help with this.
* Made version numbers and SONAME to be more consistent, modern, and clean.
* Thanks to Yarik (Yaroslav Halchenko <debian@onerussian.com>) for
  help with the version/SONAME fix.
* Fixed some minor documentation issues.
* Adjusted watch file and versioning scheme to follow upstream better.
* Fixed libsvm.pc description.
* Clarified debian/copyright.
* Moved -dev package sections to libdevel.
* Manual pages moved to debian/ subdir.
* Simplified external Debian packaging.
* Merged libsvm-doc stuff into libsvm2 package and got rid of -doc package.
* Minor packaging adjustments prior to first official upload.
* Switched to CDBS.
* More packaging adjustments; made configure executable.
* Minor packaging fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CC = g++
 
2
SWIG ?= swig
 
3
 
 
4
$(include ../minimf)
 
5
 
 
6
#Windows: see ../README ../Makefile.win
 
7
PYTHON_INCLUDEDIR=/usr/include/python2.3
 
8
PCFLAGS=-O3 -I$(PYTHON_INCLUDEDIR) -I..
 
9
PLDFLAGS=$(SHAREDOPT) $(SONAMEOPT)
 
10
PLIBS=-lpython2.3
 
11
 
 
12
all: svmc.dylib
 
13
 
 
14
svmc.dylib: svmc_wrap.o svm.o
 
15
        $(CC) $(PLDFLAGS) -dynamiclib -o svmc.dylib svmc_wrap.o svm.o $(PLIBS)
 
16
 
 
17
svmc_wrap.o: svmc_wrap.c ../svm.h
 
18
        $(CC) $(PCFLAGS) -fPIC -c svmc_wrap.c
 
19
 
 
20
svmc_wrap.c: svmc.i
 
21
        $(SWIG) -python -noproxy svmc.i
 
22
 
 
23
svm.o: ../svm.cpp ../svm.h
 
24
        $(CC) $(PCFLAGS) -fPIC -c ../svm.cpp
 
25
 
 
26
clean:
 
27
        rm -f *~ *.o *.dylib *.pyc *.pyo svm.o
 
28
 
 
29
moreclean:      clean
 
30
        rm -f svmc_wrap.c