From 4a4c56ccff6fd60277d955296b708dd1cb8be337 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 14 May 2006 22:25:07 +0000 Subject: Use $(PLUGIN_NAME) wherever possible, so that we have a Makefile.nmake that could be used with any plugin. (It'd be nice if there were some way to do that with Makefile.am, but automake doesn't seem to like macro names being used in the definitions of its magic macros.) svn path=/trunk/; revision=18150 --- plugins/docsis/Makefile.nmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/docsis') diff --git a/plugins/docsis/Makefile.nmake b/plugins/docsis/Makefile.nmake index 121e9d277c..cbbb04871d 100644 --- a/plugins/docsis/Makefile.nmake +++ b/plugins/docsis/Makefile.nmake @@ -1,5 +1,5 @@ # Makefile.nmake -# nmake file for DOCSIS plugin +# nmake file for plugin # # $Id$ # @@ -23,9 +23,9 @@ DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj) OBJECTS=$(DISSECTOR_OBJECTS) plugin.obj -docsis.dll docsis.exp docsis.lib : $(OBJECTS) $(LINK_PLUGIN_WITH) - link -dll /out:docsis.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \ - $(GLIB_LIBS) +$(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLUGIN_WITH) + link -dll /out:$(PLUGIN_NAME).dll $(LDFLAGS) $(OBJECTS) \ + $(LINK_PLUGIN_WITH) $(GLIB_LIBS) # # Build plugin.c, which contains the plugin version[] string, a @@ -72,7 +72,7 @@ plugin.c: $(DISSECTOR_SRC) !ENDIF clean: - rm -f $(OBJECTS) docsis.dll docsis.exp docsis.lib *.pdb + rm -f $(OBJECTS) $(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib *.pdb distclean: clean -- cgit v1.2.3