diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-09 05:57:05 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-08-09 05:57:05 +0000 |
| commit | 680c018810e22008f4fdd4581542648c9fb89e9a (patch) | |
| tree | 053ad7392c2ed8577ea07f910d35a750b18959ee /libpthread/Makefile | |
| parent | 3dfe29ec75a1adfe9f05e8437ff8b67f309d4acd (diff) | |
| download | uClibc-alpine-680c018810e22008f4fdd4581542648c9fb89e9a.tar.bz2 uClibc-alpine-680c018810e22008f4fdd4581542648c9fb89e9a.tar.xz | |
Finally, all of the makefiles that make the magic happen. These changes allow for uClibc to build for NPTL support without breaking the old linuxthreads model. Let the testing begin.
Diffstat (limited to 'libpthread/Makefile')
| -rw-r--r-- | libpthread/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile index a7317dc4e..3184435a6 100644 --- a/libpthread/Makefile +++ b/libpthread/Makefile @@ -80,6 +80,13 @@ ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) $(INSTALL) -m 644 $(LIBTHREAD_DB) $(TOPDIR)lib endif +objs-pthread-libc: +ifeq ($(strip $(PTHREADS_NATIVE)),y) + $(MAKE) -C nptl $@ +else + touch $(PTCOBJST) $(PTCOBJSH) +endif + $(OBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ @@ -93,7 +100,9 @@ ifeq ($(strip $(PTHREADS_NATIVE)),y) $(LD) $(LDFLAGS_NOSTRIP) -soname=$(LIBPTHREAD_SHARED).$(MAJOR_VERSION) \ -o $(LIBPTHREAD_SHARED_FULLNAME) $(SHARED_START_FILES) --whole-archive $(LIBPTHREAD_SHARED_ARCHIVE) \ --no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \ - -L$(TOPDIR)lib -lc -ldl $(LDADD_LIBFLOAT) $(LIBGCC) \ + -L$(TOPDIR)lib -lc $(LDADD_LIBFLOAT) $(LIBGCC) \ + $(TOPDIR)ldso/ldso/ld-uClibc-0.9.27.so \ + -L$(TOPDIR)ldso/libdl -ldl \ $(SHARED_END_FILES) else $(LD) $(LDFLAGS_NOSTRIP) -soname=$(LIBPTHREAD_SHARED).$(MAJOR_VERSION) \ |
