diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-10-17 00:24:24 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-10-17 00:24:24 +0000 |
commit | da0a22b7ace53e256a01c4f2b9e6d46ecbdd91bb (patch) | |
tree | bd3ede4349dda14ae8d84361b3c1f8dcf3c2511e /runtime/GCCLibraries | |
parent | aa717415bf22e0de40961a09d108999845976d34 (diff) |
Initial Makefile.am for building with automake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/GCCLibraries')
-rw-r--r-- | runtime/GCCLibraries/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/crtend/Makefile.am | 62 | ||||
-rw-r--r-- | runtime/GCCLibraries/libc/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libcurses/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libgcc/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libgdbm/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libm/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libmalloc/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libpthread/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libtermcap/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libucb/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libutempter/Makefile.am | 14 | ||||
-rw-r--r-- | runtime/GCCLibraries/libutil/Makefile.am | 14 |
13 files changed, 230 insertions, 0 deletions
diff --git a/runtime/GCCLibraries/Makefile.am b/runtime/GCCLibraries/Makefile.am new file mode 100644 index 0000000000..43f26bf05a --- /dev/null +++ b/runtime/GCCLibraries/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/Makefile.am --------------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + + +SUBDIRS = crtend libc libcurses libg libgcc libgdbm libm libmalloc libpthread \ + libtermcap libucb libutempter libutil + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/crtend/Makefile.am b/runtime/GCCLibraries/crtend/Makefile.am new file mode 100644 index 0000000000..71bb077d3d --- /dev/null +++ b/runtime/GCCLibraries/crtend/Makefile.am @@ -0,0 +1,62 @@ +#===-- runtime/GCCLibraries/crtend/Makefile.am -------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +##===- runtime/GCCLibraries/crtend/Makefile ----------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by the LLVM research group and is distributed under +# the University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +# +# This directory contains the C and C++ runtime libraries for the LLVM GCC +# front-ends. See the README.txt file for more details. +# +# Since this archive has strange requirements, we use almost all custom rules +# for building it. +# +##===----------------------------------------------------------------------===## + +include $(top_srcdir)/Makefile_config + +AggregateLib := $(BCDIR)/libcrtend.a +ComponentLibs := comp_main.bc comp_genericeh.bc comp_sjljeh.bc + +## We build libcrtend.a from the four components described in the README. +$(AggregateLib) : $(BCDIR) $(ComponentLibs) + @echo Building final libcrtend.a file from bytecode components + $(AR) cr $(BCDIR)/libcrtend.a $(ComponentLibs) + +all-am: $(AggregateLib) + +clean-am: clean-crtend + $(RM) -f $(AggregateLib) *.bc + +install-am: install-crtend + $(INSTALL_DATA) '$(AggregateLib)' $(DESTDIR)$(libdir) + +MainObj := crtend.bc listend.bc +GenericEHObj := Exception.bc +SJLJEHObj := SJLJ-Exception.bc + +# __main and ctor/dtor support component +comp_main.bc: $(MainObj) + @echo Linking $(notdir $@) component... + $(LLVMGCCLD) -link-as-library -internalize-public-api-file=$(srcdir)/comp_main.lst $(MainObj) -o $@ + +# Generic exception handling support runtime. +comp_genericeh.bc: $(GenericEHObj) + @echo Linking $(notdir $@) component... + $(LLVMGCCLD) -link-as-library -internalize-public-api-file=$(srcdir)/comp_genericeh.lst $(GenericEHObj) -o $@ + +# setjmp/longjmp exception handling support runtime. +comp_sjljeh.bc: $(SJLJEHObj) + @echo Linking $(notdir $@) component... + $(LLVMGCCLD) -link-as-library -internalize-public-api-file=$(srcdir)/comp_sjljeh.lst $(SJLJEHObj) -o $@ diff --git a/runtime/GCCLibraries/libc/Makefile.am b/runtime/GCCLibraries/libc/Makefile.am new file mode 100644 index 0000000000..e9037e02e4 --- /dev/null +++ b/runtime/GCCLibraries/libc/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libc/Makefile.am ---------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libc.a +libc_a_SOURCES = atox.c io.c memory.c qsort.c string.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libcurses/Makefile.am b/runtime/GCCLibraries/libcurses/Makefile.am new file mode 100644 index 0000000000..ff7cebe324 --- /dev/null +++ b/runtime/GCCLibraries/libcurses/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libcurses/Makefile.am ----------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libcurses.a +libcurses_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libgcc/Makefile.am b/runtime/GCCLibraries/libgcc/Makefile.am new file mode 100644 index 0000000000..b94c398781 --- /dev/null +++ b/runtime/GCCLibraries/libgcc/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libgcc/Makefile.am -------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libgcc.a +libgcc_a_SOURCES = eprintf.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libgdbm/Makefile.am b/runtime/GCCLibraries/libgdbm/Makefile.am new file mode 100644 index 0000000000..ac22fa9511 --- /dev/null +++ b/runtime/GCCLibraries/libgdbm/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libgdbm/Makefile.am ------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libgdbm.a +libgdbm_a_SOURCES = temp.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libm/Makefile.am b/runtime/GCCLibraries/libm/Makefile.am new file mode 100644 index 0000000000..cb49265467 --- /dev/null +++ b/runtime/GCCLibraries/libm/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libm/Makefile.am ---------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libm.a +libm_a_SOURCES = temp.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libmalloc/Makefile.am b/runtime/GCCLibraries/libmalloc/Makefile.am new file mode 100644 index 0000000000..fac62e2580 --- /dev/null +++ b/runtime/GCCLibraries/libmalloc/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libmalloc/Makefile.am ----------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libmalloc.a +libmalloc_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libpthread/Makefile.am b/runtime/GCCLibraries/libpthread/Makefile.am new file mode 100644 index 0000000000..915a485165 --- /dev/null +++ b/runtime/GCCLibraries/libpthread/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libpthread/Makefile.am ---------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libpthread.a +libpthread_a_SOURCES = pthread.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libtermcap/Makefile.am b/runtime/GCCLibraries/libtermcap/Makefile.am new file mode 100644 index 0000000000..9bdb42d364 --- /dev/null +++ b/runtime/GCCLibraries/libtermcap/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libtermcap/Makefile.am ---------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libtermcap.a +libtermcap_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libucb/Makefile.am b/runtime/GCCLibraries/libucb/Makefile.am new file mode 100644 index 0000000000..fd14d3c0cd --- /dev/null +++ b/runtime/GCCLibraries/libucb/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libucb/Makefile.am -------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libucb.a +libucb_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libutempter/Makefile.am b/runtime/GCCLibraries/libutempter/Makefile.am new file mode 100644 index 0000000000..d8f2b44cc6 --- /dev/null +++ b/runtime/GCCLibraries/libutempter/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libutempter/Makefile.am --------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libutempter.a +libutempter_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config diff --git a/runtime/GCCLibraries/libutil/Makefile.am b/runtime/GCCLibraries/libutil/Makefile.am new file mode 100644 index 0000000000..afe364070e --- /dev/null +++ b/runtime/GCCLibraries/libutil/Makefile.am @@ -0,0 +1,14 @@ +#===-- runtime/GCCLibraries/libutil/Makefile.am ------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +lib_LIBRARIES = libutil.a +libutil_a_SOURCES = dummy.c +BYTECODE_LIBRARY = $(lib_LIBRARIES) + +include $(top_srcdir)/Makefile_config |