mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
25 lines
585 B
Plaintext
25 lines
585 B
Plaintext
|
#!/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
|