blob: 50e38298b2a962d712f1510462ca54b4e4e76ca4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
DIRFILE=$(THISDIR:%=$(DESTDIR)\..\%.dir)
.PHONY: destdir
destdir: $(DESTDIR)
all: destdir $(DATA_FILES) $(DIRFILE)
$(DESTDIR)\default: default.in
copy $< $@
$(DESTDIR)\%: %
copy $< $@
ifneq ($(DIRFILE),)
.PHONY: extrastuff
#bdftopcf is dependent on libX11.dll, so we need to add the directory of the libX11 dll to the path env variable
PATH:=$(relpath $(MHMAKECONF)\libxcb\src\$(OBJDIR))\;$(relpath $(MHMAKECONF)\libX11\$(OBJDIR))\;$(relpath $(MHMAKECONF)\libXau\$(OBJDIR))\;$(PATH)
export PATH
load_makefile ..\..\..\xkbcomp\makefile MAKESERVER=0 DEBUG=0
$(DIRFILE): extrastuff $(DATA_FILES) ..\..\..\xkbcomp\obj$(OBJDIREXTRA)\release\xkbcomp.exe
-del -e $@
cd $(DESTDIR) & ..\..\..\xkbcomp\obj$(OBJDIREXTRA)\release\xkbcomp.exe -lfhlpR -o $(relpath $@) *
endif
|