31 lines
714 B
Makefile
31 lines
714 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
include ..\..\config.nmake
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
|
|
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
|
|
|
LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
|
|
|
|
!IFDEF LINK_PLUGINS_WITH_LIBETHEREAL
|
|
LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
|
|
CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
|
|
!ELSE
|
|
LINK_PLUGIN_WITH=..\plugin_api.obj
|
|
!ENDIF
|
|
|
|
OBJECTS=packet-acn.obj
|
|
|
|
acn.dll acn.exp acn.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
|
|
link -dll /out:acn.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) acn.dll acn.exp acn.lib *.pdb
|
|
|
|
distclean: clean
|