/camera/camlib

To get this branch, use:
bzr branch http://darksoft.org/webbzr/camera/camlib

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2011-02-13 01:33:37 UTC
  • Revision ID: csa@dside.dyndns.org-20110213013337-ibm4w4n5a3hu4k7u
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile
 
2
# Build photon focus toos 
 
3
#
 
4
 
 
5
PREFIX=/opt/camera
 
6
#PREFIX=$(HOME)
 
7
 
 
8
SUBDIRS= com_fg pfcontrol
 
9
.PHONY: all install clean
 
10
 
 
11
all clean:
 
12
        @target=`echo $@ | sed s/-recursive//`; \
 
13
        list='$(SUBDIRS)'; \
 
14
        for subdir in $$list; do \
 
15
            echo "Making $$target in $$subdir"; \
 
16
            $(MAKE) -C $$subdir $$target || \
 
17
            exit 1 ; \
 
18
        done
 
19
 
 
20
doc:
 
21
        doxygen pflib.doxygen
 
22
 
 
23
install:
 
24
        mkdir -p $(PREFIX)/bin
 
25
        mkdir -p $(PREFIX)/lib
 
26
        mkdir -p $(PREFIX)/include
 
27
        cp include/*.h $(PREFIX)/include
 
28
        cp lib/libmv2_d1280_640.so $(PREFIX)/lib
 
29
        cp lib/libcomdll.so $(PREFIX)/lib
 
30
        cp com_fg/libcomdll_fg.so $(PREFIX)/lib 
 
31
        cp pfcontrol/pfcontrol $(PREFIX)/bin
 
32
        cp pfcontrol/pfserver $(PREFIX)/bin
 
33
        cp pfcontrol/pfclient $(PREFIX)/bin
 
34