![Lars Roland](/assets/img/avatar_default.png)
A new patch for mate - changed the default config file name to "" - avoid trying to confgure mate when the config filename is "" - add filename and line to config errors, that way one can actually find errors in config files - teady up the config error strings ( made them uniform ) - fixed a crash when missing index AVPs (Name,For,On etc) in config AVPLS - make sure we do not delete the config AVPs and AVPLs to avoid references to unsubscribed strings been left arround - fixed the len on LoALs - changed the way loal_from_file reports an error. - matelib/sip.mate was missing the Name in a PduDef (from Julien Leproust) - matelib/h225_ras had a wrong field name (from Julien Leproust) At this point mate is silent when it's not expressely configured by the user. From me: reduce compiler noise on MSVC svn path=/trunk/; revision=12985
35 lines
850 B
Makefile
35 lines
850 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
include ..\..\config.nmake
|
|
include <win32.mak>
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
|
|
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
|
|
|
.c.obj::
|
|
$(CC) $(CFLAGS) -Fdmate.pdb -c $<
|
|
|
|
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-mate.obj mate_setup.obj mate_runtime.obj mate_util.obj mate_plugin.obj
|
|
|
|
mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
|
|
link -dll /out:mate.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb
|
|
|
|
distclean: clean
|