MSWSP: parse_CColumnGroupArray() etc.
[wireshark-wip.git] / epan / wmem / Makefile.nmake
blobd5469d46053a0430b77579185dd4da27e12e6e07
1 ## Makefile for building wmem.lib with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
4 # $Id$
6 include ..\..\config.nmake
7 include Makefile.common
9 ############### no need to modify below this line #########
11 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
12          /I../.. $(GLIB_CFLAGS) -DWS_BUILD_DLL
14 .c.obj::
15         $(CC) $(CFLAGS)  -Fd.\ -c $<
17 WMEM_OBJECTS = $(LIBWMEM_SRC:.c=.obj)
19 wmem.lib: $(WMEM_OBJECTS)
20         link /lib /out:wmem.lib $(WMEM_OBJECTS)
22 clean:
23         rm -f $(WMEM_OBJECTS) wmem.lib *.pdb *.sbr wmem_test.obj wmem_test.exe wmem_test.exp
25 distclean: clean
27 maintainer-clean: distclean
29 # Rule for making unit tests
30 wmem_test: wmem_test.exe
32 # Object files for wmem_test
33 WMEM_TEST_OBJ=wmem_test.obj
34 WMEM_TEST_LIBS= wmem.lib
36 wmem_test.exe: $(WMEM_TEST_OBJ) $(WMEM_TEST_LIBS)
37         @echo Linking $@
38         link /OUT:$@ $(conflags) $(conlibsdll) $(LOCAL_LDFLAGS) /LARGEADDRESSAWARE /SUBSYSTEM:console \
39                 $(WMEM_TEST_LIBS) $(GLIB_LIBS) $(WMEM_TEST_OBJ)
41 wmem_test_install:
42         set copycmd=/y
43         if exist wmem_test.exe          xcopy wmem_test.exe          ..\..\$(INSTALL_DIR) /d
45 checkapi:
46         $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
47         $(WMEM_SRC)
50 # Editor modelines  -  http://www.wireshark.org/tools/modelines.html
52 # Local variables:
53 # c-basic-offset: 8
54 # tab-width: 8
55 # indent-tabs-mode: t
56 # End:
58 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
59 # :indentSize=8:tabSize=8:noTabs=false: