summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2001-08-10Update the build system, yet again. I hope this is the last time...Eric Andersen
Here is the basic theory of operation: SHARED_LIB_LOADER_PATH/ <The location where the shared lib loader will be installed and where the compiler will cause apps to look for it.> DEVEL_PREFIX/ bin/ <contains gcc, ld, etc for setting PATH=$DEVEL_PREFIX/bin:$PATH> lib/ <contains all runtime and static libs> include/ <Where all the header files go> SYSTEM_DEVEL_PREFIX/ usr/bin/ <contains arch-uclibc-gcc, arch-uclibc-ld, etc that might be installed by a .deb or .rpm into /usr/bin, but can happily live under DEVEL_PREFIX> PREFIX This is prepended during 'make install's allowing you to shift things to be installed under some alternate location (such as when building a .deb) -Erik
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
2001-07-17Some cleanups needed for things to compile and work as expectedEric Andersen
with the new build system... -Erik
2001-07-12This commit merges David Schleef's updates to the build system, which aEric Andersen
few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
2001-07-09A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
2001-07-04If HAS_MMU is false, then use asm-$(TARGET_ARCH)nommu rather thanDavid McCullough
asm-$(TARGET_ARCH) as the link for include/asm.
2001-07-04Fix missing libresolv.soEric Andersen
2001-07-02Fix a silly typoEric Andersen
2001-07-01Added additional cleaningDavid Schleef
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
2001-06-27For now, we need to explicitly make clean in libc/unistd (sysconf stuff)Manuel Novoa III
and libc/sysdeps/linux/common (unified syscall stuff).
2001-06-26Change to allow compiling against unconfigured kernels. CreatesDavid Schleef
symlink to include/asm-${arch} instead of include/asm.
2001-06-18This commit finishes adding support for the old m68k-coff toolchains byEric Andersen
working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
2001-06-15A few build updatesEric Andersen
2001-06-13Add warning message if Config doesn't existDavid Schleef
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-06-07Change the last 2 "make" invocations to use $(MAKE).David McCullough
2001-06-02Always check before you commit...^100. We need to build the dynamic linkerManuel Novoa III
before we build shared libc. We need to build shared libc before libdl.
2001-06-02Only build ldso if building shared. Also, if building ldso, build all subdirs.Manuel Novoa III
2001-06-02Fix misuse of DO_SHARED and LDSO_PRESENT. Add -f option to "cp"s.Manuel Novoa III
2001-06-01Fix bug: tried to install non-existant shared libs.Manuel Novoa III
2001-05-31Install ldd and ldconfig as appropriate.Manuel Novoa III
2001-05-31Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, andManuel Novoa III
TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT for a dynamic linker option at runtime (although command line arg overrides the env variable).
2001-05-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.
2001-05-26Don't try to run ldconfig unless it existsEric Andersen
2001-05-26Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef
used on mipsel.)
2001-05-25One last structural change. Install header files to INSTALLDIR/usr/includeEric Andersen
so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
2001-05-21Stub out libresolv for now. Some apps try to link with it (thoughEric Andersen
almost always erroneously as a result of configure scripts that were poorly done). This will let such apps compile... -Erik
2001-05-17Patch from David McCullough <davidm@lineo.com> -- do notEric Andersen
try to build ldso when we don't support shared libraries...
2001-05-16Fix up a few little problemsEric Andersen
2001-05-12Should not call make on ldso/libdlEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11Rework where libraries get installed to. Now thew will be compiled andEric Andersen
dropped into a uClibc/lib dir when compiling, which will make life a bit easier when installing and cleaning up. Preface uClibc with 'lib' so ldconfig will recognize it as a library. Make all libraries have the uClibc version number attached, making upgrades possible by using the traditional symlink to the .so name plan. -Erik
2001-05-11Change 'crypt' to 'libcrypt'Eric Andersen
2001-05-10Fix up naming of ld.so so every uses the same define. The top levelEric Andersen
was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
2001-05-10uClibc now has a math library. muahahahaha!Eric Andersen
-Erik
2001-05-09By default, leave out the RPC junk (it adds over 30k). Add in a compileEric Andersen
time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
2001-05-09compile up libutilEric Andersen
2001-05-04Another update to make sure things work properly on x86 now.Eric Andersen
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-05-04This is kindof neat. With this update, you can now simply set yourEric Andersen
PATH and things will now simply compile vs uClibc. Or you can add INSTALL_DIR/usr/bin to your path and use it as a cross compiler. Either way, it works now. -Erik
2001-04-27A few more compilation updatesEric Andersen
2001-04-26Ok, this should finish things upEric Andersen
-Erik
2001-04-26Oops. I forgot to check this in last night, so if anybody builtEric Andersen
uClibc during the last 18 hours it would have failed. Sorry about that... -Erik
2001-04-23Fix up the main makefile. Autobuild ld.so and install itEric Andersen
when appropriate,
2001-04-20Change shared lib name. Update install_new target in Makefile.Manuel Novoa III
2001-04-05Compile the compiler lastEric Andersen
2001-04-03Fix a bug noted by David Beamonte <dbeamonte@intelnet.es>, so thatEric Andersen
we define "__linux__" in uClibc_config.h, not "__linux_".
2001-03-29Reimplemented "make install" target. I left the old one as-is,David Schleef
under the assumtion that someone will get confused if it suddenly changes.
2001-03-20Do not remove const and extension when compiling with the elf tools.David McCullough