13 if [ "$1" == "both" ]; then
15 .make debug $@ && .make hybrid $@
18 elif [ "$1" == "both-uni" ]; then
20 .make debug-uni $@ && .make hybrid-uni $@
23 elif [ "$1" == "both-hybrid" ]; then
25 .make hybrid $@ && .make hybrid-uni $@
28 elif [ "$1" == "all" ]; then
32 .make debug-uni $@ && \
36 elif [ "$1" == "debug" ]; then
41 elif [ "$1" == "hybrid" ]; then
46 elif [ "$1" == "release" ]; then
51 elif [ "$1" == "debug-uni" ]; then
56 elif [ "$1" == "hybrid-uni" ]; then
61 elif [ "$1" == "release-uni" ]; then
67 echo "Invalid build type: $1 options are"
82 echo ------------------
83 echo cd $WXWIN/build/msw
85 nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
86 if [ ! $? = 0 ]; then error 2; fi
88 echo ------------------
89 echo cd $WXWIN/build/msw
91 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
92 if [ ! $? = 0 ]; then error 2; fi
95 # echo ------------------
96 # echo cd ../../contrib/build/gizmos
97 # cd ../../contrib/build/gizmos
98 # $WXWIN/build/msw/.mymake $BUILD_TYPE $@
99 # if [ ! $? = 0 ]; then error 2; fi
103 # echo ------------------
104 # echo cd ../../contrib/build/animate
105 # cd ../../contrib/build/animate
106 # $WXWIN/build/msw/.mymake $BUILD_TYPE $@
107 # if [ ! $? = 0 ]; then error 2; fi
111 echo ------------------
112 echo cd ../../contrib/build/stc
113 cd ../../contrib/build/stc
114 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
115 if [ ! $? = 0 ]; then error 2; fi
119 # echo ------------------
120 # echo cd ../../contrib/build/ogl
121 # cd ../../contrib/build/ogl
122 # $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
123 # if [ ! $? = 0 ]; then error 2; fi
128 echo -----------------
130 echo -----------------
131 # copy DLLs to a dir on the PATH
132 # copy /U $WXWIN/lib/vc_dll/*.dll $WXWIN/BIN
133 # copy /U $WXWIN/lib/vc_dll/*.pdb $WXWIN/BIN