- Timestamp:
- Apr 9, 2008, 2:40:05 AM (17 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile.kmk
r1302 r1509 1 1 # $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 27 DEPTH = .. 28 include $(PATH_KBUILD)/header.kmk 2 29 3 30 SUBDIRS = lib kmk sed kDepPre kObjCache 4 ifneq ($( BUILD_TARGET),win)31 ifneq ($(KBUILD_TARGET),win) 5 32 SUBDIRS += ash 6 33 endif 7 34 8 DEPTH = .. 9 include $(PATH_KBUILD)/rules.kmk 35 include $(FILE_KBUILD_FOOTER) 10 36 -
trunk/src/ash/Makefile.kmk
r1433 r1509 1 # $Id: $1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $ 2 2 ## @file 3 # ash 3 4 # 4 # kBuild Makefile for kmk_ash. 5 5 6 # 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 # 7 25 # 8 26 … … 97 115 98 116 99 ifeq ($(filter-out nt win win32 win64,$( BUILD_TARGET)),)117 ifeq ($(filter-out nt win win32 win64,$(KBUILD_TARGET)),) 100 118 101 119 # … … 114 132 $(eval $(def_copy_generated))) 115 133 116 include $( PATH_KBUILD)/footer.kmk134 include $(FILE_KBUILD_FOOTER) 117 135 118 136 else 119 137 120 include $( PATH_KBUILD)/footer.kmk138 include $(FILE_KBUILD_FOOTER) 121 139 122 140 # -
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 # 2 5 3 6 # 4 # Testing the VAC308 tool.7 # Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net> 5 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 6 27 DEPTH = ../.. 7 28 include $(PATH_KBUILD)/header.kmk … … 34 55 35 56 36 include $( PATH_KBUILD)/footer.kmk57 include $(FILE_KBUILD_FOOTER) 37 58 -
trunk/src/kDepPre/Makefile.kmk
r785 r1509 1 1 # $Id$ 2 2 ## @file 3 #4 3 # kDepPre - Precompiler base dependency generator. 5 4 # 6 # Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 5 7 6 # 7 # Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net> 8 8 # 9 9 # This file is part of kBuild. … … 21 21 # You should have received a copy of the GNU General Public License 22 22 # along with kBuild; if not, write to the Free Software 23 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 24 24 # 25 25 # 26 26 27 DEPTH = ../.. 28 include $(PATH_KBUILD)/header.kmk 29 27 30 PROGRAMS += kDepPre 28 29 31 kDepPre_TEMPLATE = BIN 30 32 kDepPre_LIBS = $(LIB_KDEP) 31 33 kDepPre_DEFS.linux = HAVE_FGETC_UNLOCKED=1 32 if eq ($(filter-out win32 win64 win nt,$(BUILD_TARGET)),)34 if1of ($(KBUILD_TARGET), win nt) 33 35 kDepPre_DEFS += NEED_ISBLANK=1 __WIN32__=1 34 36 endif 35 37 kDepPre_SOURCES = $(PATH_CURRENT)/kDepPre.c 36 38 37 38 ifndef DEPTH # Experiment in including stuff from the top level make. 39 DEPTH = ../.. 40 include $(PATH_KBUILD)/rules.kmk 41 endif 42 39 include $(FILE_KBUILD_FOOTER) -
trunk/src/kObjCache/Makefile.kmk
r1050 r1509 1 # $Id: $1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $ 2 2 ## @file 3 # kObjCache 3 4 # 4 # kObjCache - Object Cache. 5 5 6 # 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> 8 8 # 9 9 # This file is part of kBuild. … … 21 21 # You should have received a copy of the GNU General Public License 22 22 # along with kBuild; if not, write to the Free Software 23 # Foundation, Inc., 5 9 Temple Place, Suite 330, Boston, MA 02111-1307USA23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 24 24 # 25 25 # … … 34 34 kObjCache_LIBS = $(LIB_KUTIL) 35 35 36 include $( PATH_KBUILD)/subfooter.kmk36 include $(KBUILD_PATH)/subfooter.kmk 37 37 -
trunk/src/kash/Makefile.kmk
r1235 r1509 5 5 6 6 # 7 # Copyright (c) 2005-200 7knut st. osmundsen <bird-src-spam@anduin.net>7 # Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 # 9 9 # This file is part of kBuild. … … 116 116 117 117 118 ifeq ($(filter-out win,$( BUILD_TARGET)),)118 ifeq ($(filter-out win,$(KBUILD_TARGET)),) 119 119 120 120 # … … 125 125 kash_SOURCES := $(patsubst $(PATH_TARGET)/%,generated/%,$(kash_SOURCES)) 126 126 127 include $( PATH_KBUILD)/footer.kmk127 include $(FILE_KBUILD_FOOTER) 128 128 129 129 else 130 130 131 include $( PATH_KBUILD)/footer.kmk131 include $(FILE_KBUILD_FOOTER) 132 132 133 133 # -
trunk/src/kmk/Makefile.kmk
r1503 r1509 1 1 # $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 # 2 26 3 27 … … 34 58 TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN_LIBS) $(TARGET_kmkmissing) $(LIB_KUTIL) 35 59 ifdef ELECTRIC_HEAP # for electric heap (see electric.c) - windows only. 36 ifeq ($( BUILD_TARGET),win)60 ifeq ($(KBUILD_TARGET),win) 37 61 TEMPLATE_BIN-KMK_CFLAGS = $(TEMPLATE_BIN_CFLAGS) /FI$(PATH_CURRENT)/electric.h -DELECTRIC_HEAP=1 38 62 else … … 133 157 CONFIG_PRETTY_COMMAND_PRINTING \ 134 158 \ 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)\" 138 162 kmk_DEFS.x86 = CONFIG_WITH_OPTIMIZATION_HACKS 139 163 kmk_DEFS.amd64 = CONFIG_WITH_OPTIMIZATION_HACKS … … 344 368 345 369 346 include $( PATH_KBUILD)/footer.kmk370 include $(FILE_KBUILD_FOOTER) 347 371 348 372 … … 350 374 # Use checked in config.h instead of running ./Configure for it. 351 375 # 352 config.h.$( BUILD_TARGET) := config.h.$(BUILD_TARGET)353 $(PATH_TARGET)/config.h: $(config.h.$( BUILD_TARGET))376 config.h.$(KBUILD_TARGET) := config.h.$(KBUILD_TARGET) 377 $(PATH_TARGET)/config.h: $(config.h.$(KBUILD_TARGET)) 354 378 $(MKDIR) -p $(dir $@) 355 379 $(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 # 2 26 3 27 … … 12 36 tstFileInfo_SOURCES = tstFileInfo.c 13 37 14 include $( PATH_KBUILD)/footer.kmk38 include $(FILE_KBUILD_FOOTER) -
trunk/src/lib/Makefile.kmk
r1323 r1509 5 5 6 6 # 7 # Copyright (c) 2006-200 7 knut st. osmundsen <bird-src-spam@anduin.net>7 # Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild-spam@anduin.net> 8 8 # 9 9 # This file is part of kBuild. … … 52 52 wrapper_NOINST = 1 53 53 54 include $( PATH_KBUILD)/footer.kmk54 include $(FILE_KBUILD_FOOTER) 55 55 -
trunk/src/sed/Makefile.kmk
r1500 r1509 1 1 # $Id$ 2 ## @file 3 # sed 4 # 2 5 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 # 3 26 4 27 DEPTH = ../.. … … 52 75 ../lib/startuphacks-win.c 53 76 54 include $( PATH_KBUILD)/footer.kmk77 include $(FILE_KBUILD_FOOTER) 55 78 56 79 # 57 80 # Use checked in config.h instead of running ./configure for it. 58 81 # 59 config.h.$( BUILD_TARGET) := config.h.$(BUILD_TARGET)82 config.h.$(KBUILD_TARGET) := config.h.$(KBUILD_TARGET) 60 83 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)) 62 85 $(CP) $^ $@ 63 86
Note:
See TracChangeset
for help on using the changeset viewer.