123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- ifeq ($(_THEOS_RULES_LOADED),)
- _THEOS_RULES_LOADED := 1
- ifeq ($(THEOS_CURRENT_INSTANCE),)
- include $(THEOS_MAKE_PATH)/master/rules.mk
- else
- include $(THEOS_MAKE_PATH)/instance/rules.mk
- endif
- ifeq ($(_THEOS_MAKE_PARALLEL_BUILDING), no)
- .NOTPARALLEL:
- else
- ifneq ($(_THEOS_MAKE_PARALLEL), yes)
- .NOTPARALLEL:
- endif
- endif
- %.mm: %.l.mm
- $(THEOS_BIN_PATH)/logos.pl $< > $@
- %.mm: %.xmm
- $(THEOS_BIN_PATH)/logos.pl $< > $@
- %.mm: %.xm
- $(THEOS_BIN_PATH)/logos.pl $< > $@
- %.m: %.xm
- $(THEOS_BIN_PATH)/logos.pl $< > $@
- %.swift: %.xswift
- $(THEOS_BIN_PATH)/logos.pl $< > $@
- ifneq ($(THEOS_BUILD_DIR),.)
- $(THEOS_BUILD_DIR):
- @mkdir -p $(THEOS_BUILD_DIR)
- endif
- $(THEOS_OBJ_DIR):
- @cd $(THEOS_BUILD_DIR); mkdir -p $(THEOS_OBJ_DIR_NAME)
- $(THEOS_OBJ_DIR)/.stamp: $(THEOS_OBJ_DIR)
- @mkdir -p $(dir $@); touch $@
- $(THEOS_OBJ_DIR)/%/.stamp: $(THEOS_OBJ_DIR)
- @mkdir -p $(dir $@); touch $@
- Makefile: ;
- $(_THEOS_RELATIVE_MAKE_PATH)%.mk: ;
- $(THEOS_MAKE_PATH)/%.mk: ;
- $(THEOS_MAKE_PATH)/master/%.mk: ;
- $(THEOS_MAKE_PATH)/instance/%.mk: ;
- $(THEOS_MAKE_PATH)/instance/shared/%.mk: ;
- $(THEOS_MAKE_PATH)/platform/%.mk: ;
- $(THEOS_MAKE_PATH)/targets/%.mk: ;
- $(THEOS_MAKE_PATH)/targets/%/%.mk: ;
- ifneq ($(THEOS_PACKAGE_DIR_NAME),)
- $(THEOS_PACKAGE_DIR):
- @cd $(THEOS_BUILD_DIR); mkdir -p $(THEOS_PACKAGE_DIR_NAME)
- endif
- endif
- # TODO MAKE A BUNCH OF THINGS PHONY
- $(eval $(call __mod,rules.mk))
|