forked from KolibriOS/kolibrios
Makefile: fix locks
git-svn-id: svn://kolibrios.org@1767 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
68ecb4d4cd
commit
93d705041c
@ -6,10 +6,10 @@
|
|||||||
define cmm_meta_rule
|
define cmm_meta_rule
|
||||||
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
|
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
|
||||||
$$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
|
$$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
|
||||||
flock $$(dir $(2)).lock \
|
flock $$(dir $(2)).lock -c '\
|
||||||
win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
|
win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
|
||||||
if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
|
if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
|
||||||
kpack --nologo $$$$f "$$@" && rm $$$$f
|
kpack --nologo $$$$f "$$@" && rm $$$$f'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam))))
|
$(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam))))
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
define cmm_meta_rule
|
define cmm_meta_rule
|
||||||
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
|
$(1): $(2) Makefile.cmm $$(call respace,$$(addsuffix .dir,$(3))) \
|
||||||
$$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
|
$$(wildcard $$(dir $(2))*) $$(wildcard $$(dir $(2))*/*)
|
||||||
flock $$(dir $(2)).lock \
|
flock $$(dir $(2)).lock -c '\
|
||||||
win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
|
win32-c-- $(5) /IP=Z:$$(dir $(2)) Z:$$< >&2 && \
|
||||||
if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
|
if [ -e $$(basename $$<) ]; then f=$$(basename $$<); else f=$$(basename $$<).com; fi && \
|
||||||
kpack --nologo $$$$f "$$@" && rm $$$$f
|
kpack --nologo $$$$f "$$@" && rm $$$$f'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam))))
|
$(foreach f,$(CMM_PROGRAMS),$(eval $(call cmm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname),$(fparam))))
|
||||||
|
Loading…
Reference in New Issue
Block a user