Commit 09590c26 authored by teresa's avatar teresa

Adding roperscientific case.

parent d34fd810
......@@ -258,6 +258,39 @@ $(prosilica-full): $(prosilica-objs)
build_targets += $(prosilica-full)
endif
############################
# LIMA - ROPERSCIENTIFIC
############################
ifneq ($(COMPILE_ROPERSCIENTIFIC),0)
ROPERSCIENTIFIC_LDLIBS := -lpvcam -lraw1394
name := roperscientific
roperscientific-objs := ../camera/roperscientific/src/RoperScientific.o
version-file := ../camera/roperscientific/VERSION
roperscientific-flags := $(LDFLAGS)
roperscientific-deps := $(ROPERSCIENTIFIC_LDLIBS)
full-version := $(shell cat $(version-file))
maj-version := $(shell echo $(full-version) | cut -f1 -d.)
roperscientific-base := liblima$(name).so
roperscientific-full := $(roperscientific-base).$(full-version)
roperscientific-maj := $(roperscientific-base).$(maj-version)
roperscientific-flags += -fPIC -Wl,-soname,$(roperscientific-maj)
$(roperscientific-full): $(roperscientific-objs)
$(CXX) -shared -o $@ $(roperscientific-flags) $+ $(roperscientific-deps)
rm -f $(roperscientific-maj); ln -s $(roperscientific-full) $(roperscientific-maj)
rm -f $(roperscientific-base); ln -s $(roperscientific-maj) $(roperscientific-base)
build_targets += $(roperscientific-full)
endif
src: $(build_targets)
test:
......
......@@ -19,18 +19,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
############################################################################
sub-dirs = common
sub-dirs = common simulator
include ../config.inc
ifndef COMPILE_SIMULATOR
COMPILE_SIMULATOR = 0
endif
ifneq ($(COMPILE_SIMULATOR),0)
sub-dirs += simulator
endif
ifndef COMPILE_FRELON
COMPILE_FRELON = 0
endif
......@@ -64,4 +56,12 @@ ifneq ($(COMPILE_PROSILICA),0)
sub-dirs += prosilica
endif
ifndef COMPILE_ROPERSCIENTIFIC
COMPILE_ROPERSCIENTIFIC = 0
endif
ifneq ($(COMPILE_ROPERSCIENTIFIC),0)
sub-dirs += roperscientific
endif
include ../global.inc
......@@ -49,6 +49,12 @@ ifneq ($(COMPILE_PROSILICA), 0)
sip-modules += prosilica
endif
ifneq ($(COMPILE_ROPERSCIENTIFIC), 0)
sip-modules += roperscientific
endif
all: src
src:
......
......@@ -33,7 +33,8 @@ modules = [('core', ['common', 'hardware', 'control']),
('frelon', [os.path.join('camera','frelon')]),
('maxipix', [os.path.join('camera','maxipix')]),
('basler', [os.path.join('camera','basler')]),
('prosilica', [os.path.join('camera','prosilica')])]
('prosilica', [os.path.join('camera','prosilica')]),
('roperscientific', [os.path.join('camera','roperscientific')])]
espiaModules = ['espia', 'frelon', 'maxipix']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment