|
Last change
on this file since 606 was 606, checked in by bird, 18 years ago |
|
Made sed build using MSC.
|
-
Property svn:executable
set to
*
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | # $Id: $
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 | DEPTH = ../..
|
|---|
| 5 | include $(PATH_KBUILD)/header.kmk
|
|---|
| 6 |
|
|---|
| 7 | #
|
|---|
| 8 | # kmk_sed
|
|---|
| 9 | #
|
|---|
| 10 | PROGRAMS += kmk_sed
|
|---|
| 11 |
|
|---|
| 12 | kmk_sed_TEMPLATE = BIN
|
|---|
| 13 | kmk_sed_DEPS = \
|
|---|
| 14 | $(PATH_TARGET)/config.h \
|
|---|
| 15 | $(PATH_TARGET)/regex.h
|
|---|
| 16 | kmk_sed_INCS = \
|
|---|
| 17 | $(PATH_TARGET) \
|
|---|
| 18 | . \
|
|---|
| 19 | lib \
|
|---|
| 20 | intl
|
|---|
| 21 | kmk_sed_DEFS = \
|
|---|
| 22 | HAVE_CONFIG_H
|
|---|
| 23 | kmk_sed_SOURCES = \
|
|---|
| 24 | sed/sed.c \
|
|---|
| 25 | sed/compile.c \
|
|---|
| 26 | sed/execute.c \
|
|---|
| 27 | sed/regexp.c \
|
|---|
| 28 | sed/fmt.c \
|
|---|
| 29 | sed/mbcs.c \
|
|---|
| 30 | lib/getopt1.c \
|
|---|
| 31 | lib/getopt.c \
|
|---|
| 32 | lib/utils.c \
|
|---|
| 33 | lib/regex.c
|
|---|
| 34 | ifeq ($(filter-out win32 win64 win nt,$(BUILD_TARGET)),)
|
|---|
| 35 | kmk_sed_SOURCES += \
|
|---|
| 36 | lib/strverscmp.c \
|
|---|
| 37 | lib/obstack.c \
|
|---|
| 38 | lib/mkstemp.c \
|
|---|
| 39 | lib/getline.c
|
|---|
| 40 | endif
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | include $(PATH_KBUILD)/footer.kmk
|
|---|
| 44 |
|
|---|
| 45 | #
|
|---|
| 46 | # Use checked in config.h instead of running ./configure for it.
|
|---|
| 47 | #
|
|---|
| 48 | config.h.$(BUILD_TARGET) := config.h.$(BUILD_TARGET)
|
|---|
| 49 | config.h.win32 := config.h.win
|
|---|
| 50 | config.h.win64 := config.h.win
|
|---|
| 51 | config.h.nt := config.h.win
|
|---|
| 52 |
|
|---|
| 53 | $(PATH_TARGET)/config.h: $(config.h.$(BUILD_TARGET)) | $(call DIRDEP,$(PATH_TARGET))
|
|---|
| 54 | $(CP) $^ $@
|
|---|
| 55 |
|
|---|
| 56 | #
|
|---|
| 57 | # Use the regex lib shipped with sed and not anything installed on the system.
|
|---|
| 58 | #
|
|---|
| 59 | $(PATH_TARGET)/regex.h: lib/regex_.h | $(call DIRDEP,$(PATH_TARGET))
|
|---|
| 60 | $(CP) $^ $@
|
|---|
| 61 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.