Release 2.11.92
[atk.git] / tests / testatk_vc.makin
blob1bc653437b34cde6a4102e3f1f629942ab18ca60
1 !include ..\build\testsrules_msvc.mak
3 BUILD_PATH = ..\build\win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin
4 LDFLAGS_PATH = /libpath:$(BUILD_PATH) /libpath:..\..\vs$(VSVER)\$(PLAT)\lib
6 TEST_ATK_LIBS = atk-$(ATK_API_VERSION).lib $(GLIB_LIBS)
8 LDFLAGS =       \
9         $(LDFLAGS_PATH) \
10         $(LDFLAGS_ARCH)
12 CFLAGS =        \
13         $(CFLAGS_ADD) /DG_DISABLE_DEPRECATED /I..       \
14         /I..\..\vs$(VSVER)\$(PLAT)\include\glib-2.0     \
15         /I..\..\vs$(VSVER)\$(PLAT)\lib\glib-2.0\include \
16         /I..\..\vs$(VSVER)\$(PLAT)\include\glib-2.0
18 EMPTY_ITEM =
20 test_programs = \
21 #include "test_progs"
22         $(EMPTY_ITEM)
24 !if "$(VALID_CFGSET)" == "FALSE"
25 all:
26         !@-echo You need to run "nmake -f testatk_vc.mak CFG=release" or
27         !@-echo "nmake -f testatk_vc.mak CFG=debug" to use this Makefile to
28         !@-echo build the test programs.
30 clean:
31         @-del /q/f *$(EXEEXT).manifest
32         @-del /q/f *$(EXEEXT)
33         @-del /q/f *.idb
34         @-del /q/f *.obj
35         @-del /q/f *.pdb
36 !else
37 all: $(test_programs)
39 .c$(EXEEXT):
40         $(CC) $(CFLAGS) $< $(LD_CFLAGS) $(LDFLAGS) $(TEST_ATK_LIBS)
42 clean:
43         @-del /q/f *$(EXEEXT).manifest
44         @-del /q/f *$(EXEEXT)
45         @-del /q/f *.idb
46         @-del /q/f *.obj
47         @-del /q/f *.pdb
48 !endif