1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
prefix = UNSPECIFIED
exec_prefix = @exec_prefix@
libdir = @libdir@
TARGET = @TARGET@
CC = @CC@
CPP = @CPP@
AR = @AR@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ -I@srcdir@ -I@srcdir@/tcc -Itcc @DEFS@
LDFLAGS = @LDFLAGS@
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
prefix = UNSPECIFIED
exec_prefix = @exec_prefix@
libdir = @libdir@
TARGET = @TARGET@
CC = @CC@
CPP = @CPP@
AR = @AR@
RANLIB = @RANLIB@
CFLAGS = @CFLAGS@ @SHOBJFLAGS@
CPPFLAGS = @CPPFLAGS@ -I@srcdir@ -I@srcdir@/tcc -Itcc @DEFS@ @SHOBJCPPFLAGS@
LDFLAGS = @LDFLAGS@
SHOBJLDFLAGS = @SHOBJLDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
@if ! echo "_WIN32" | $(CPP) $(CPPFLAGS) - | grep '^_WIN32$$' >/dev/null; then \
echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
echo cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \
cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \
fi
( for file in $(INSTALL_HEADERS); do echo "#include <$${file}>"; done ) | \
$(CPP) -v $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include - 2>&1 | awk -f $(srcdir)/headers.awk | while read src dst; do \
dst="$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/$$dst"; \
if [ -e "$${dst}" ]; then continue; fi; \
dstdir="$$(dirname "$$dst")"; \
mkdir -p "$$dstdir"; \
echo cp "$$src" "$$dst"; \
cp "$$src" "$$dst"; \
done
|
|
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
@if ! echo "_WIN32" | $(CPP) $(CPPFLAGS) - | grep '^_WIN32$$' >/dev/null; then \
echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
echo cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \
cp -r $(srcdir)/tcc/win32/lib/*.def "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib/"; \
fi
( for file in $(INSTALL_HEADERS); do echo "#include <$${file}>"; done ) | \
$(CPP) -v $(CPPFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include - 2>&1 | awk -f $(srcdir)/headers.awk | while read src dst; do \
dst="$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/$$dst"; \
if [ -e "$${dst}" ]; then continue; fi; \
dstdir="$$(dirname "$$dst")"; \
mkdir -p "$$dstdir"; \
echo cp "$$src" "$$dst"; \
cp "$$src" "$$dst"; \
done
|