source: orange/source/Makefile @ 9580:4c14b8e96de4

Revision 9580:4c14b8e96de4, 1.5 KB checked in by anze <anze.staric@…>, 2 years ago (diff)

Changed ORANGE_LIBDIR to point to the actual orange dir

Line 
1# Set ORANGE_LIBDIR to some other directory if ../.. is on
2# a vfat file-system (not common, but I need it)
3# (This is needed because vfat doesn't support symbolic links)
4ifndef ORANGE_LIBDIR
5  ORANGE_LIBDIR=../../orange
6endif
7
8################################
9# External library configuration
10################################
11#
12#  The folowing options if un-commented (or passes to the make command)
13# will cause the build process to link to the corresponding external
14# library. The option must name the library to link with. The library
15# and its header files must be on the search path (add the apropriate
16# paths to CFLAGS, CXXFLAGS and LDFLAGS if they are not on the default
17# search path).
18#
19
20######
21# BLAS
22######
23
24#BLAS_LIB = blas
25
26
27#######
28#LibSVM
29#######
30
31#LIBSVM_LIB = svm
32
33
34###########
35# LIBLINEAR
36###########
37
38#LIBLINEAR_LIB = linear
39
40
41#######
42# QHULL
43#######
44
45#QHULL_LIB = qhull
46 
47
48PYTHON ?= $(shell which python)
49
50MODULES=include orange orangeom orangene corn statc
51
52# This is nedded for orangeqt on Mac
53ifndef DESTDIR
54DESTDIR = $(shell $(PYTHON) -s -c "import sys; print sys.prefix+'/lib/python'+sys.version[:3]")/site-packages/orange
55endif # DESTDIR
56
57ACTIONS=all clean cleantemp
58
59$(ACTIONS):
60    (for MODULE in $(MODULES) ; \
61       do if ! $(MAKE) $@ -C $$MODULE OLD=$(ORANGE_LIBDIR) PYTHON=$(PYTHON); then exit 1; fi; done)
62ifndef EXCLUDE_ORANGEQT
63    if ! $(MAKE) $@ -C orangeqt OLD=$(ORANGE_LIBDIR) PYTHON=$(PYTHON) DESTDIR=$(DESTDIR); then exit 1; fi;
64endif   
65
66install: # all orange.pth canvas bininstall docinstall
67    @echo "Please use Python Distutils to install Orange."
68
Note: See TracBrowser for help on using the repository browser.