Add Makefile.common files for epan/dfilter and epan/ftypes.
[metze/wireshark/wip.git] / epan / ftypes / Makefile.nmake
1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id$
5
6 include ..\..\config.nmake
7
8 ############### no need to modify below this line #########
9
10 CFLAGS=-WX -DHAVE_CONFIG_H /I. /I.. /I../.. $(GLIB_CFLAGS) \
11         $(PCRE_CFLAGS) /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
12
13 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL 
14
15 .c.obj::
16    $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
17
18 OBJECTS=$(NONGENERATED_C_FILES:.c=.obj)
19
20 ftypes.lib      : $(OBJECTS)
21         link /lib /out:ftypes.lib $(OBJECTS)
22
23 clean:
24         rm -f $(OBJECTS) ftypes.lib *.pdb
25
26 distclean: clean
27
28 maintainer-clean: distclean
29
30 checkapi:
31         $(PERL) ../../tools/checkAPIs.pl -g termoutput \
32                 $(NONGENERATED_C_FILES)