2015-11-15 19:19:53 +01:00
|
|
|
|
|
|
|
.DEFAULT_GOAL = all
|
|
|
|
|
2016-07-28 19:23:34 +02:00
|
|
|
PROTOC ?= protoc
|
|
|
|
|
2015-11-15 19:19:53 +01:00
|
|
|
include $(TREE_PATH)/rules.makefile
|
2018-01-21 17:40:27 +01:00
|
|
|
include $(TREE_PATH)/libc.makefile
|
2018-02-09 14:31:35 +01:00
|
|
|
$(call include_dir,libdl)
|
2015-12-03 13:02:46 +01:00
|
|
|
$(call include_dir,libm)
|
2017-12-13 22:59:32 +01:00
|
|
|
$(call include_dir,libpthread)
|
2018-02-09 12:44:53 +01:00
|
|
|
$(call include_dir,librt)
|
2018-02-10 22:05:53 +01:00
|
|
|
$(call include_dir,libutil)
|
2015-11-15 19:19:53 +01:00
|
|
|
|
2016-07-14 19:13:27 +02:00
|
|
|
.PHONY: all clean gen install install-headers
|
2015-11-15 19:19:53 +01:00
|
|
|
|
2018-02-10 22:05:53 +01:00
|
|
|
all: libc.so all-libdl all-libm all-libpthread all-librt all-libutil
|
2015-11-15 19:19:53 +01:00
|
|
|
|
2018-01-21 17:40:27 +01:00
|
|
|
#clean: clean-libc
|
2015-11-15 19:19:53 +01:00
|
|
|
|
2016-07-28 19:23:34 +02:00
|
|
|
gen: gen-libc
|
|
|
|
|
2018-02-10 22:05:53 +01:00
|
|
|
install: install-libc install-libdl install-libm install-libpthread install-librt install-libutil
|
2015-12-03 13:02:46 +01:00
|
|
|
|
2018-01-24 18:10:23 +01:00
|
|
|
install-headers: install-headers-libc
|
2016-07-14 19:13:27 +02:00
|
|
|
|