Check-in [a759e2c3a1]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Cleanup
Timelines: family | ancestors | descendants | both | new-driver
Files: files | file ages | folders
SHA1:a759e2c3a1a179023bfc9a2cab664202dd658076
User & Date: rkeene 2013-03-11 19:21:49
Context
2013-03-11
19:49
Renamed module symbols from DC_* to DACT_MOD_* check-in: 5f198ba93f user: rkeene tags: new-driver
19:21
Cleanup check-in: a759e2c3a1 user: rkeene tags: new-driver
18:51
Moved generation of version script into Makefile for enhanced release support check-in: bd13c51e79 user: rkeene tags: new-driver
Changes

Changes to build/cleanup.

1
2
3
4
5
6


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

#!/bin/bash

if [ -z "${UTIL}" ]; then
	echo "Run outside of makearch?"
	exit 1
fi



if [ ! "${SNAPSHOT}" = "1" ]; then
	VER_MAJ=`echo $VERS | cut -f 1 -d .`
	VER_MIN=`echo $VERS | cut -f 2 -d .`
	VER_REV=`echo $VERS | cut -f 3 -d .`
	printf "%03i%03i%03i\n" $VER_MAJ $VER_MIN $VER_REV > VERSION
	DEBUG="--disable-debug"
else
	echo "SNAPSHOT." > VERSION
	DEBUG="--enable-debug"
fi

rm -f makearch.sh .* *.dct *.bak *.swp *.exe makesnapshot.sh *.o joe* bob* f 2>/dev/null >/dev/null
for i in *.[ch]; do
        grep -v -e '^//' -e DPRINTF -e SHOWVAL $i > f
        mv f $i
done

# from build_win32.sh
make distclean 2>/dev/null >/dev/null
WIN32="${HOME}/root/windows-i386"
CFLAGS="-I${WIN32}/include"
CPPFLAGS="${CFLAGS}"
LDFLAGS="-L${WIN32}/lib"
CROSS=i586-mingw32msvc
if [ ! -z "${CROSS}" ]; then CROSSCMD="${CROSS}-"; fi
export CFLAGS LDFLAGS CPPFLAGS
make distclean
./configure --host=${CROSS} --prefix="c:/dact/" ${DEBUG} && \
make && \
${CROSSCMD}strip dact.exe
if [ "${SNAPSHOT}" = "1" ]; then
	cp dact.exe "/web/rkeene/files/oss/dact/snapshot/binary/dact-${VERS}.exe"
else
	cp dact.exe "/web/rkeene/files/oss/dact/release/binary/dact-${VERS}.exe"
fi







>
>













<
<
<
<

<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21




22


















23
#!/bin/bash

if [ -z "${UTIL}" ]; then
	echo "Run outside of makearch?"
	exit 1
fi

./build/autogen.sh

if [ ! "${SNAPSHOT}" = "1" ]; then
	VER_MAJ=`echo $VERS | cut -f 1 -d .`
	VER_MIN=`echo $VERS | cut -f 2 -d .`
	VER_REV=`echo $VERS | cut -f 3 -d .`
	printf "%03i%03i%03i\n" $VER_MAJ $VER_MIN $VER_REV > VERSION
	DEBUG="--disable-debug"
else
	echo "SNAPSHOT." > VERSION
	DEBUG="--enable-debug"
fi

rm -f makearch.sh .* *.dct *.bak *.swp *.exe makesnapshot.sh *.o joe* bob* f 2>/dev/null >/dev/null























exit 0

Changes to build/makearch.info.

1
2
3
4
5
6
7
8
9
10
11
12
13
# This is the name of the utility, it will be prefixed to the tarball name
UTIL="dact"

# This is the name of output files that should exist after configure 
# procedures.
BINS="dact"

# This lists the name of files that are required to exist
REQS=""

# Version of utility, if empty it will be guessed.
# VERS=""






|







1
2
3
4
5
6
7
8
9
10
11
12
13
# This is the name of the utility, it will be prefixed to the tarball name
UTIL="dact"

# This is the name of output files that should exist after configure 
# procedures.
BINS=""

# This lists the name of files that are required to exist
REQS=""

# Version of utility, if empty it will be guessed.
# VERS=""