зеркало из https://github.com/mozilla/gecko-dev.git
only use these rules if the libIDL is available (and thus XPIDL is available)
This commit is contained in:
Родитель
ad1fe78a92
Коммит
7b5dacf3b7
|
@ -590,9 +590,18 @@ endif #STRICT_CPLUSPLUS_SUFFIX
|
|||
%: %.sh
|
||||
rm -f $@; cp $< $@; chmod +x $@
|
||||
|
||||
%.h: %.idl
|
||||
|
||||
# these rules only apply when the XPIDL compiler is available
|
||||
ifdef BUILD_XPIDL
|
||||
%.h: %.idl $(IDL_COMPILE)
|
||||
$(IDL_COMPILE) -m header -w -I $(DIST)/idl $<
|
||||
|
||||
|
||||
%.cpp: %.idl $(IDL_COMPILE)
|
||||
$(IDL_COMPILE) -m stub -w -I $(DIST)/idl $<
|
||||
|
||||
endif
|
||||
|
||||
ifdef DIRS
|
||||
$(DIRS)::
|
||||
@if test -d $@; then \
|
||||
|
|
Загрузка…
Ссылка в новой задаче