summaryrefslogtreecommitdiffstats
path: root/libc/inet
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 01:57:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-12 01:57:45 +0000
commit7910749bb6b82696ad718f2ef75e9e181f1ad6f4 (patch)
tree2b08b94ca6ddf08467fc8f3772e960e38f31c584 /libc/inet
parent12956d0dc1358c8b53af4aaeef5986a4d870409b (diff)
downloaduClibc-alpine-7910749bb6b82696ad718f2ef75e9e181f1ad6f4.tar.bz2
uClibc-alpine-7910749bb6b82696ad718f2ef75e9e181f1ad6f4.tar.xz
Fixed up 'clean' target for latest NPTL changes and modified include
dependency directories so that either thread model can be used by the C library modules that need some knowledge of pthreads.
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/Makefile8
-rw-r--r--libc/inet/rpc/Makefile3
2 files changed, 5 insertions, 6 deletions
diff --git a/libc/inet/Makefile b/libc/inet/Makefile
index e7018db7c..09b274dab 100644
--- a/libc/inet/Makefile
+++ b/libc/inet/Makefile
@@ -66,19 +66,19 @@ $(OBJ_LIST): $(OBJS)
echo $(patsubst %, inet/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ): $(MSRC)
- $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(CC) $(CFLAGS) $(PT_INCLUDES) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ2): $(MSRC2)
- $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(CC) $(CFLAGS) $(PT_INCLUDES) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ3): $(MSRC3)
- $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(CC) $(CFLAGS) $(PT_INCLUDES) -DL_$* $< -c -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(COBJS): %.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) $(PT_INCLUDES) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: subdirs_clean
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index 352e9a28b..49adb7e84 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -23,7 +23,6 @@
TOPDIR=../../../
include $(TOPDIR)Rules.mak
-CFLAGS+=-I$(TOPDIR)libpthread/linuxthreads/sysdeps/pthread
ifeq ($(strip $(UCLIBC_HAS_FULL_RPC)),y)
CSRC :=auth_none.c auth_unix.c authunix_prot.c bindresvport.c \
@@ -58,7 +57,7 @@ $(OBJ_LIST): $(OBJS)
echo $(patsubst %, inet/rpc/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(CFLAGS) $(PT_INCLUDES) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: