TOPDIR=../
include $(TOPDIR)Rules.mak
-CFLAGS += $(SSP_ALL_CFLAGS) -L$(TOPDIR)lib
+CFLAGS += \
+ $(SSP_ALL_CFLAGS) -L$(TOPDIR)lib \
+ -I. -I../ldso/include -I../include
TARGETS = ldd ldconfig
ldconfig: ldconfig.c
$(CC) $(CFLAGS) $(LDCONFIG_CFLAGS) \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
- -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
+ -DUCLIBC_LDSO=$(UCLIBC_LDSO) \
$^ -o $@
$(STRIPTOOL) -s -x -R .note -R .comment $@
ldd: ldd.c
$(CC) $(CFLAGS) $(LDD_CFLAGS) \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
- -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
+ -DUCLIBC_LDSO=$(UCLIBC_LDSO) \
$^ -o $@
$(STRIPTOOL) -s -x -R .note -R .comment $@