Defined path to makefile for updf and rewritten instructions based on shell and atikms.dll examples

git-svn-id: svn://kolibrios.org@4708 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
right-hearted 2014-03-28 17:34:37 +00:00
parent 5d1209e104
commit 5ae0f2aba5

View File

@ -627,8 +627,13 @@ e80: .obj.e80/start.o .obj.e80/kolibri.o .obj.e80/stdlib.o .obj.e80/string.o .ob
#Rules for updf
UPDFDIR=$(REPOSITORY)/contrib/media/updf
updf:
cd $(UPDFDIR) && make
updf: .obj.updf/mupdf.obj
win32-objcopy -O binary mupdf
.obj.updf/mupdf.obj: $(UPDFDIR)/Makefile
flock $(UPDFDIR)/.lock \
$(MAKE) CC=win32-gcc45 AS=win32-as LD=win32-ld AR=win32-ar
.obj.updf:
mkdir -p .obj.updf
# Rules for sdk/sound, used by media/ac97snd
SOUNDDIR=$(PROGS)/develop/sdk/trunk/sound/src