Changeset 3416
- Timestamp:
- Jun 12, 2007, 6:28:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/Makefile.kmk
r2942 r3416 42 42 include $(wildcard $(PATH_LIBC_SRC)/Makefile.kmk) 43 43 44 # 45 # Some external tools we depend on. 46 # 47 LIBC_GAWK ?= gawk$(HOSTSUFF_EXE) 48 LIBC_DIFF ?= diff$(HOSTSUFF_EXE) 44 49 45 50 # … … 462 467 ,$(NL)$(TAB)@$(APPEND) $(PATH_TARGET)/libc-std.files "$(src)") 463 468 ifeq ($(BUILD_PLATFORM),os2) 464 gawk-f ./mkstd.awk @$(PATH_TARGET)/libc-std.files > $(PATH_TARGET)/libc-std.tmp.h469 $(LIBC_GAWK) -f ./mkstd.awk @$(PATH_TARGET)/libc-std.files > $(PATH_TARGET)/libc-std.tmp.h 465 470 else 466 cd src && gawk-f ../mkstd.awk $(subst $(PATH_LIBC_SRC)/,,$^) > $(PATH_TARGET)/libc-std.tmp.h467 endif 468 if diff$(PATH_TARGET)/libc-std.tmp.h $(PATH_TARGET)/libc-std.h > /dev/null 2> /dev/null; then \471 cd src && $(LIBC_GAWK) -f ../mkstd.awk $(subst $(PATH_LIBC_SRC)/,,$^) > $(PATH_TARGET)/libc-std.tmp.h 472 endif 473 if $(LIBC_DIFF) $(PATH_TARGET)/libc-std.tmp.h $(PATH_TARGET)/libc-std.h > /dev/null 2> /dev/null; then \ 469 474 echo "* libc-std.h unchanged"; \ 470 475 else \ 471 cp$(PATH_TARGET)/libc-std.tmp.h $(PATH_TARGET)/libc-std.h; \476 $(CP_EXT) $(PATH_TARGET)/libc-std.tmp.h $(PATH_TARGET)/libc-std.h; \ 472 477 echo "* libc-std.h updated"; \ 473 478 fi
Note:
See TracChangeset
for help on using the changeset viewer.