2003-04-21 21:28:39 +00:00
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2003-04-21 21:28:39 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include ..\..\config.nmake
|
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2003-06-14 20:36:04 +00:00
|
|
|
CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
|
2003-04-21 21:28:39 +00:00
|
|
|
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
|
|
|
|
2004-09-29 19:30:10 +00:00
|
|
|
LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
|
|
|
|
|
2005-03-05 06:28:10 +00:00
|
|
|
!IFDEF ENABLE_LIBETHEREAL
|
2004-09-29 19:30:10 +00:00
|
|
|
LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
|
2004-10-01 19:50:03 +00:00
|
|
|
CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
|
2004-09-29 19:30:10 +00:00
|
|
|
|
2003-04-21 21:28:39 +00:00
|
|
|
OBJECTS=packet-artnet.obj
|
|
|
|
|
2004-09-29 19:30:10 +00:00
|
|
|
artnet.dll artnet.exp artnet.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
|
|
|
|
link -dll /out:artnet.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
|
2003-06-14 20:45:29 +00:00
|
|
|
$(GLIB_LIBS)
|
2003-04-21 21:28:39 +00:00
|
|
|
|
2005-03-05 06:28:10 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2003-04-21 21:28:39 +00:00
|
|
|
clean:
|
2004-10-01 19:50:03 +00:00
|
|
|
rm -f $(OBJECTS) artnet.dll artnet.exp artnet.lib *.pdb
|
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
|