1
0
mirror of https://frontier.innolan.net/rainlance/amiga-dnstracer.git synced 2026-05-03 05:36:03 +00:00

AROS changes

This commit is contained in:
2016-03-05 09:49:08 +01:00
parent 42c7b62b68
commit 8d0262b446
17 changed files with 1074 additions and 233 deletions

18
configure vendored
View File

@@ -29,14 +29,19 @@
set -e
HDRS='
config.h
inet_getaddrinfo.h
dnstracer.h
getaddrinfo.h
getopt.h
mem.h
'
SRCS='
dnstracer.c
dnstracer_amiga.c
inet_getaddrinfo.c
getaddrinfo.c
getopt.c
rand.c
mem.c
'
if make -v 2>&1 | grep GNU > /dev/null 2>&1 ; then
@@ -53,10 +58,13 @@ if $VALID ; then
echo ''
echo 'all: dnstracer'
echo ''
if [ -n "$2" ] && [ $2 = "DEBUG" ] ; then
DEBUG="-D_DEBUG "
fi
if [ -n "$1" ] && [ $1 = "AMIGA" ] ; then
echo 'CC = m68k-amigaos-gcc'
echo "CFLAGS = -O2 -noixemul -DAOS3 -I. -I.. -Iinclude -Wall -Werror"
echo "LDLIBS = -liberty -lm"
echo "CFLAGS = -O2 -noixemul -DAOS3 ${DEBUG}-I. -I.. -Iinclude -Wall -Werror"
echo "LDLIBS = -lm"
elif [ -n "$1" ] && [ $1 = "AROS" ] ; then
echo 'CC = gcc'
echo "CFLAGS = -O2 -DAROS -I. -Iinclude -Wall -Werror"