Lines 16-32
Link Here
|
16 |
# |
16 |
# |
17 |
# Select an installation base directory. The directory will be created |
17 |
# Select an installation base directory. The directory will be created |
18 |
# if it does not exist. |
18 |
# if it does not exist. |
19 |
# |
19 |
# |
20 |
|
20 |
|
21 |
prefix = /opt/IcePy-$(VERSION) |
21 |
prefix = $(DESTDIR)/usr |
22 |
|
22 |
|
23 |
# |
23 |
# |
24 |
# The "root directory" for runpath embedded in executables. Can be unset |
24 |
# The "root directory" for runpath embedded in executables. Can be unset |
25 |
# to avoid adding a runpath to Ice executables. |
25 |
# to avoid adding a runpath to Ice executables. |
26 |
# |
26 |
# |
27 |
embedded_runpath_prefix ?= /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR) |
27 |
#embedded_runpath_prefix ?= /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR) |
28 |
|
28 |
|
29 |
# |
29 |
# |
30 |
# Define OPTIMIZE as yes if you want to build with optimization. |
30 |
# Define OPTIMIZE as yes if you want to build with optimization. |
31 |
# Otherwise the Ice extension is built with debug information. |
31 |
# Otherwise the Ice extension is built with debug information. |
32 |
# |
32 |
# |
Lines 99-110
Link Here
|
99 |
VERSION_MINOR = 2 |
99 |
VERSION_MINOR = 2 |
100 |
VERSION = 3.2.0 |
100 |
VERSION = 3.2.0 |
101 |
SOVERSION = 32 |
101 |
SOVERSION = 32 |
102 |
libdir = $(top_srcdir)/python |
102 |
libdir = $(top_srcdir)/python |
103 |
|
103 |
|
104 |
install_slicedir = $(prefix)/slice |
104 |
install_slicedir = $(prefix)/share/icepy-$(VERSION)/slice |
105 |
install_pythondir = $(prefix)/python |
105 |
install_pythondir = $(prefix)/lib/$(PYTHON_VERSION)/site-packages |
106 |
|
106 |
|
107 |
INSTALL = cp -fp |
107 |
INSTALL = cp -fp |
108 |
INSTALL_PROGRAM = ${INSTALL} |
108 |
INSTALL_PROGRAM = ${INSTALL} |
109 |
INSTALL_LIBRARY = ${INSTALL} |
109 |
INSTALL_LIBRARY = ${INSTALL} |
110 |
INSTALL_DATA = ${INSTALL} |
110 |
INSTALL_DATA = ${INSTALL} |
Lines 136-157
Link Here
|
136 |
endif |
136 |
endif |
137 |
|
137 |
|
138 |
ifneq ($(ICE_HOME),) |
138 |
ifneq ($(ICE_HOME),) |
139 |
slicedir = $(ICE_HOME)/slice |
139 |
slicedir = $(ICE_HOME)/slice |
140 |
else |
140 |
else |
141 |
slicedir = /usr/share/Ice-$(VERSION)/slice |
141 |
slicedir = /usr/share/Ice/slice |
142 |
endif |
142 |
endif |
143 |
|
143 |
|
144 |
install_libdir = $(prefix)/python |
144 |
install_libdir = $(prefix)/lib |
145 |
|
145 |
|
146 |
ifneq ($(embedded_runpath_prefix),) |
146 |
#ifneq ($(embedded_runpath_prefix),) |
147 |
ifeq ($(LP64),yes) |
147 |
# ifeq ($(LP64),yes) |
148 |
runpath_libdir := $(embedded_runpath_prefix)/lib$(lp64suffix) |
148 |
# runpath_libdir := $(embedded_runpath_prefix)/lib$(lp64suffix) |
149 |
else |
149 |
# else |
150 |
runpath_libdir := $(embedded_runpath_prefix)/lib |
150 |
# runpath_libdir := $(embedded_runpath_prefix)/lib |
151 |
endif |
151 |
# endif |
152 |
endif |
152 |
#endif |
153 |
|
153 |
|
154 |
CPPFLAGS = |
154 |
CPPFLAGS = |
155 |
ICECPPFLAGS = -I$(slicedir) |
155 |
ICECPPFLAGS = -I$(slicedir) |
156 |
SLICE2PYFLAGS = $(ICECPPFLAGS) |
156 |
SLICE2PYFLAGS = $(ICECPPFLAGS) |
157 |
|
157 |
|
Lines 198-208
Link Here
|
198 |
installprogram = $(INSTALL_PROGRAM) $(1) $(2); \ |
198 |
installprogram = $(INSTALL_PROGRAM) $(1) $(2); \ |
199 |
chmod a+rx $(2)/$(notdir $(1)) |
199 |
chmod a+rx $(2)/$(notdir $(1)) |
200 |
endif |
200 |
endif |
201 |
|
201 |
|
202 |
ifeq ($(mkdir),) |
202 |
ifeq ($(mkdir),) |
203 |
mkdir = mkdir $(1) ; \ |
203 |
mkdir = mkdir -p $(1) ; \ |
204 |
chmod a+rx $(1) |
204 |
chmod a+rx $(1) |
205 |
endif |
205 |
endif |
206 |
|
206 |
|
207 |
# |
207 |
# |
208 |
# A Python extension library cannot have a "lib" prefix, so Python-specific |
208 |
# A Python extension library cannot have a "lib" prefix, so Python-specific |