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.
25 lines
585 B
25 lines
585 B
3 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
# Specifically for windows, where installing autoconf looks suspiciously
|
||
|
# like boiling the ocean.
|
||
|
|
||
|
cat Makefile.in | sed \
|
||
|
-e "s%@N2N_VERSION_SHORT@%FIXME%g" \
|
||
|
-e "s%@GIT_COMMITS@%FIXME%g" \
|
||
|
-e "s%@CC@%gcc%g" \
|
||
|
-e "s%@AR@%ar%g" \
|
||
|
-e "s%@CFLAGS@%$CFLAGS%g" \
|
||
|
-e "s%@LDFLAGS@%$LDFLAGS%g" \
|
||
|
-e "s%@N2N_LIBS@%$LDLIBS%g" \
|
||
|
> Makefile
|
||
|
|
||
|
cat tools/Makefile.in | sed \
|
||
|
-e "s%@ADDITIONAL_TOOLS@%%g" \
|
||
|
> tools/Makefile
|
||
|
|
||
|
cat <<EOF >include/config.h
|
||
|
#define PACKAGE_VERSION "FIXME"
|
||
|
#define PACKAGE_OSNAME "FIXME"
|
||
|
#define GIT_RELEASE "FIXME"
|
||
|
EOF
|