diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-08-01 22:20:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-08-01 22:20:38 +0000 |
commit | 46be54cee365d7626fa16f2ff428119165aba66a (patch) | |
tree | 1c21e821cf31310a336de85d7b5142e76974cffe /plugins | |
parent | 159e795100392ff9b7842c6296bb82a780c2bf60 (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".
svn path=/trunk/; revision=22437
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/Makefile.nmake | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index 1876b70133..99f9f93eae 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -5,6 +5,8 @@ # include ..\..\config.nmake +include ..\..\Makefile.nmake.inc + include moduleinfo.nmake include Makefile.common @@ -14,14 +16,9 @@ LEMON=..\..\tools\lemon CFLAGS=/WX /DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) /I$(LEMON)\ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS) -.SUFFIXES: .l - .c.obj:: - $(CC) $(CFLAGS) -Fdmate.pdb -c $< + $(CC) $(CFLAGS) -Fd$(PACKAGE).pdb -c $< -.l.c: - $(LEX) -o$@ $< - LDFLAGS = $(PLUGIN_LDFLAGS) !IFDEF ENABLE_LIBWIRESHARK |