2001-07-19 21:30:17 +00:00
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2001-07-19 21:30:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include ..\..\config.nmake
|
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2011-02-02 01:19:53 +00:00
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
|
|
/I../.. $(GLIB_CFLAGS) \
|
|
|
|
/I$(PCAP_DIR)\include
|
2001-07-19 21:30:17 +00:00
|
|
|
|
2009-03-02 18:57:35 +00:00
|
|
|
LDFLAGS = $(PLUGIN_LDFLAGS)
|
2004-09-29 19:30:10 +00:00
|
|
|
|
2006-05-31 00:23:01 +00:00
|
|
|
!IFDEF ENABLE_LIBWIRESHARK
|
|
|
|
LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib
|
2009-09-09 14:01:57 +00:00
|
|
|
CFLAGS=/D_NEED_VAR_IMPORT_ $(CFLAGS)
|
2004-09-29 19:30:10 +00:00
|
|
|
|
2008-05-22 15:46:27 +00:00
|
|
|
OBJECTS=packet-cosnaming.obj packet-coseventcomm.obj packet-tango.obj packet-parlay.obj
|
2001-07-19 21:30:17 +00:00
|
|
|
|
2008-05-22 15:46:27 +00:00
|
|
|
all : cosnaming.dll coseventcomm.dll tango.dll parlay.dll
|
2001-10-17 19:27:43 +00:00
|
|
|
|
2004-09-29 19:30:10 +00:00
|
|
|
cosnaming.dll cosnaming.exp cosnaming.lib : packet-cosnaming.obj $(LINK_PLUGIN_WITH)
|
|
|
|
link -dll /out:cosnaming.dll $(LDFLAGS) packet-cosnaming.obj $(LINK_PLUGIN_WITH) \
|
2003-06-14 20:45:29 +00:00
|
|
|
$(GLIB_LIBS)
|
2001-07-19 21:30:17 +00:00
|
|
|
|
2004-09-29 19:30:10 +00:00
|
|
|
coseventcomm.dll coseventcomm.exp coseventcomm.lib : packet-coseventcomm.obj $(LINK_PLUGIN_WITH)
|
|
|
|
link -dll /out:coseventcomm.dll $(LDFLAGS) packet-coseventcomm.obj $(LINK_PLUGIN_WITH) \
|
2003-06-14 20:45:29 +00:00
|
|
|
$(GLIB_LIBS)
|
2001-07-20 20:56:18 +00:00
|
|
|
|
2007-01-02 13:46:06 +00:00
|
|
|
tango.dll tango.exp tango.lib : packet-tango.obj $(LINK_PLUGIN_WITH)
|
2005-06-01 06:46:41 +00:00
|
|
|
link -dll /out:tango.dll $(LDFLAGS) packet-tango.obj $(LINK_PLUGIN_WITH) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2007-01-02 13:46:06 +00:00
|
|
|
parlay.dll parlay.exp parlay.lib : packet-parlay.obj $(LINK_PLUGIN_WITH)
|
2005-06-09 17:25:40 +00:00
|
|
|
link -dll /out:parlay.dll $(LDFLAGS) packet-parlay.obj $(LINK_PLUGIN_WITH) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2005-03-05 06:28:10 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2001-07-19 21:30:17 +00:00
|
|
|
clean:
|
2001-12-12 01:29:13 +00:00
|
|
|
rm -f $(OBJECTS) cosnaming.dll cosnaming.exp cosnaming.lib \
|
2005-06-01 06:46:41 +00:00
|
|
|
coseventcomm.dll coseventcomm.exp coseventcomm.lib \
|
2007-01-03 06:06:53 +00:00
|
|
|
tango.dll tango.exp tango.lib \
|
2012-01-29 20:03:39 +00:00
|
|
|
parlay.dll parlay.exp parlay.lib *.pdb *.sbr \
|
2007-01-03 06:06:53 +00:00
|
|
|
cosnaming.dll.manifest coseventcomm.dll.manifest \
|
|
|
|
parlay.dll.manifest tango.dll.manifest
|
2008-05-22 15:46:27 +00:00
|
|
|
|
2003-10-10 21:31:53 +00:00
|
|
|
|
|
|
|
distclean: clean
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
|
|
|
|
maintainer-clean: distclean
|
2008-05-05 16:55:19 +00:00
|
|
|
|
2008-05-22 15:46:27 +00:00
|
|
|
checkapi:
|
2008-07-01 21:13:32 +00:00
|
|
|
$(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput \
|
2008-05-09 07:07:50 +00:00
|
|
|
packet-cosnaming.c \
|
|
|
|
packet-coseventcomm.c \
|
|
|
|
packet-tango.c \
|
2008-05-22 15:46:27 +00:00
|
|
|
packet-parlay.c
|