зеркало из https://github.com/mozilla/pjs.git
Fixed possible infinite loop in dependency.
This commit is contained in:
Родитель
0a50098916
Коммит
adbd81b844
|
@ -22,6 +22,8 @@ ifdef MOZ_OJI
|
|||
DIRS = liveconnect
|
||||
endif
|
||||
|
||||
DIRS += fdlibm
|
||||
|
||||
LIBRARY_NAME = js
|
||||
|
||||
ifeq ($(subst /,_,$(shell uname -s)),OS2)
|
||||
|
@ -211,8 +213,19 @@ else
|
|||
$(CC) -o $@ -c $(CFLAGS) $<
|
||||
endif
|
||||
|
||||
# ripped from mozilla/config/rules.mk
|
||||
$(FDLIBM_LIBRARY):
|
||||
cd fdlibm; $(MAKE)
|
||||
@if test -d fdlibm; then \
|
||||
set -e; \
|
||||
set $(EXIT_ON_ERROR); \
|
||||
echo "cd fdlibm; $(MAKE) $(OBJDIR)/$(@F)"; \
|
||||
oldDir=`pwd`; \
|
||||
cd fdlibm; $(MAKE) $(OBJDIR)/$(@F); cd $$oldDir; \
|
||||
set +e; \
|
||||
else \
|
||||
echo "Error - directory fdlibm does not exit..."; \
|
||||
fi; \
|
||||
$(CLICK_STOPWATCH);
|
||||
|
||||
# this requires clobbering and recompiling with XCFLAGS=-DJSFILE
|
||||
js:
|
||||
|
|
Загрузка…
Ссылка в новой задаче