Blame project/w32def/w32def.mk

b743da
PERK		?= perk
b743da
W32_SYSDIR	?= /dev/null
b743da
PROJECT_DIR	?= .
b743da
SOURCE_DIR	?= .
b743da
b743da
include $(PROJECT_DIR)/project/common.mk
b743da
b743da
fake/%.dll:
b743da
		touch $@
b743da
b743da
fake/%.drv:
b743da
		touch $@
b743da
b743da
config.project: $(W32FAKE)
b743da
b743da
$(SOURCE_DIR)/def/kernel32.def:	APIS_WITH_CAPS = -c
b743da
b743da
$(SOURCE_DIR)/def/%.def:	$(W32_SYSDIR)/%.dll
b743da
				$(PROJECT_DIR)/project/w32def/w32def.sh -p $(PERK) -l $< -o $@ $(APIS_WITH_CAPS)
b743da
b743da
$(SOURCE_DIR)/def/%.def:	$(W32_SYSDIR)/%.drv
b743da
				$(PROJECT_DIR)/project/w32def/w32def.sh -p $(PERK) -l $< -o $@ $(APIS_WITH_CAPS)
b743da
b743da
w32def:				config.project $(W32DEF)
b743da
b743da
w32def-clean:
b743da
				rm -f $(W32DEF)
b743da
				rm -f $(W32FAKE)
b743da
b743da
.PHONY:				w32def
b743da
.PHONY:				w32def-clean