diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-05-14 22:25:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-05-14 22:25:07 +0000 |
commit | 4a4c56ccff6fd60277d955296b708dd1cb8be337 (patch) | |
tree | 32266f600f3390d4ce4246969122d7c6188bcc01 /plugins | |
parent | e78afc651818549e0c1cb8e5803155cf6ce0cf9c (diff) |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/docsis/Makefile.nmake | 10 |
1 files changed, 5 insertions, 5 deletions
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 |