forked from osmocom/wireshark
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
![]() |
## Makefile for building ethereal.exe with Microsoft C and nmake
|
||
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
||
|
#
|
||
|
# $Id: Makefile.nmake 11400 2004-07-18 00:24:25Z guy $
|
||
|
|
||
|
include ..\..\config.nmake
|
||
|
|
||
|
############### no need to modify below this line #########
|
||
|
|
||
|
CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../.. $(GLIB_CFLAGS) \
|
||
|
$(PCRE_CFLAGS) /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
||
|
|
||
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
||
|
|
||
|
.c.obj::
|
||
|
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
|
||
|
|
||
|
DISSECTOR_SRC = $(DISSECTOR_SRC:../=)
|
||
|
DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj)
|
||
|
|
||
|
DISSECTOR_SUPPORT_SRC = $(DISSECTOR_SUPPORT_SRC:../=)
|
||
|
DISSECTOR_SUPPORT_OBJECTS = $(DISSECTOR_SUPPORT_SRC:.c=.obj)
|
||
|
|
||
|
#dissectors.lib: ../../config.h $(DISSECTOR_OBJECTS) $(DISSECTOR_SUPPORT_OBJECTS) $(EXTRA_OBJECTS)
|
||
|
dissectors.lib: ../../config.h $(DISSECTOR_OBJECTS) $(DISSECTOR_SUPPORT_OBJECTS)
|
||
|
link /lib /out:dissectors.lib $(DISSECTOR_OBJECTS) $(DISSECTOR_SUPPORT_OBJECTS)
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm -f dissectors.lib $(PDB_FILE) \
|
||
|
$(DISSECTOR_OBJECTS) $(DISSECTOR_SUPPORT_OBJECTS)
|
||
|
|
||
|
distclean: clean
|