Changeset 1509 for trunk/src


Ignore:
Timestamp:
Apr 9, 2008, 2:40:05 AM (17 years ago)
Author:
bird
Message:

Environment / global variable renaming. Copyright header/year update.

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.kmk

    r1302 r1509  
    11# $Id$
     2## @file
     3# Makefile for the source directory.
     4#
     5
     6#
     7# Copyright (c) 2004-2008 knut st. osmundsen <bird-src-spam@anduin.net>
     8#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
     26
     27DEPTH = ..
     28include $(PATH_KBUILD)/header.kmk
    229
    330SUBDIRS = lib kmk sed kDepPre kObjCache
    4 ifneq ($(BUILD_TARGET),win)
     31ifneq ($(KBUILD_TARGET),win)
    532SUBDIRS += ash
    633endif
    734
    8 DEPTH = ..
    9 include $(PATH_KBUILD)/rules.kmk
     35include $(FILE_KBUILD_FOOTER)
    1036
  • trunk/src/ash/Makefile.kmk

    r1433 r1509  
    1 # $Id: $
     1# $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
    22## @file
     3# ash
    34#
    4 # kBuild Makefile for kmk_ash.
     5
    56#
    6 # Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     7# Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     8#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
    725#
    826
     
    97115
    98116
    99 ifeq ($(filter-out nt win win32 win64,$(BUILD_TARGET)),)
     117ifeq ($(filter-out nt win win32 win64,$(KBUILD_TARGET)),)
    100118
    101119#
     
    114132$(eval $(def_copy_generated)))
    115133
    116 include $(PATH_KBUILD)/footer.kmk
     134include $(FILE_KBUILD_FOOTER)
    117135
    118136else
    119137
    120 include $(PATH_KBUILD)/footer.kmk
     138include $(FILE_KBUILD_FOOTER)
    121139
    122140#
  • trunk/src/fastdep/Makefile.kmk

    r1179 r1509  
    1 
     1# $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     2## @file
     3# Testing the VAC308 tool / ancient dependency generator.
     4#
    25
    36#
    4 # Testing the VAC308 tool.
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    58#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
     26
    627DEPTH = ../..
    728include $(PATH_KBUILD)/header.kmk
     
    3455
    3556
    36 include $(PATH_KBUILD)/footer.kmk
     57include $(FILE_KBUILD_FOOTER)
    3758
  • trunk/src/kDepPre/Makefile.kmk

    r785 r1509  
    11# $Id$
    22## @file
    3 #
    43# kDepPre - Precompiler base dependency generator.
    54#
    6 # Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     5
    76#
     7# Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    88#
    99# This file is part of kBuild.
     
    2121# You should have received a copy of the GNU General Public License
    2222# along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    2424#
    2525#
    2626
     27DEPTH = ../..
     28include $(PATH_KBUILD)/header.kmk
     29
    2730PROGRAMS += kDepPre
    28 
    2931kDepPre_TEMPLATE        = BIN
    3032kDepPre_LIBS            = $(LIB_KDEP)
    3133kDepPre_DEFS.linux      = HAVE_FGETC_UNLOCKED=1
    32 ifeq ($(filter-out win32 win64 win nt,$(BUILD_TARGET)),)
     34if1of ($(KBUILD_TARGET), win nt)
    3335kDepPre_DEFS           += NEED_ISBLANK=1 __WIN32__=1
    3436endif
    3537kDepPre_SOURCES         = $(PATH_CURRENT)/kDepPre.c
    3638
    37 
    38 ifndef DEPTH # Experiment in including stuff from the top level make.
    39 DEPTH = ../..
    40 include $(PATH_KBUILD)/rules.kmk
    41 endif
    42 
     39include $(FILE_KBUILD_FOOTER)
  • trunk/src/kObjCache/Makefile.kmk

    r1050 r1509  
    1 # $Id: $
     1# $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
    22## @file
     3# kObjCache
    34#
    4 # kObjCache - Object Cache.
     5
    56#
    6 # Copyright (c) 2007 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    7 #
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    88#
    99# This file is part of kBuild.
     
    2121# You should have received a copy of the GNU General Public License
    2222# along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    2424#
    2525#
     
    3434kObjCache_LIBS = $(LIB_KUTIL)
    3535
    36 include $(PATH_KBUILD)/subfooter.kmk
     36include $(KBUILD_PATH)/subfooter.kmk
    3737
  • trunk/src/kash/Makefile.kmk

    r1235 r1509  
    55
    66#
    7 # Copyright (c) 2005-2007 knut st. osmundsen <bird-src-spam@anduin.net>
     7# Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net>
    88#
    99# This file is part of kBuild.
     
    116116
    117117
    118 ifeq ($(filter-out win,$(BUILD_TARGET)),)
     118ifeq ($(filter-out win,$(KBUILD_TARGET)),)
    119119
    120120#
     
    125125kash_SOURCES := $(patsubst $(PATH_TARGET)/%,generated/%,$(kash_SOURCES))
    126126
    127 include $(PATH_KBUILD)/footer.kmk
     127include $(FILE_KBUILD_FOOTER)
    128128
    129129else
    130130
    131 include $(PATH_KBUILD)/footer.kmk
     131include $(FILE_KBUILD_FOOTER)
    132132
    133133#
  • trunk/src/kmk/Makefile.kmk

    r1503 r1509  
    11# $Id$
     2## @file
     3# kmk / GNU Make
     4#
     5
     6#
     7# Copyright (c) 2004-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     8#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
    226
    327
     
    3458TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN_LIBS) $(TARGET_kmkmissing) $(LIB_KUTIL)
    3559ifdef ELECTRIC_HEAP # for electric heap (see electric.c) - windows only.
    36 ifeq ($(BUILD_TARGET),win)
     60ifeq ($(KBUILD_TARGET),win)
    3761 TEMPLATE_BIN-KMK_CFLAGS = $(TEMPLATE_BIN_CFLAGS) /FI$(PATH_CURRENT)/electric.h -DELECTRIC_HEAP=1
    3862else
     
    133157        CONFIG_PRETTY_COMMAND_PRINTING \
    134158        \
    135         KBUILD_HOST=\"$(BUILD_TARGET)\" \
    136         KBUILD_HOST_ARCH=\"$(BUILD_TARGET_ARCH)\" \
    137         KBUILD_HOST_CPU=\"$(BUILD_TARGET_CPU)\"
     159        KBUILD_HOST=\"$(KBUILD_TARGET)\" \
     160        KBUILD_HOST_ARCH=\"$(KBUILD_TARGET_ARCH)\" \
     161        KBUILD_HOST_CPU=\"$(KBUILD_TARGET_CPU)\"
    138162kmk_DEFS.x86 = CONFIG_WITH_OPTIMIZATION_HACKS
    139163kmk_DEFS.amd64 = CONFIG_WITH_OPTIMIZATION_HACKS
     
    344368
    345369
    346 include $(PATH_KBUILD)/footer.kmk
     370include $(FILE_KBUILD_FOOTER)
    347371
    348372
     
    350374# Use checked in config.h instead of running ./Configure for it.
    351375#
    352 config.h.$(BUILD_TARGET) := config.h.$(BUILD_TARGET)
    353 $(PATH_TARGET)/config.h: $(config.h.$(BUILD_TARGET))
     376config.h.$(KBUILD_TARGET) := config.h.$(KBUILD_TARGET)
     377$(PATH_TARGET)/config.h: $(config.h.$(KBUILD_TARGET))
    354378        $(MKDIR) -p $(dir $@)
    355379        $(CP) $^ $@
  • trunk/src/kmk/w32/Makefile.kmk

    r1179 r1509  
    1 # $Id: Makefile.kmk 1122 2007-09-25 06:16:26Z bird $
     1# $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     2## @file
     3# tstFileInfo / w32
     4#
     5
     6#
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     8#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
    226
    327
     
    1236tstFileInfo_SOURCES = tstFileInfo.c
    1337
    14 include $(PATH_KBUILD)/footer.kmk
     38include $(FILE_KBUILD_FOOTER)
  • trunk/src/lib/Makefile.kmk

    r1323 r1509  
    55
    66#
    7 # Copyright (c) 2006-2007 knut st. osmundsen <bird-src-spam@anduin.net>
     7# Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    88#
    99# This file is part of kBuild.
     
    5252wrapper_NOINST = 1
    5353
    54 include $(PATH_KBUILD)/footer.kmk
     54include $(FILE_KBUILD_FOOTER)
    5555
  • trunk/src/sed/Makefile.kmk

    r1500 r1509  
    11# $Id$
     2## @file
     3# sed
     4#
    25
     6#
     7# Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net>
     8#
     9# This file is part of kBuild.
     10#
     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 2 of the License, or
     14# (at your option) any later version.
     15#
     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.
     20#
     21# You should have received a copy of the GNU General Public License
     22# along with kBuild; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
    326
    427DEPTH = ../..
     
    5275        ../lib/startuphacks-win.c
    5376
    54 include $(PATH_KBUILD)/footer.kmk
     77include $(FILE_KBUILD_FOOTER)
    5578
    5679#
    5780# Use checked in config.h instead of running ./configure for it.
    5881#
    59 config.h.$(BUILD_TARGET) := config.h.$(BUILD_TARGET)
     82config.h.$(KBUILD_TARGET) := config.h.$(KBUILD_TARGET)
    6083
    61 $(PATH_TARGET)/config.h: $(config.h.$(BUILD_TARGET)) | $(call DIRDEP,$(PATH_TARGET))
     84$(PATH_TARGET)/config.h: $(config.h.$(KBUILD_TARGET)) | $(call DIRDEP,$(PATH_TARGET))
    6285        $(CP) $^ $@
    6386
Note: See TracChangeset for help on using the changeset viewer.