source: trunk/essentials/sys-devel/m4/kNIX-bootstrap.kmk@ 3320

Last change on this file since 3320 was 3166, checked in by bird, 18 years ago

m4 build config and bootstrapping.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: kNIX-bootstrap.kmk 3166 2007-04-22 02:40:31Z bird $
2## @file
3#
4# kNIX Boostrap Makefile for m4
5#
6# Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>
7#
8#
9# This file is part of kLIBC.
10#
11# kLIBC is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# kLIBC is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with kLIBC; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24#
25#
26
27DEPTH = ../../..
28include $(PATH_KBUILD)/header.kmk
29
30#
31# m4
32#
33PROGRAMS += m4
34m4_TEMPLATE = usr.bin
35m4_DEFS = HAVE_CONFIG_H # LOCALEDIR=\"/@unixroot/usr/share/locale\"
36m4_INCS = $(PATH_TARGET) lib src
37m4_SOURCES = \
38 src/builtin.c \
39 src/debug.c \
40 src/eval.c \
41 src/format.c \
42 src/freeze.c \
43 src/input.c \
44 src/m4.c \
45 src/macro.c \
46 src/output.c \
47 src/path.c \
48 src/stackovf.c \
49 src/symtab.c \
50 \
51 lib/allocsa.c \
52 lib/asnprintf.c \
53 lib/clean-temp.c \
54 lib/cloexec.c \
55 lib/close-stream.c \
56 lib/closeout.c \
57 lib/dup-safer.c \
58 lib/exitfail.c \
59 lib/fatal-signal.c \
60 lib/fd-safer.c \
61 lib/fopen-safer.c \
62 lib/gl_avltree_oset.c \
63 lib/gl_linkedhash_list.c \
64 lib/gl_list.c \
65 lib/gl_oset.c \
66 lib/mbchar.c \
67 lib/mkstemp-safer.c \
68 lib/pipe-safer.c \
69 lib/printf-args.c \
70 lib/printf-parse.c \
71 lib/quotearg.c \
72 lib/strcasecmp.c \
73 lib/strnlen1.c \
74 lib/strstr.c \
75 lib/tempname.c \
76 lib/tmpdir.c \
77 lib/vasnprintf.c \
78 lib/verror.c \
79 lib/xalloc-die.c \
80 lib/xallocsa.c \
81 lib/xasprintf.c \
82 lib/xmalloc.c \
83 lib/xvasprintf.c
84
85m4_ORDERDEPS = \
86 $(PATH_TARGET)/config.h
87
88#
89# config.h
90#
91$(PATH_TARGET)/config.h: kNIX-bootstrap-$(BUILD_TARGET).$(BUILD_TARGET_ARCH)-config.h
92 $(INSTALL) $< $@
93
94include $(PATH_KBUILD)/footer.kmk
95
Note: See TracBrowser for help on using the repository browser.