# =========================================================================
# This makefile was generated by
-# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
+# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
# Do not modify, all changes will be overwritten!
# =========================================================================
### Targets: ###
-all: dbbrowse$(EXEEXT) $(__dbbrowse_bundle___depname)
+all: dbbrowse$(EXEEXT) $(__dbbrowse_bundle___depname) data_help_std data_help_png
install: all
$(__dbbrowse___os2_emxbindcmd)
$(SAMPLES_RPATH_POSTLINK)
-dbbrowse.app/Contents/PkgInfo: dbbrowse$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
+dbbrowse.app/Contents/PkgInfo: dbbrowse$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
mkdir -p dbbrowse.app/Contents
mkdir -p dbbrowse.app/Contents/MacOS
mkdir -p dbbrowse.app/Contents/Resources
sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
-e "s/EXECUTABLE/dbbrowse/" \
-e "s/VERSION/$(WX_VERSION)/" \
- $(top_srcdir)/src/mac/Info.plist.in >dbbrowse.app/Contents/Info.plist
+ $(top_srcdir)/src/mac/carbon/Info.plist.in >dbbrowse.app/Contents/Info.plist
echo -n "APPL????" >dbbrowse.app/Contents/PkgInfo
ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc dbbrowse.app/Contents/Resources/dbbrowse.rsrc
- ln -sf $(top_srcdir)/src/mac/wxmac.icns dbbrowse.app/Contents/Resources/wxmac.icns
+ ln -sf $(top_srcdir)/src/mac/carbon/wxmac.icns dbbrowse.app/Contents/Resources/wxmac.icns
@COND_PLATFORM_MACOSX_1@dbbrowse_bundle: dbbrowse.app/Contents/PkgInfo
+data_help_std:
+ @mkdir -p ./help.std
+ @for f in compiler.htm dbbrowse.hhc dbbrowse.hhk dbbrowse.hhp dbbrowse.htm getcol.htm getcolsh.htm icons.htm picgrams.htm problems.htm remstar.htm sample.htm startprm.htm todo.htm wxdb.htm wxtable.htm; do \
+ if test \( ! -s ./help.std/$$f \) -o \( $(srcdir)/help.std/$$f -nt ./help.std/$$f \) ; then \
+ cp -pRf $(srcdir)/help.std/$$f ./help.std ; \
+ fi; \
+ done
+
+data_help_png:
+ @mkdir -p ./help.png
+ @for f in col.png d_closed.png d_open.png dsn.png dsnclose.png dsnopen.png f_closed.png f_open.png gnu.png gtk.png imbau.png kde.png key.png keyf.png linux.png logo.png motif.png msvc.png odbc.png pgmctrl.png redh.png remstar.png server.png suse.png tab.png view.png winnt.png wins.png; do \
+ if test \( ! -s ./help.png/$$f \) -o \( $(srcdir)/help.png/$$f -nt ./help.png/$$f \) ; then \
+ cp -pRf $(srcdir)/help.png/$$f ./help.png ; \
+ fi; \
+ done
+
dbbrowse_dbbrowse.o: $(srcdir)/dbbrowse.cpp
$(CXXC) -c -o $@ $(DBBROWSE_CXXFLAGS) $<
# Include dependency info, if present:
@IF_GNU_MAKE@-include .deps/*.d
-.PHONY: all install uninstall clean distclean dbbrowse_bundle
+.PHONY: all install uninstall clean distclean dbbrowse_bundle data_help_std data_help_png