aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake.inc
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-01 22:20:38 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-08-01 22:20:38 +0000
commit7af883a0e28b6363e4bd652021dbbdae7788a75c (patch)
tree1c21e821cf31310a336de85d7b5142e76974cffe /Makefile.nmake.inc
parent1083783d7e276b35e635c3dad57256b074a0e1d9 (diff)
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". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22437 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'Makefile.nmake.inc')
-rw-r--r--Makefile.nmake.inc27
1 files changed, 27 insertions, 0 deletions
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 <gerald@wireshark.org>
+# 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$@ $<