-@COND_USE_OPENGL_1@ $(SAMPLES_RPATH_POSTLINK)
-
-cube.app/Contents/PkgInfo: $(__cube___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
- mkdir -p cube.app/Contents
- mkdir -p cube.app/Contents/MacOS
- mkdir -p cube.app/Contents/Resources
-
-
- sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
- -e "s/EXECUTABLE/cube/" \
- -e "s/VERSION/$(WX_VERSION)/" \
- $(top_srcdir)/src/mac/carbon/Info.plist.in >cube.app/Contents/Info.plist
-
-
- echo -n "APPL????" >cube.app/Contents/PkgInfo
-
-
- ln -f cube$(EXEEXT) cube.app/Contents/MacOS/cube
-
-
- cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns cube.app/Contents/Resources/wxmac.icns
-
-@COND_PLATFORM_MACOSX_1@cube_bundle: $(____cube_BUNDLE_TGT_REF_DEP)
+
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@cube.app/Contents/PkgInfo: $(__cube___depname) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ mkdir -p cube.app/Contents
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ mkdir -p cube.app/Contents/MacOS
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ mkdir -p cube.app/Contents/Resources
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ -e "s/EXECUTABLE/cube/" \
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ -e "s/VERSION/$(WX_VERSION)/" \
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >cube.app/Contents/Info.plist
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ /bin/echo "APPL????" >cube.app/Contents/PkgInfo
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ ln -f cube$(EXEEXT) cube.app/Contents/MacOS/cube
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns cube.app/Contents/Resources/wxmac.icns
+
+@COND_PLATFORM_MACOSX_1_USE_OPENGL_1@cube_bundle: $(____cube_BUNDLE_TGT_REF_DEP)
+
+cube_sample_rc.o: $(srcdir)/../../../samples/sample.rc
+ $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__DEBUG_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include