changes to the makefiles

This commit is contained in:
Chris Cromer 2016-10-29 16:21:51 -03:00
parent 37d1324443
commit e06f7355cd
7 changed files with 25 additions and 13 deletions

View File

@ -1,3 +1,6 @@
27/10/2016
Added cross-compile with mingw32
23/10/2016 23/10/2016
Cleaned up the project a bit. Cleaned up the project a bit.

3
NEWS
View File

@ -1,3 +1,6 @@
27/10/2016
Added support to compile windows binaries.
23/10/2016 23/10/2016
Just some cleanup. Just some cleanup.

8
README
View File

@ -16,6 +16,14 @@ Para compilar el programa:
./configure ./configure
make 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: Para instalar el programa:
make install make install

20
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # 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 <chris@cromer.cl>. # Report bugs to <chris@cromer.cl>.
# #
@ -579,8 +579,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='generarxml' PACKAGE_NAME='generarxml'
PACKAGE_TARNAME='generarxml' PACKAGE_TARNAME='generarxml'
PACKAGE_VERSION='1.0' PACKAGE_VERSION='1.1'
PACKAGE_STRING='generarxml 1.0' PACKAGE_STRING='generarxml 1.1'
PACKAGE_BUGREPORT='chris@cromer.cl' PACKAGE_BUGREPORT='chris@cromer.cl'
PACKAGE_URL='https://www.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. # 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. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF 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]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1311,7 +1311,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of generarxml 1.0:";; short | recursive ) echo "Configuration of generarxml 1.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1420,7 +1420,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
generarxml configure 1.0 generarxml configure 1.1
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
@ -1563,7 +1563,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. 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 generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
@ -2428,7 +2428,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='generarxml' PACKAGE='generarxml'
VERSION='1.0' VERSION='1.1'
cat >>confdefs.h <<_ACEOF 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 # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" 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 generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -4603,7 +4603,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\ ac_cs_version="\\
generarxml config.status 1.0 generarxml config.status 1.1
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@ -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_PREFIX_DEFAULT([/usr])
AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE([foreign]) AM_INIT_AUTOMAKE([foreign])

View File

@ -14,4 +14,3 @@ generarxml_SOURCES = main.c \
generarxml_CPPFLAGS = $(XML_CPPFLAGS) generarxml_CPPFLAGS = $(XML_CPPFLAGS)
generarxml_LDFLAGS= $(XML_LIBS) generarxml_LDFLAGS= $(XML_LIBS)
generarxml_LDADD = $(libxml2_LIBS) $(LDFLAGS) generarxml_LDADD = $(libxml2_LIBS) $(LDFLAGS)
# -liconv

View File

@ -656,7 +656,6 @@ uninstall-am: uninstall-binPROGRAMS
.PRECIOUS: Makefile .PRECIOUS: Makefile
# -liconv
# Tell versions [3.59,3.63) of GNU make to not export all variables. # 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. # Otherwise a system limit (for SysV at least) may be exceeded.