Changeset 1665 for trunk/src/sed/Makefile.kmk
- Timestamp:
- Jun 30, 2008, 11:14:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sed/Makefile.kmk
r1604 r1665 1 1 # $Id$ 2 2 ## @file 3 # sed3 # Sub-Makefile for kmk_sed. 4 4 # 5 5 … … 25 25 # 26 26 27 DEPTH = ../..28 include $( PATH_KBUILD)/header.kmk27 SUB_DEPTH = ../.. 28 include $(KBUILD_PATH)/subheader.kmk 29 29 30 30 # … … 35 35 kmk_sed_TEMPLATE = BIN 36 36 kmk_sed_DEPS = \ 37 $(PATH_ TARGET)/config.h \38 $(PATH_ TARGET)/regex.h37 $(PATH_kmk_sed)/config.h \ 38 $(PATH_kmk_sed)/regex.h 39 39 kmk_sed_CLEAN = $(kmk_sed_DEPS) 40 40 kmk_sed_INCS = \ 41 $(PATH_ TARGET) \41 $(PATH_kmk_sed) \ 42 42 . \ 43 43 lib \ … … 79 79 ../lib/startuphacks-win.c 80 80 81 include $(FILE_KBUILD_ FOOTER)81 include $(FILE_KBUILD_SUB_FOOTER) 82 82 83 83 # 84 84 # Use checked in config.h instead of running ./configure for it. 85 85 # 86 config.h.$(KBUILD_TARGET) :=config.h.$(KBUILD_TARGET)86 kmk_sed_config.h.$(KBUILD_TARGET) := $(kmk_sed_PATH)/config.h.$(KBUILD_TARGET) 87 87 88 $(PATH_ TARGET)/config.h: $(config.h.$(KBUILD_TARGET)) | $(call DIRDEP,$(PATH_TARGET))89 $(CP) $^ $@88 $(PATH_kmk_sed)/config.h: $(kmk_sed_config.h.$(KBUILD_TARGET)) | $(call DIRDEP,$(PATH_kmk_sed)) 89 $(CP) -f $^ $@ 90 90 91 91 # 92 92 # Use the regex lib shipped with sed and not anything installed on the system. 93 93 # 94 $(PATH_ TARGET)/regex.h: lib/regex_.h | $(call DIRDEP,$(PATH_TARGET))95 $(CP) $^ $@94 $(PATH_kmk_sed)/regex.h: $(kmk_sed_PATH)/lib/regex_.h | $(call DIRDEP,$(PATH_kmk_sed)) 95 $(CP) -f $^ $@ 96 96
Note:
See TracChangeset
for help on using the changeset viewer.