12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- TOPDIR=../../
- include $(TOPDIR)Rules.mak
- DIRS = assert ctype dirent file fnmatch glob internals lsearch \
- mntent syslog time utmp tsearch locale sysvipc statfs \
- error insremque ttyent
- ifeq ($(strip $(INCLUDE_REGEX)),true)
- DIRS += regex
- endif
- ifeq ($(strip $(INCLUDE_THREADS)),true)
- DIRS += pthread
- endif
- ifeq ($(strip $(HAS_WCHAR)),true)
- DIRS += wctype
- endif
- all: libc.a
- libc.a: subdirs
- tags:
- ctags -R
- clean: subdirs_clean
- rm -f *.[oa] *~ core
- subdirs: $(patsubst %, _dir_%, $(DIRS))
- subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))
- $(patsubst %, _dir_%, $(DIRS)) : dummy
- $(MAKE) -C $(patsubst _dir_%, %, $@)
- $(patsubst %, _dirclean_%, $(DIRS)) : dummy
- $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
- .PHONY: dummy
|