]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/msw/.makesetup.mk
Added config checks for wxUSE_IMAGE = 0.
[wxWidgets.git] / wxPython / distrib / msw / .makesetup.mk
1
2 SRC=..\..\include\wx\msw\setup.h
3 DIR=$(WXWIN)\lib
4 FILES= $(DIR)\vc_dll\mswd\wx\setup.h \
5 $(DIR)\vc_dll\mswh\wx\setup.h \
6 $(DIR)\vc_dll\mswud\wx\setup.h \
7 $(DIR)\vc_dll\mswuh\wx\setup.h \
8 $(DIR)\vc_dll\msw\wx\setup.h \
9 $(DIR)\vc_dll\mswu\wx\setup.h \
10
11
12 UNI_SEDCMD=sed "s!wxUSE_UNICODE 0!wxUSE_UNICODE 1!g;s!wxUSE_UNICODE_MSLU 0!wxUSE_UNICODE_MSLU 1!g"
13 HYB_SEDCMD=sed "s!wxUSE_MEMORY_TRACING 1!wxUSE_MEMORY_TRACING 0!g;s!wxUSE_DEBUG_CONTEXT 1!wxUSE_DEBUG_CONTEXT 0!g"
14
15 all : $(FILES)
16
17
18
19 # debug
20 $(DIR)\vc_dll\mswd\wx\setup.h : $(SRC) .makesetup.mk
21 -if not exist $(DIR)\vc_dll\mswd\wx mkdir /s $(DIR)\vc_dll\mswd\wx
22 cat $(SRC) > $@
23
24 # hybrid
25 $(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk
26 -if not exist $(DIR)\vc_dll\mswh\wx mkdir /s $(DIR)\vc_dll\mswh\wx
27 cat $(SRC) | $(HYB_SEDCMD) > $@
28
29 # debug-uni
30 $(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk
31 -if not exist $(DIR)\vc_dll\mswud\wx mkdir /s $(DIR)\vc_dll\mswud\wx
32 cat $(SRC) | $(UNI_SEDCMD) > $@
33
34 # hybrid-uni
35 $(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk
36 -if not exist $(DIR)\vc_dll\mswuh\wx mkdir /s $(DIR)\vc_dll\mswuh\wx
37 cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@
38
39 # release
40 $(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk
41 -if not exist $(DIR)\vc_dll\msw\wx mkdir /s $(DIR)\vc_dll\msw\wx
42 cat $(SRC) > $@
43
44 # release-uni
45 $(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk
46 -if not exist $(DIR)\vc_dll\mswu\wx mkdir /s $(DIR)\vc_dll\mswu\wx
47 cat $(SRC) | $(UNI_SEDCMD) > $@
48
49
50