/camera/camlib

To get this branch, use:
bzr branch http://darksoft.org/webbzr/camera/camlib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile
# Build photon focus toos 
#

PREFIX=/opt/camera
#PREFIX=$(HOME)

SUBDIRS= com_fg pfcontrol
.PHONY: all install clean

all clean:
	@target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; \
	for subdir in $$list; do \
	    echo "Making $$target in $$subdir"; \
	    $(MAKE) -C $$subdir $$target || \
	    exit 1 ; \
	done

doc:
	doxygen pflib.doxygen

install:
	mkdir -p $(PREFIX)/bin
	mkdir -p $(PREFIX)/lib
	mkdir -p $(PREFIX)/include
	cp include/*.h $(PREFIX)/include
	cp lib/libmv2_d1280_640.so $(PREFIX)/lib
	cp lib/libcomdll.so $(PREFIX)/lib
	cp com_fg/libcomdll_fg.so $(PREFIX)/lib	
	cp pfcontrol/pfcontrol $(PREFIX)/bin
	cp pfcontrol/pfserver $(PREFIX)/bin
	cp pfcontrol/pfclient $(PREFIX)/bin