Displaying 20 results from an estimated 21 matches for "addsuffix".
2004 Oct 23
1
[LLVMdev] UPDATE: Makefile.rules Changes (IMPORTANT)
...-----------------
> +# Handle the PARALLEL_DIRS options for parallel construction
> +#---------------------------------------------------------
> ifdef PARALLEL_DIRS
> +
> +# Unfortunately, this list must be maintained if new
> +# recursive targets are added.
> all :: $(addsuffix /.makeall , $(PARALLEL_DIRS))
> -install :: $(addsuffix /.makeinstall , $(PARALLEL_DIRS))
> clean :: $(addsuffix /.makeclean , $(PARALLEL_DIRS))
> -test :: $(addsuffix /.maketest , $(PARALLEL_DIRS))
> -bytecode :: $(addsuffix /.makebytecode, $(PARALLEL_DIRS))
> -str...
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid,
I think it is the first time it is run that the errors occcur !?
Not sure but that would seem logical.
Aaron
2004 Jan 25
0
[PATCH] include /.emacs.d?
...klibc-0.95/klibc/Makefile~ 2003-12-07 17:44:27.000000000 -0800
+++ klibc-0.95/klibc/Makefile 2004-01-16 11:50:13.099010983 -0800
@@ -117,12 +117,12 @@
touch $@
%/static.obj: %.dir
- $(MAKE) objects-$(basename $(notdir $@)) DIR=$*
+ $(MAKE) objects-$(basename $(notdir $@)) DIR=$*/
-STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)/*.[cS])))
+STATIC = $(addsuffix .o,$(basename $(wildcard $(DIR)*.[cS])))
objects-static: $(STATIC)
- touch $(DIR)/static.obj
+ touch $(DIR)static.obj
clean: archclean
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
@@ -13...
2012 Feb 10
6
[PATCH v2 0/3] hvmloader: Make ROM dependencies optional
This patch set mainly allows the user to build a seabios or rombios only
version of hvmloader.
In addition, when building a seabios only hvmloader, Option ROMs like
vgabios and etherboot are no longer required, and therefore can be disabled
from the build. Dependency on the bcc compiler can also be avoided the
same way.
v2: Separate patches for separate issues
Introduced config option to
2005 Jul 31
5
Shared versus static linked executables - and strip
I'm still pondering with kbuild and klibc.
Next in line was to get ipconfig support in the kernel (build wise).
A little challenge that is bigger than anticipated was to create
a shared executable. This required a far bigger rewrite of Kbuild.klibc
than originally planned. The good part is that I now managed to treat
linking of objects with single and multiple .o files almost the same.
2004 Apr 14
1
Makefile for installing all available packages
...of
other packages.
I hope that this script may be useful to other folks.
-Greg
# Download and install all available R packages from the CRAN and
Bioconductor
# package repositories
#
RCMD ?= R-1.9.0
WGET ?= wget -N -nd -r -A gz -r -l 1 -nv
PACKAGE_FILES = $(wildcard *.gz )
PACKAGE_LOGS = $(addsuffix .log, $(basename $(basename $(PACKAGE_FILES))))
default: cran bioconductor install
cran:
$(WGET) "http://cran.r-project.org/src/contrib/PACKAGES.html"
bioconductor: bioCmain bioCcontrib bioCdata
bioCmain:
$(WGET)
"http://www.bioconductor.org/repository/release1.3/package/html/...
2005 Aug 07
0
kbuild: add klibc/tests
...es))
+
+# This particular file uses a bunch of formats gcc don't know of, in order
+# to test the full range of our vsnprintf() function. This outputs a bunch
+# of useless warnings unless we tell it not to.
+KLIBCCFLAGS_testvsnp.o := -Wno-format
+
+static-y := $(test-files:.c=)
+shared-y := $(addsuffix .shared, $(static-y))
+
+environ.shared-y := environ.o
+fcntl.shared-y := fcntl.o
+getopttest.shared-y := getopttest.o
+getpagesize.shared-y := getpagesize.o
+hello.shared-y := hello.o
+idtest.shared-y := idtest.o
+malloctest.shared-y := malloctest.o
+malloctest...
2012 Feb 11
14
[PATCH v3 0/5] hvmloader: Make ROM dependencies optional
This patch set mainly allows the user to build a seabios or rombios only
version of hvmloader.
In addition, when building a seabios only hvmloader, Option ROMs like
vgabios and etherboot are no longer required, and therefore can be disabled
from the build. Dependency on the bcc compiler can also be avoided the
same way.
v2: Separate patches for separate issues
Introduced config option to
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...Kbuild file in the directory that is being build
+include $(obj)/Kbuild
+
+#####
+# static-y + shared-y handling
+klibc-progs := $(static-y) $(shared-y)
+# klibc-progs based on a single .o file (with same name + .o)
+klibc-objs := $(foreach p, $(klibc-progs), $(if $($(p)-y),,$(p)))
+klibc-objs := $(addsuffix .o, $(klibc-objs))
+# klibc-progs which is based on several .o files
+klibc-multi := $(foreach p, $(klibc-progs), $(if $($(p)-y),$(p)))
+# objects used for klibc-progs with more then one .o file
+klibc-objs += $(foreach p, $(klibc-multi), $($(p)-y))
+# objects build in this dir
+klibc-real-objs :=...
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
...L;
+
+ dp->__fd = fd;
+ dp->next = NULL;
+ dp->bytes_left = 0;
+ return dp;
+}
diff --git a/usr/klibc/tests/Kbuild b/usr/klibc/tests/Kbuild
index a3e0254..5e6e073 100644
--- a/usr/klibc/tests/Kbuild
+++ b/usr/klibc/tests/Kbuild
@@ -14,6 +14,7 @@ static-y := $(test-files:.c=)
shared-y := $(addsuffix .shared, $(static-y))
environ.shared-y := environ.o
+fdopendir.shared-y := fdopendir.o
fcntl.shared-y := fcntl.o
fnmatch.shared-y := fnmatch.o
getopttest.shared-y := getopttest.o
diff --git a/usr/klibc/tests/fdopendir.c b/usr/klibc/tests/fdopendir.c
new file mode 100644
index 0000000..14bd99...
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...Cygwin MingW))
ifneq ($(HOST_OS),Darwin)
LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
else
ifneq ($(DARWIN_MAJVERS),4)
- LD.Flags += $(RPATH) -Wl,$(LibDir)
+ LD.Flags += $(RPATH) -Wl,$(SharedDir)
+endif
endif
endif
endif
@@ -960,6 +976,13 @@ LLVMUsedLibs := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(LLVMLIBS)))
LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs))
endif
+# Win32.DLL may refer to other components.
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
+ ifdef LOADABLE_MODULE
+ LINK_COMPONENTS := all
+ endif
+endif
+
ifndef IS_CLEANING_TARGET
ifdef LINK...
2002 Dec 22
0
Bug ID: 26222 - SMB Storm
...ead only = No
create mask = 0750
directory mask = 0750
browseable = No
[users1]
comment = Group directory - users1
path = /home/public/users1
valid users = @users1
read only = No
create mask = 0770
security mask = 0770
directory mask = 0770
directory security mask = 0770
homes# set
_
addsuffix
argv ()
cwd /root
dirstack /root
echo_style bsd
edit
filec
gid 0
group wheel
history 100
home /root
killring 30
loginsh
mail /var/mail/root
owd
path (/sbin /bin /usr/sbin /usr/bin /usr/games
/usr/local/sbin /usr/local/bin /usr/X11R6/bin
/root/bin)
prompt ho...
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...rogs
# Compile klibc-programs for the target
# ===========================================================================
-__build : $(kprog-dirs) $(static-y) $(shared-y)
+__build : $(kprog-dirs) $(static-y)
+ifdef KLIBCSHAREDFLAGS
+__build : $(shared-y)
+endif
# Descend if needed
$(sort $(addsuffix /lib.a,$(kprog-dirs))): $(kprog-dirs) ;
diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild
index 3a98c1f..8682c0d 100644
--- a/usr/dash/Kbuild
+++ b/usr/dash/Kbuild
@@ -93,4 +93,8 @@ $(obj)/syntax.h: $(obj)/syntax.c
$(Q):
# Targets to install
+ifdef KLIBCSHAREDFLAGS
install-y := sh.shared
+else
+...
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi,
> Any feedbacks are welcome.
> Have fun!
This seems to be pretty useful addition to LLVM on windows! And it
seems the only painless way to make plugins working, yay!
For me the patch looks pretty good. One minor thing: could you please
rename SharedDir => SharedLibDir
Thanks!
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...gwin MingW))
ifneq ($(HOST_OS),Darwin)
LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
else
ifneq ($(DARWIN_MAJVERS),4)
- LD.Flags += $(RPATH) -Wl,$(LibDir)
+ LD.Flags += $(RPATH) -Wl,$(SharedLibDir)
+endif
endif
endif
endif
@@ -960,6 +977,13 @@ LLVMUsedLibs := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(LLVMLIBS)))
LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs))
endif
+# Win32.DLL may refer to other components.
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
+ ifdef LOADABLE_MODULE
+ LINK_COMPONENTS := all
+ endif
+endif
+
ifndef IS_CLEANING_TARGET
ifdef LINK...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...if_changed,link_o_target)
-targets += $(builtin-target)
-endif # builtin-target
-
-
-ifdef user-progs
-# Compile userspace programs for the target
-# ===========================================================================
-
-__build : $(user-dirs) $(user-progs)
-
-# Descend if needed
-$(sort $(addsuffix /built-in.o,$(user-dirs))): $(user-dirs) ;
-
-# link program that has only a single .o file
-quiet_cmd_user-ld-single = USERLD $@
- cmd_user-ld-single = $(USERLD) $(USERLDFLAGS) -o $@ \
- $(USERCRT0) $< \
- $(fil...
2005 Jul 26
2
[PATCH] better kbuild integration
...$(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \
+ $(OPTFLAGS) $(USERWARNFLAGS)
USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS)
USERSTRIPFLAGS := --strip-all -R .comment -R .note
@@ -201,6 +201,7 @@ __build : $(user-dirs) $(user-progs)
# Descend if needed
$(sort $(addsuffix /built-in.o,$(user-dirs))): $(user-dirs) ;
+# link program that has only a single .o file
quiet_cmd_user-ld-single = USERLD $@
cmd_user-ld-single = $(USERLD) $(USERLDFLAGS) -o $@ \
$(USERCRT0) $< \
@@ -214,6 +215,7 @@ $(user-single...
2009 Sep 02
2
[PATCH] internationalisation: Replace autopoint infrastructure with libintl-perl
I noticed that virt-v2v, which is written exclusively in perl, failed to
generate virt-v2v.pot. After much head scratching I also noticed that
libguestfs.pot didn't include any messages from perl sources. Some reading of
libintl-perl shows that a somewhat more complicated xgettext command line is
required, as it doesn't understand Locale::TextDomain syntax by default. After a
little more
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...b-target
+#
+# Create klib.list
+#
+# Do we have to create a klibc library file in this dir?
+ifneq ($(strip $(klib-y) $(klib-n) $(klib-)),)
+klib-target := $(obj)/klib.list
+endif
+
+ifdef klib-target
+# include this in build
+__build: $(klib-target) $(klib-dirs)
+
+# descend if needed
+$(sort $(addsuffix /klib.list,$(klib-dirs))): $(klib-dirs) ;
+
+# create klib.list
+quiet_cmd_klib-list = LIST $@
+ cmd_klib-list = echo $(klib-y) > $@
+$(klib-target): $(klib-objs) FORCE
+ $(call if_changed,klib-list)
+targets += $(klib-target) $(klib-y)
+endif # klib-target
ifdef kprogs
# Compile kli...