# $Id$ ## @file # # kNIX Boostrap Makefile for m4 # # Copyright (c) 2007 knut st. osmundsen # # # This file is part of kLIBC. # # kLIBC is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # kLIBC is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with kLIBC; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # DEPTH = ../../.. include $(PATH_KBUILD)/header.kmk # # m4 # PROGRAMS += m4 m4_TEMPLATE = usr.bin m4_DEFS = HAVE_CONFIG_H # LOCALEDIR=\"/@unixroot/usr/share/locale\" m4_INCS = $(PATH_TARGET) lib src m4_SOURCES = \ src/builtin.c \ src/debug.c \ src/eval.c \ src/format.c \ src/freeze.c \ src/input.c \ src/m4.c \ src/macro.c \ src/output.c \ src/path.c \ src/stackovf.c \ src/symtab.c \ \ lib/allocsa.c \ lib/asnprintf.c \ lib/clean-temp.c \ lib/cloexec.c \ lib/close-stream.c \ lib/closeout.c \ lib/dup-safer.c \ lib/exitfail.c \ lib/fatal-signal.c \ lib/fd-safer.c \ lib/fopen-safer.c \ lib/gl_avltree_oset.c \ lib/gl_linkedhash_list.c \ lib/gl_list.c \ lib/gl_oset.c \ lib/mbchar.c \ lib/mkstemp-safer.c \ lib/pipe-safer.c \ lib/printf-args.c \ lib/printf-parse.c \ lib/quotearg.c \ lib/strcasecmp.c \ lib/strnlen1.c \ lib/strstr.c \ lib/tempname.c \ lib/tmpdir.c \ lib/vasnprintf.c \ lib/verror.c \ lib/xalloc-die.c \ lib/xallocsa.c \ lib/xasprintf.c \ lib/xmalloc.c \ lib/xvasprintf.c m4_ORDERDEPS = \ $(PATH_TARGET)/config.h # # config.h # $(PATH_TARGET)/config.h: kNIX-bootstrap-$(BUILD_TARGET).$(BUILD_TARGET_ARCH)-config.h $(INSTALL) $< $@ include $(PATH_KBUILD)/footer.kmk