]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/msw/.makesetup.mk
Tree-Comment.png
[wxWidgets.git] / wxPython / distrib / msw / .makesetup.mk
CommitLineData
d14a1e28 1
6ad75f53
RD
2SRC=$(WXWIN)\include\wx\msw\setup.h
3DIR=$(WXWIN)\lib
4FILES= $(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 \
a8dc2317 10 \
6ad75f53 11 $(DIR)\vc_lib\msw\wx\setup.h \
d14a1e28
RD
12
13
14UNI_SEDCMD=sed "s!wxUSE_UNICODE 0!wxUSE_UNICODE 1!g;s!wxUSE_UNICODE_MSLU 0!wxUSE_UNICODE_MSLU 1!g"
15HYB_SEDCMD=sed "s!wxUSE_MEMORY_TRACING 1!wxUSE_MEMORY_TRACING 0!g;s!wxUSE_DEBUG_CONTEXT 1!wxUSE_DEBUG_CONTEXT 0!g"
16
17all : $(FILES)
18
a8dc2317
RD
19test :
20 echo $(DIR)\vc_lib\msw\wx\setup.h
d14a1e28
RD
21
22# debug
23$(DIR)\vc_dll\mswd\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 24 -if not exist $(DIR)\vc_dll\mswd\wx mkdir $(DIR)\vc_dll\mswd\wx
6ad75f53 25 cat $(SRC) > $@
d14a1e28
RD
26
27# hybrid
28$(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 29 -if not exist $(DIR)\vc_dll\mswh\wx mkdir $(DIR)\vc_dll\mswh\wx
6ad75f53 30 cat $(SRC) | $(HYB_SEDCMD) > $@
d14a1e28 31
312cca17
RD
32# release
33$(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 34 -if not exist $(DIR)\vc_dll\msw\wx mkdir $(DIR)\vc_dll\msw\wx
6ad75f53 35 cat $(SRC) > $@
312cca17 36
a8dc2317 37$(DIR)\vc_lib\msw\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 38 -if not exist $(DIR)\vc_lib\msw\wx mkdir $(DIR)\vc_lib\msw\wx
6ad75f53 39 cat $(SRC) > $@
a8dc2317 40
d14a1e28
RD
41# debug-uni
42$(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 43 -if not exist $(DIR)\vc_dll\mswud\wx mkdir $(DIR)\vc_dll\mswud\wx
6ad75f53 44 cat $(SRC) | $(UNI_SEDCMD) > $@
d14a1e28
RD
45
46# hybrid-uni
47$(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 48 -if not exist $(DIR)\vc_dll\mswuh\wx mkdir $(DIR)\vc_dll\mswuh\wx
6ad75f53 49 cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@
d14a1e28 50
d14a1e28
RD
51# release-uni
52$(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk
6736ec08 53 -if not exist $(DIR)\vc_dll\mswu\wx mkdir $(DIR)\vc_dll\mswu\wx
6ad75f53 54 cat $(SRC) | $(UNI_SEDCMD) > $@
d14a1e28
RD
55
56
57