This commit was generated by cvs2svn to compensate for changes in r161,
[gnokii.git] / Docs / developers / other / sniffs / irda / tools / intercept / Makefile
1 #
2 #/*********************************************************************
3 # *
4 # * Filename:      Makefile
5 # * Version:
6 # * Description:   Makefile for irda_intercept
7 # * Status:        Experimental.
8 # * Author:        Thomas Schneider
9 # * Created at:    Thomas Schneider <nok-trace-men@dev-thomynet.de>
10 # * Modified at:   Sun Jul 18 12:03:03 1999
11 # * Modified by:   Thomas Schneider <nok-trace-men@dev-thomynet.de>
12 # *
13 # *     Copyright (c) 1999 Thomas Schneider, All Rights Reserved.
14 # *
15 # *     This program is free software; you can redistribute it and/or
16 # *     modify it under the terms of the GNU General Public License as
17 # *     published by the Free Software Foundation; either version 2 of
18 # *     the License, or (at your option) any later version.
19 # *
20 # * This program is distributed in the hope that it will be useful, but
21 # * WITHOUT ANY WARRANTY; without even the implied warranty of
22 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23 # * General Public License for more details.
24 # *
25 # * You should have received a copy of the GNU General Public License
26 # * along with this program; if not, write to the Free Software 
27 # * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 # *
29 # * IN NO EVENT SHALL THOMAS SCHNEIDER BE LIABLE TO ANY PARTY FOR
30 # * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 
31 # * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
32 # * IF THOMAS SCHNEIDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 
33 # * DAMAGE.
34 # *
35 # * THOMAS SCHNEIDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
36 # * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
37 # * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER
38 # * IS ON AN "AS IS" BASIS, AND THOMAS SCHNEIDER HAS NO OBLIGATION TO 
39 # * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
40 # * MODIFICATIONS.
41 # *
42 # *         This material is provided "AS-IS" and at no charge.
43 # *
44 # ********************************************************************/
45
46 #
47 # Serial port for communication
48 #
49
50 MODEMDEVICE=-DMODEMDEVICE="\"/dev/ttyS1\""
51
52 COMMON=-Wall -O2 \
53        ${MODEMDEVICE}
54
55 all: irda_intercept
56
57
58 irda_intercept: irda_intercept.o ../fcs/fcs.o
59         cc ${COMMON} \
60                         `gtk-config --cflags` `gtk-config --libs`\
61                         irda_intercept.o ../fcs/fcs.o\
62                         -o irda_intercept
63
64 irda_intercept.o: irda_intercept.c ../include/irda.h ../include/irlap.h
65         cc ${COMMON} \
66                         `gtk-config --cflags` \
67                         -c irda_intercept.c
68
69 ../fcs/fcs.o: ../fcs/fcs.c ../fcs/fcs.h
70         cc ${COMMON} \
71                         `gtk-config --cflags` \
72                         -c $*.c -o $@