mirror of https://github.com/ntop/n2n.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
410 B
22 lines
410 B
#!/bin/sh
|
|
#
|
|
# Specifically for windows, where installing autoconf looks suspiciously
|
|
# like boiling the ocean.
|
|
|
|
cat >config.mak <<EOF
|
|
CC=gcc
|
|
AR=ar
|
|
CFLAGS=$CFLAGS -g -O2 -I./include
|
|
LDFLAGS=$LDFLAGS -L.
|
|
LDLIBS_EXTRA=$LDLIBS
|
|
EOF
|
|
|
|
cat >tools/config.mak <<EOF
|
|
TOOLS_ADDITIONAL=
|
|
EOF
|
|
|
|
cat <<EOF >include/config.h
|
|
#define PACKAGE_VERSION "FIXME"
|
|
#define PACKAGE_OSNAME "FIXME"
|
|
#define PACKAGE_BUILDDATE "$(date)"
|
|
EOF
|
|
|