|
@@ -21,28 +21,25 @@ TOPDIR=../
|
|
|
|
|
|
.EXPORT_ALL_VARIABLES:
|
|
|
|
|
|
-
|
|
|
-ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd crypt #misc
|
|
|
+ALL_SUBDIRS = \
|
|
|
+ args assert crypt ctype pwd_grp signal silly stdlib string unistd \
|
|
|
+ #misc
|
|
|
DIRS = $(ALL_SUBDIRS)
|
|
|
-#ifeq ($(TARGET_ARCH), $(HOST_ARCH))
|
|
|
-# DIRS = $(ALL_SUBDIRS)
|
|
|
-#else
|
|
|
-# DIRS =
|
|
|
-#endif
|
|
|
+
|
|
|
ifeq ($(HAVE_SHARED),y)
|
|
|
- ifeq ($(BUILD_UCLIBC_LDSO),y)
|
|
|
- DIRS += dlopen
|
|
|
- endif
|
|
|
-endif
|
|
|
+ ifeq ($(BUILD_UCLIBC_LDSO),y)
|
|
|
+ DIRS += dlopen
|
|
|
+ endif
|
|
|
+endif
|
|
|
ifeq ($(UCLIBC_HAS_THREADS),y)
|
|
|
- DIRS += pthread
|
|
|
-endif
|
|
|
+ DIRS += pthread
|
|
|
+endif
|
|
|
|
|
|
all: subdirs
|
|
|
|
|
|
tags:
|
|
|
ctags -R
|
|
|
-
|
|
|
+
|
|
|
clean: subdirs_clean
|
|
|
$(RM) *.[oa] *~ core
|
|
|
|