Makefile (mvIMPACT Acquire)
#! /bin/make
OSTYPE := $(shell uname | cut -d _ -f 1 | tr [:upper:] [:lower:])
HOSTTYPE := $(shell uname -m)
#-------------------------------------------
ifeq ($(OSTYPE),cygwin)
SUBDIRS=$(OSTYPE)
else
ifeq ($(HOSTTYPE),i686)
NATIVE=x86
else
NATIVE=$(HOSTTYPE)
ifeq ($(NATIVE),x86_64)
EXTRA_TARGET=x86
endif
endif
SUBDIRS = $(NATIVE) ppc_6xx arm $(EXTRA_TARGET)
endif
#-------------------------------------------
.PHONY: $(SUBDIRS) all info ipk native new build strip
#-------------------------------------------
all info ipk:
@for dir in $(SUBDIRS) ; \
do \
mkdir -p $$dir ; \
$(MAKE) -C $$dir -f ../Makefile.inc $@ || exit $$?; \
done \
#-------------------------------------------
native:
@mkdir -p $(NATIVE)
$(MAKE) -C $(NATIVE) -f ../Makefile.inc all || exit $$?
#-------------------------------------------
ppc x86 x86_64 arm cygwin ppc_6xx:
@mkdir -p $@
$(MAKE) -C $@ -f ../Makefile.inc all || exit $$?
#-------------------------------------------
clean:
@rm -rf $(SUBDIRS)
#-------------------------------------------
build new: clean
@for dir in $(SUBDIRS) ; \
do \
mkdir -p $$dir; \
$(MAKE) -C $$dir -f ../Makefile.inc $@ || exit $$?; \
done
#-------------------------------------------
strip:
@for dir in $(SUBDIRS); \
do \
if test -d $$dir; \
then \
$(MAKE) -C $$dir -f ../Makefile.inc $@ || exit $$?; \
fi; \
done
#-------------------------------------------
Makefile.inc (mvIMPACT Acquire)
#! /bin/make
##############################################
# Makefile for the 'myDemo' sample,
# Creation date: Mo Jan 7 16:21:08 CET 2008
##############################################
#-------------------------------------------
ROOT_PATH=../..
#-------------------------------------------
MODULE_NAME=myDemo
#-------------------------------------------
OOBJ = \
#-------------------------------------------
vpath %.cpp ..
#-------------------------------------------
USR_INCLS = \
#-------------------------------------------
USR_LIBS = \
#-------------------------------------------
CPPFLAGS_1 = \
#-------------------------------------------
include $(ROOT_PATH)/Makefile.samp.inc
#-------------------------------------------
#-------------------------------------------
Makefile (mvIMPACT SDK)
#! /bin/make
include ../../../Makefile.demotarg.inc
Makefile.inc (mvIMPACT SDK)
#! /bin/make
##############################################
# Makefile for the 'myDemo' sample,
##############################################
#-------------------------------------------
mvIMPACT=../../../..
#-------------------------------------------
MODULE_NAME=mydemo
#-------------------------------------------
OOBJ = \
#-------------------------------------------
vpath %.cpp ..
#-------------------------------------------
IMPACT_LIBS = -lvl_device \
-lvl_display \
-lvl_base
#-------------------------------------------
USR_INCLS = \
#-------------------------------------------
USR_LIBS = \
#-------------------------------------------
CPPFLAGS_1 = \
#-------------------------------------------
include ../../../Makefile.samp.inc
#-------------------------------------------
#-------------------------------------------
autostart
During the start of the camera, the script "/flash/autostart" will be processed automatically. You can add settings, assignments, mounts etc. to the script. As the last entry, you can add one or more programs or scripts, if you want that the camera starts with a special application automatically.
#!/bin/sh
#------------------------------------------------------------------------
# Add autostart code for mvBlueCOUGAR-P
# Sample file from MATRIX VISION GmbH
# Version 1.0 - Date 2008/29/09
#
# Please edit this file and add your own code!
#
#------------------------------------------------------------------------
# mount the working folder via NFS
# mount -o nolock -n PC-IP:/home/mvbc/ /mnt/user/
# Change into the bin folder and execute the application
#./transmitData