aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-05-14 22:25:07 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-05-14 22:25:07 +0000
commita18c891eb48ade1989939795cf0d8d4aad4596c4 (patch)
tree32266f600f3390d4ce4246969122d7c6188bcc01 /plugins
parent4a7a366ea6f8f1ea6aa18c4029bdc1abdc7fbb31 (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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18150 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/Makefile.nmake10
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