Some more debugging output. (g_io_channel_win32_poll): Remove unused vars.
[platform/upstream/glib.git] / tests / makefile.msc.in
1 ## Makefile for building the GLib test programs with Microsoft C
2 ## Use: nmake -f makefile.msc check
3
4 TOP = ..\..
5
6 !INCLUDE $(TOP)\build\win32\make.msc
7
8 # Possibly override GLib version in build\win32\module.defs
9 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
10
11 ################################################################
12
13 # Nothing much configurable below
14
15 INCLUDES = -I..
16 DEFINES =  -DHAVE_CONFIG_H
17
18 TESTS = \
19         array-test.exe  \
20         date-test.exe   \
21         dirname-test.exe\
22         gio-test.exe    \
23         hash-test.exe   \
24         list-test.exe   \
25         node-test.exe   \
26         queue-test.exe  \
27         rand-test.exe   \
28         relation-test.exe\
29         shell-test.exe  \
30         slist-test.exe  \
31         spawn-test.exe  \
32 # strfunc-test doesn't compile with MSVC
33 #       strfunc-test.exe\
34         string-test.exe \
35         thread-test.exe \
36         threadpool-test.exe\
37         tree-test.exe   \
38         type-test.exe
39
40 all :   $(TESTS)
41
42 makefile.msc: makefile.msc.in
43         $(SED) -e s,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@, \
44                -e s,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@, <makefile.msc.in >$@
45
46 .c.exe :
47         $(CC) $(CFLAGS) -c $<
48         $(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(GLIB_VER).lib ..\gmodule\gmodule-$(GLIB_VER).lib ..\gthread\gthread-$(GLIB_VER).lib $(LDFLAGS) /subsystem:console
49
50 check:  all
51         for %p in ($(TESTS)) do %p