61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
+
+
+
+
-
+
|
$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
$(INSTALL) -m 0755 $(TARGET) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
$(INSTALL) -m 0644 $(srcdir)/tcc.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
$(INSTALL) -m 0644 tcc/libtcc1.a "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
$(INSTALL) -m 0644 $(shell echo $(srcdir)/tcc/include/*) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
@if [ "$(host_os)" = "mingw32msvc" ]; then \
echo cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
cp -r $(srcdir)/tcc/win32/include/* "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include/"; \
fi
( for file in tcl.h limits.h unistd.h; do echo "#include <$${file}>"; done ) | \
$(CC) $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/target-headers/$(host_os)/include -I$(srcdir)/target-headers/$(host_os)/include -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include -E - | awk -f $(srcdir)/headers.awk | while read src dst; do \
$(CC) $(CPPFLAGS) $(CFLAGS) -I$(srcdir)/tcc/include -I$(srcdir)/tcc/include -E - | 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")"; \
echo mkdir -p "$$dstdir"; \
mkdir -p "$$dstdir"; \
echo cp "$$src" "$$dst"; \
cp "$$src" "$$dst"; \
|