Overview
Context
Changes
Added Makefile.in version [cb04ffc8c0].
|
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
43
44
45
46
47
48
49
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
CC = @CC@
AR = @AR@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ -I@srcdir@ @DEFS@
LDFLAGS =
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
TARGETS = @TARGETS@
srcdir = @srcdir@
all: $(TARGETS)
tcltcc.o: $(srcdir)/tcltcc.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c
tcltcc-shared.@SHOBJEXT@: tcltcc.o
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(SHOBJLDFLAGS) -o tcltcc-shared.@SHOBJEXT@ tcltcc.o $(LIBS)
tcltcc-static.a: tcltcc.o
$(AR) rcu tcltcc-static.a tcltcc.o
-$(RANLIB) tcltcc-static.a
install: $(TARGETS) pkgIndex.tcl
$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
$(INSTALL) -m 0755 $(TARGETS) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
clean:
rm -f tcltcc.o
rm -f tcltcc-shared.@SHOBJEXT@ tcltcc-static.a
rm -f tcltcc-shared.@SHOBJEXT@.a tcltcc-shared.@SHOBJEXT@.def
distclean: clean
rm -rf autom4te.cache
rm -f config.log config.status
rm -f pkgIndex.tcl
rm -f Makefile
mrproper: distclean
rm -f configure aclocal.m4
rm -f config.guess config.sub install-sh
.PHONY: all install clean distclean mrproper
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added build/autogen.sh version [da7da84b9f].
|
1
2
3
4
5
|
+
+
+
+
+
|
#! /bin/bash
aclocal -I aclocal
autoconf
rm -rf autom4te.cache
|
| | | |
Added build/pre.sh version [27b94ef2cb].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
#! /bin/bash
cd "$(dirname "$(which "$0")")/.." || exit 1
# Download latest copy of autoconf macros
(
cd aclocal || exit 1
for file in shobj.m4 tcl.m4 versionscript.m4; do
rm -f "${file}"
wget -O "${file}.new" "http://rkeene.org/devel/autoconf/${file}.m4" || continue
mv "${file}.new" "${file}"
done
)
# Generate configure script
./build/autogen.sh
|
| | | | | | | | | | | | | | | | | |
Added build/tcltcc-0.4-versus-tcc-1rsk.diff version [84622e571c].
more than 10,000 changes
Added configure.ac version [e723d3203b].
|
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
43
44
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE
dnl Determine system information
DC_CHK_OS_INFO
dnl Determine if a shared or static build is requested
target=shared
AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [
target=static
], [
target=shared
])
if test "${target}" = "shared"; then
dnl Determine how to make shared objects
DC_GET_SHOBJFLAGS
TARGETS="tcltcc-shared.${SHOBJEXT}"
else
TARGETS="tcltcc-static.a"
fi
AC_SUBST(TARGETS)
dnl Find out if we have the functions needed to open shared objects
AC_SEARCH_LIBS(dlopen, dl,, [
AC_SEARCH_LIBS(shl_load, dld dl)
])
AC_CHECK_FUNCS(dlopen shl_load)
dnl Look for appropriate headers
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h dlfcn.h dl.h)
dnl Perform Tcl Extension required stuff
TCLEXT_INIT
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl)
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added pkgIndex.tcl.in version [da39a3ee5e].
Added tcc.tcl version [b543309b89].