From e06f7355cd3a0b4ceb75026962d2f4c48fbb302e Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sat, 29 Oct 2016 16:21:51 -0300 Subject: [PATCH] changes to the makefiles --- ChangeLog | 3 +++ NEWS | 3 +++ README | 8 ++++++++ configure | 20 ++++++++++---------- configure.ac | 2 +- src/Makefile.am | 1 - src/Makefile.in | 1 - 7 files changed, 25 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 586dd55..791bedf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +27/10/2016 + Added cross-compile with mingw32 + 23/10/2016 Cleaned up the project a bit. diff --git a/NEWS b/NEWS index e9cdaf9..17ad397 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +27/10/2016 + Added support to compile windows binaries. + 23/10/2016 Just some cleanup. diff --git a/README b/README index 43105f4..c10b4c5 100644 --- a/README +++ b/README @@ -16,6 +16,14 @@ Para compilar el programa: ./configure make +Para compilar para windows 32bit: + ./configure --host=i686-w64-mingw32 + make + +Para compilar para windows 64bit: + ./configure --host=x86_64-w64-mingw32 + make + Para instalar el programa: make install diff --git a/configure b/configure index 5f4c694..0906b2e 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for generarxml 1.0. +# Generated by GNU Autoconf 2.69 for generarxml 1.1. # # Report bugs to . # @@ -579,8 +579,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='generarxml' PACKAGE_TARNAME='generarxml' -PACKAGE_VERSION='1.0' -PACKAGE_STRING='generarxml 1.0' +PACKAGE_VERSION='1.1' +PACKAGE_STRING='generarxml 1.1' PACKAGE_BUGREPORT='chris@cromer.cl' PACKAGE_URL='https://www.cromer.cl' @@ -1245,7 +1245,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures generarxml 1.0 to adapt to many kinds of systems. +\`configure' configures generarxml 1.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1311,7 +1311,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of generarxml 1.0:";; + short | recursive ) echo "Configuration of generarxml 1.1:";; esac cat <<\_ACEOF @@ -1420,7 +1420,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -generarxml configure 1.0 +generarxml configure 1.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1563,7 +1563,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by generarxml $as_me 1.0, which was +It was created by generarxml $as_me 1.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2428,7 +2428,7 @@ fi # Define the identity of the package. PACKAGE='generarxml' - VERSION='1.0' + VERSION='1.1' cat >>confdefs.h <<_ACEOF @@ -4545,7 +4545,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by generarxml $as_me 1.0, which was +This file was extended by generarxml $as_me 1.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4603,7 +4603,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -generarxml config.status 1.0 +generarxml config.status 1.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 451e7ca..6bc2ed3 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([generarxml], [1.0], [chris@cromer.cl], [generarxml], [https://www.cromer.cl]) +AC_INIT([generarxml], [1.1], [chris@cromer.cl], [generarxml], [https://www.cromer.cl]) AC_PREFIX_DEFAULT([/usr]) AC_CONFIG_SRCDIR([src/main.c]) AM_INIT_AUTOMAKE([foreign]) diff --git a/src/Makefile.am b/src/Makefile.am index 892551a..378732f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,4 +14,3 @@ generarxml_SOURCES = main.c \ generarxml_CPPFLAGS = $(XML_CPPFLAGS) generarxml_LDFLAGS= $(XML_LIBS) generarxml_LDADD = $(libxml2_LIBS) $(LDFLAGS) -# -liconv diff --git a/src/Makefile.in b/src/Makefile.in index 74fbf09..7366a42 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -656,7 +656,6 @@ uninstall-am: uninstall-binPROGRAMS .PRECIOUS: Makefile -# -liconv # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.