VirtualBox

source: kBuild/trunk/src/sed/Makefile.kmk@ 1326

Last change on this file since 1326 was 1152, checked in by bird, 17 years ago

cleanup properly.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.kmk 1152 2007-09-27 23:42:58Z bird $
2
3
4DEPTH = ../..
5include $(PATH_KBUILD)/header.kmk
6
7#
8# kmk_sed
9#
10PROGRAMS += kmk_sed
11
12kmk_sed_TEMPLATE = BIN
13kmk_sed_DEPS = \
14 $(PATH_TARGET)/config.h \
15 $(PATH_TARGET)/regex.h
16kmk_sed_CLEAN = $(kmk_sed_DEPS)
17kmk_sed_INCS = \
18 $(PATH_TARGET) \
19 . \
20 lib \
21 intl
22kmk_sed_DEFS = \
23 HAVE_CONFIG_H
24kmk_sed_SOURCES = \
25 sed/sed.c \
26 sed/compile.c \
27 sed/execute.c \
28 sed/regexp.c \
29 sed/fmt.c \
30 sed/mbcs.c \
31 lib/getopt1.c \
32 lib/getopt.c \
33 lib/utils.c \
34 lib/regex.c
35kmk_sed_SOURCES.darwin = \
36 lib/strverscmp.c \
37 lib/obstack.c \
38 lib/getline.c
39kmk_sed_SOURCES.freebsd = \
40 lib/strverscmp.c \
41 lib/obstack.c \
42 lib/getline.c
43kmk_sed_SOURCES.solaris = \
44 lib/strverscmp.c \
45 lib/obstack.c \
46 lib/getline.c
47kmk_sed_SOURCES.win = \
48 lib/strverscmp.c \
49 lib/obstack.c \
50 lib/mkstemp.c \
51 lib/getline.c \
52 ../lib/startuphacks-win.c
53
54include $(PATH_KBUILD)/footer.kmk
55
56#
57# Use checked in config.h instead of running ./configure for it.
58#
59config.h.$(BUILD_TARGET) := config.h.$(BUILD_TARGET)
60
61$(PATH_TARGET)/config.h: $(config.h.$(BUILD_TARGET)) | $(call DIRDEP,$(PATH_TARGET))
62 $(CP) $^ $@
63
64#
65# Use the regex lib shipped with sed and not anything installed on the system.
66#
67$(PATH_TARGET)/regex.h: lib/regex_.h | $(call DIRDEP,$(PATH_TARGET))
68 $(CP) $^ $@
69
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette