2003-11-12 16:34:20 -05:00
|
|
|
|
2004-03-18 17:05:24 -05:00
|
|
|
SRC=$(WXWIN)\include\wx\msw\setup.h
|
2003-11-12 16:34:20 -05:00
|
|
|
DIR=$(WXWIN)\lib
|
|
|
|
FILES= $(DIR)\vc_dll\mswd\wx\setup.h \
|
|
|
|
$(DIR)\vc_dll\mswh\wx\setup.h \
|
|
|
|
$(DIR)\vc_dll\mswud\wx\setup.h \
|
|
|
|
$(DIR)\vc_dll\mswuh\wx\setup.h \
|
|
|
|
$(DIR)\vc_dll\msw\wx\setup.h \
|
|
|
|
$(DIR)\vc_dll\mswu\wx\setup.h \
|
|
|
|
|
|
|
|
|
|
|
|
UNI_SEDCMD=sed "s!wxUSE_UNICODE 0!wxUSE_UNICODE 1!g;s!wxUSE_UNICODE_MSLU 0!wxUSE_UNICODE_MSLU 1!g"
|
|
|
|
HYB_SEDCMD=sed "s!wxUSE_MEMORY_TRACING 1!wxUSE_MEMORY_TRACING 0!g;s!wxUSE_DEBUG_CONTEXT 1!wxUSE_DEBUG_CONTEXT 0!g"
|
|
|
|
|
|
|
|
all : $(FILES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# debug
|
|
|
|
$(DIR)\vc_dll\mswd\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\mswd\wx mkdir /s $(DIR)\vc_dll\mswd\wx
|
|
|
|
cat $(SRC) > $@
|
|
|
|
|
|
|
|
# hybrid
|
|
|
|
$(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\mswh\wx mkdir /s $(DIR)\vc_dll\mswh\wx
|
|
|
|
cat $(SRC) | $(HYB_SEDCMD) > $@
|
|
|
|
|
2004-03-18 17:05:24 -05:00
|
|
|
# release
|
|
|
|
$(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\msw\wx mkdir /s $(DIR)\vc_dll\msw\wx
|
|
|
|
cat $(SRC) > $@
|
|
|
|
|
2003-11-12 16:34:20 -05:00
|
|
|
# debug-uni
|
|
|
|
$(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\mswud\wx mkdir /s $(DIR)\vc_dll\mswud\wx
|
|
|
|
cat $(SRC) | $(UNI_SEDCMD) > $@
|
|
|
|
|
|
|
|
# hybrid-uni
|
|
|
|
$(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\mswuh\wx mkdir /s $(DIR)\vc_dll\mswuh\wx
|
|
|
|
cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@
|
|
|
|
|
|
|
|
# release-uni
|
|
|
|
$(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk
|
|
|
|
-if not exist $(DIR)\vc_dll\mswu\wx mkdir /s $(DIR)\vc_dll\mswu\wx
|
|
|
|
cat $(SRC) | $(UNI_SEDCMD) > $@
|
|
|
|
|
|
|
|
|
|
|
|
|