X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=Docs%2Fdevelopers%2Fother%2Fsniffs%2Firda%2Ftools%2Fintercept%2FMakefile;fp=Docs%2Fdevelopers%2Fother%2Fsniffs%2Firda%2Ftools%2Fintercept%2FMakefile;h=5737602a95897d9fddae8137128b646f7d7f68e3;hp=0000000000000000000000000000000000000000;hb=2e0972b02d101bb0d8e9d3e15d2ac80def491a63;hpb=cc37b87508c91b5d4f21fd4bbc298104ae7de1dc;ds=sidebyside diff --git a/Docs/developers/other/sniffs/irda/tools/intercept/Makefile b/Docs/developers/other/sniffs/irda/tools/intercept/Makefile new file mode 100644 index 0000000..5737602 --- /dev/null +++ b/Docs/developers/other/sniffs/irda/tools/intercept/Makefile @@ -0,0 +1,72 @@ +# +#/********************************************************************* +# * +# * Filename: Makefile +# * Version: +# * Description: Makefile for irda_intercept +# * Status: Experimental. +# * Author: Thomas Schneider +# * Created at: Thomas Schneider +# * Modified at: Sun Jul 18 12:03:03 1999 +# * Modified by: Thomas Schneider +# * +# * Copyright (c) 1999 Thomas Schneider, All Rights Reserved. +# * +# * This program is free software; you can redistribute it and/or +# * modify it under the terms of the GNU General Public License as +# * published by the Free Software Foundation; either version 2 of +# * the License, or (at your option) any later version. +# * +# * This program is distributed in the hope that it will be useful, but +# * WITHOUT ANY WARRANTY; without even the implied warranty of +# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# * General Public License for more details. +# * +# * You should have received a copy of the GNU General Public License +# * along with this program; if not, write to the Free Software +# * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# * +# * IN NO EVENT SHALL THOMAS SCHNEIDER BE LIABLE TO ANY PARTY FOR +# * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +# * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN +# * IF THOMAS SCHNEIDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +# * DAMAGE. +# * +# * THOMAS SCHNEIDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +# * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER +# * IS ON AN "AS IS" BASIS, AND THOMAS SCHNEIDER HAS NO OBLIGATION TO +# * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR +# * MODIFICATIONS. +# * +# * This material is provided "AS-IS" and at no charge. +# * +# ********************************************************************/ + +# +# Serial port for communication +# + +MODEMDEVICE=-DMODEMDEVICE="\"/dev/ttyS1\"" + +COMMON=-Wall -O2 \ + ${MODEMDEVICE} + +all: irda_intercept + + +irda_intercept: irda_intercept.o ../fcs/fcs.o + cc ${COMMON} \ + `gtk-config --cflags` `gtk-config --libs`\ + irda_intercept.o ../fcs/fcs.o\ + -o irda_intercept + +irda_intercept.o: irda_intercept.c ../include/irda.h ../include/irlap.h + cc ${COMMON} \ + `gtk-config --cflags` \ + -c irda_intercept.c + +../fcs/fcs.o: ../fcs/fcs.c ../fcs/fcs.h + cc ${COMMON} \ + `gtk-config --cflags` \ + -c $*.c -o $@