From 46be54cee365d7626fa16f2ff428119165aba66a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 1 Aug 2007 22:20:38 +0000 Subject: Add a Makefile.nmake.inc file, to hold rules etc. used by multiple Makefile.nmake files; currently, it has the (F)lex-to-C rule and a .SUFFIXES pseudo-rule to add .l to the list of suffixes. Have Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get that rule. The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the right names for the files in question. Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate". svn path=/trunk/; revision=22437 --- Makefile.nmake.inc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile.nmake.inc (limited to 'Makefile.nmake.inc') diff --git a/Makefile.nmake.inc b/Makefile.nmake.inc new file mode 100644 index 0000000000..8dc5e2ef0a --- /dev/null +++ b/Makefile.nmake.inc @@ -0,0 +1,27 @@ +# Makefile.nmake.inc +# Include file for Makefile.am files to get additional rules +# +# $Id$ +# +# Wireshark - Network traffic analyzer +# By Gerald Combs +# Copyright 2007 Gerald Combs +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +.SUFFIXES: .l + +.l.c: + $(LEX) -o$@ $< -- cgit v1.2.3