*: Updated copyright to 2009 and normalized name & email.
[kbuild-mirror.git] / src / kDepPre / Makefile.kmk
blobaaa6987016e4c5f03aa757861ea7b26519167106
1 # $Id$
2 ## @file
3 # Sub-makefile for kDepPre, the precompiler based dependency generator.
7 # Copyright (c) 2005-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net>
9 # This file is part of kBuild.
11 # kBuild 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 3 of the License, or
14 # (at your option) any later version.
16 # kBuild 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.
21 # You should have received a copy of the GNU General Public License
22 # along with kBuild. If not, see <http://www.gnu.org/licenses/>
26 SUB_DEPTH = ../..
27 include $(KBUILD_PATH)/subheader.kmk
29 PROGRAMS += kDepPre
30 kDepPre_TEMPLATE = BIN
31 kDepPre_LIBS = $(LIB_KDEP)
32 kDepPre_DEFS.linux = HAVE_FGETC_UNLOCKED=1
33 if1of ($(KBUILD_TARGET), win nt)
34 kDepPre_DEFS += NEED_ISBLANK=1 __WIN32__=1
35 endif
36 kDepPre_SOURCES = kDepPre.c
38 include $(FILE_KBUILD_SUB_FOOTER)