/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 com_fg/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
# Cygwin/Linux-GCC Makefile
 
2
# (C) 2007, Photonfocus AG
 
3
#
 
4
# $Id: Makefile,v 1.4 2008-12-19 10:16:24 hofmann Exp $
 
5
#
 
6
# This is the GNU Makefile to compile a user comdll
 
7
# to handle the interface with the frame grabber
 
8
#
 
9
#  Usage:
 
10
#
 
11
#    make clean              remove the library and object file
 
12
#    make all                to create the comdll_fg library
 
13
#
 
14
############################################################################
 
15
# CONFIGURATION
 
16
 
 
17
 
 
18
#This variables should not be changed
 
19
DLLCSRCS = comdll_fg.c
 
20
INCLUDES = -I. 
 
21
OPTIMIZATIONS = -finline-functions#-O2
 
22
 
 
23
 
 
24
############################################################################
 
25
#frame grabber settings
 
26
#please change this settings for your frame grabber
 
27
 
 
28
#for Leutron frame grabber
 
29
#FG_DIR = /usr/lib/lvsds 
 
30
#DLLDEPS = -L$(FG_DIR) -llvdsy
 
31
 
 
32
#for siso grabber
 
33
#FG_DIR = /siso/menable/lib
 
34
#DLLDEPS = -L$(FG_DIR) -lsiso20 -lclserme3
 
35
 
 
36
#for euresys grabber
 
37
#FG_DIR = /usr/lib
 
38
#DLLDEPS = -L$(FG_DIR) -lclseremc1
 
39
 
 
40
############################################################################
 
41
all:    
 
42
        gcc -o comdll_fg.o -c $(DLLCSRCS) $(INCLUDES) $(OPTIMIZATIONS) -Wall -fPIC
 
43
        gcc -shared -o libcomdll_fg.so comdll_fg.o -lm $(DLLDEPS) -Wl,-E
 
44
 
 
45
clean:
 
46
        rm -f comdll_fg.o
 
47
        rm -f libcomdll_fg.so