|
@@ -21,15 +21,19 @@
|
|
# respective copyright holders.
|
|
# respective copyright holders.
|
|
|
|
|
|
TOPDIR=../
|
|
TOPDIR=../
|
|
-include $(TOPDIR)Rules.mak
|
|
+include $(TOPDIR)Config
|
|
|
|
+
|
|
|
|
+.EXPORT_ALL_VARIABLES:
|
|
|
|
+
|
|
|
|
|
|
ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd #misc
|
|
ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd #misc
|
|
-ifeq ($(TARGET_ARCH), $(NATIVE_ARCH))
|
|
+DIRS = $(ALL_SUBDIRS)
|
|
- DIRS = $(ALL_SUBDIRS)
|
|
+#ifeq ($(TARGET_ARCH), $(NATIVE_ARCH))
|
|
-else
|
|
+# DIRS = $(ALL_SUBDIRS)
|
|
- DIRS =
|
|
+#else
|
|
-endif
|
|
+# DIRS =
|
|
-ifeq ($(DO_SHARED),shared)
|
|
+#endif
|
|
|
|
+ifeq ($(strip $(HAVE_SHARED)),true)
|
|
DIRS += ldso
|
|
DIRS += ldso
|
|
endif
|
|
endif
|
|
|
|
|
|
@@ -47,7 +51,7 @@ subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
|
|
$(patsubst %, _dir_%, $(DIRS)) : dummy
|
|
$(patsubst %, _dir_%, $(DIRS)) : dummy
|
|
$(MAKE) -C $(patsubst _dir_%, %, $@)
|
|
$(MAKE) -C $(patsubst _dir_%, %, $@)
|
|
|
|
|
|
-$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
|
|
+$(patsubst %, _dirclean_%, $(ALL_SUBDIRS) ldso) : dummy
|
|
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
|
|
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
|
|
|
|
|
|
.PHONY: dummy
|
|
.PHONY: dummy
|