WIN32_OPTIONS=\ --host=i586-mingw32msvc \ --target=i586-mingw32msvc \ --enable-version-specific-runtime-libs \ --with-gcc \ --with-gnu-ld \ --without-x \ --enable-threads=win32 \ --disable-win32-registry MINGW32_PREFIX=/usr/i586-mingw32msvc WIN32_INSTALL_DIR=/home/martin/install/win32 default: all dist: @echo "This file is to make it easier for you to create all you need" aclocal -I ./m4 autoheader # use --include-deps, if you want to release the stuff. Don't use it for # yourself automake --include-deps autoconf touch stamp-h.in rm -f `find . -name \*~` rm -Rf `find . -type d -name CVS` rm -f `find . -type f -name .cvsignore` rm -Rf apidoc rm -Rf gwenipc rm -f Makefile.cvs rm -Rf autom4te.cache cvsclean:: automake --include-deps autoconf touch stamp-h.in rm -Rf gwenipc rm -f `find . -name \*~` rm -Rf apidoc rm -Rf autom4te.cache all: libtoolize -f --automake @if test -r config.status; then \ prefix=`grep '@prefix@' config.status |cut -d , -f 3`; \ gwen_prefix=`grep '@GWEN_PREFIX@' config.status |cut -d , -f 3`; \ fi; \ for A in "$${gwen_prefix}/share/aclocal" "$${prefix}/share/aclocal" m4; do \ if test -d "$${A}"; then \ ACLOCAL_FLAGS="$${ACLOCAL_FLAGS} -I $${A}"; \ fi; \ done; \ echo "aclocal $${ACLOCAL_FLAGS}"; \ aclocal $${ACLOCAL_FLAGS} || (echo -e '***\n*** If the line above shows the error message "macro AC_GWENHYWFAR not \n*** found", you need to specify the environment variable ACLOCAL_FLAGS \n*** to be "-I GWENHYWFAR_PREFIX/share/aclocal". For example, do the following:\n***\n*** export ACLOCAL_FLAGS="-I ${HOME}/usr/share/aclocal"\n*** make -f Makefile.cvs\n***'; exit 1) autoheader automake --add-missing @echo "autoconf"; \ autoconf || (echo -e '***\n*** If the line above shows the error message "possibly undefined macro: \n*** AC_GWENHYWFAR", you need to specify the environment variable ACLOCAL_FLAGS \n*** to be "-I GWENHYWFAR_PREFIX/share/aclocal". For example, do the following:\n***\n*** export ACLOCAL_FLAGS="-I ${HOME}/usr/share/aclocal"\n*** make -f Makefile.cvs\n***'; exit 1) @echo "Now you can run ./configure --enable-maintainer-mode" mp: libtoolize -f --automake aclocal -I ./m4 autoheader automake --add-missing autoconf PKG_CONFIG_PATH="$PKG_CONFIG_PATH:./m4" CXXFLAGS="-ggdb -Wall -O0" CFLAGS="-ggdb -Wall -O0" \ ./configure \ --prefix=/usr/local \ --enable-full-doc \ --enable-testcode # make build_sources mp-opt: libtoolize -f --automake aclocal -I ./m4 autoheader automake --add-missing autoconf PKG_CONFIG_PATH="$PKG_CONFIG_PATH:./m4" CXXFLAGS="-ggdb -Wall -O3" CFLAGS="-ggdb -Wall -O3" ./configure --prefix=/usr/local # make build_sources clang: libtoolize -f --automake aclocal -I ./m4 autoheader automake --add-missing autoconf CC=clang CXX=clang PKG_CONFIG_PATH="$PKG_CONFIG_PATH:./m4" CXXFLAGS="-ggdb -Wall -O0" CFLAGS="-ggdb -Wall -O0" ./configure make build_sources mp-w32: libtoolize -f --automake aclocal -I ./m4 autoheader automake --add-missing autoconf PATH="$(MINGW32_PREFIX)/bin:$(PATH)" \ PKG_CONFIG_PATH=$(WIN32_INSTALL_DIR)/lib/pkgconfig \ CFLAGS="-I$(WIN32_INSTALL_DIR)/include" CXXFLAGS="-ggdb -Wall -I$(WIN32_INSTALL_DIR)/include" \ LDFLAGS="-L$(WIN32_INSTALL_DIR)/lib" \ DLLTOOL=i586-mingw32msvc-dlltool \ OBJDUMP=i586-mingw32msvc-objdump \ LD=i586-mingw32msvc-ld \ AR=i586-mingw32msvc-ar \ NM=i586-mingw32msvc-nm \ RANLIB=i586-mingw32msvc-ranlib \ STRIP=i586-mingw32msvc-strip \ STRIPPROG=i586-mingw32msvc-strip \ AS=i586-mingw32msvc-as \ RC=i586-mingw32msvc-windres \ ./configure \ --prefix=$(WIN32_INSTALL_DIR) $(WIN32_OPTIONS) \ --enable-release \ --with-gwen-dir=$(WIN32_INSTALL_DIR) \ --with-aqbanking-dir=$(WIN32_INSTALL_DIR) \ --with-fox-includes=$(WIN32_INSTALL_DIR)/include/fox-1.6 \ --with-fox-libs="-L$(WIN32_INSTALL_DIR)/lib -lFOX-1.6" \