Check-in [013ffc32d5]
Overview
Comment:Corrected call to tcc configure
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 013ffc32d56bf363473068258b0500f82c5b7712
User & Date: rkeene on 2014-05-01 23:35:05
Other Links: manifest | tags
Context
2014-05-01
23:50
Wrapping some Tcl-specific changes to TCC into TclTCC check-in: d6a2d38950 user: rkeene tags: trunk
23:35
Corrected call to tcc configure check-in: 013ffc32d5 user: rkeene tags: trunk
23:32
Updated to build Tcc naively check-in: a319c993d9 user: rkeene tags: trunk
Changes

Modified Makefile.in from [87dfad392f] to [b9df3360bc].

13
14
15
16
17
18
19
20
21
22
23
24





25
26
27
28
29
30
31
13
14
15
16
17
18
19





20
21
22
23
24
25
26
27
28
29
30
31







-
-
-
-
-
+
+
+
+
+







PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
TARGETS = @TARGETS@
srcdir = @srcdir@

all: $(TARGETS)

tcc/config.h:
	if [ "$(srcdir)" = "." ]; then
		cd tcc && ./configure
	else
		mkdir tcc >/dev/null 2>/dev/null || true
		cd tcc && $(shell cd $(srcdir) && pwd)/tcc/configure
	if [ "$(srcdir)" = "." ]; then \
		cd tcc && ./configure; \
	else \
		mkdir tcc >/dev/null 2>/dev/null; \
		cd tcc && $(shell cd $(srcdir) && pwd)/tcc/configure; \
	fi

tcc/libtcc.a: tcc/config.h
	$(MAKE) -C tcc libtcc.a

tcltcc.o: $(srcdir)/tcltcc.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h
	$(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c