add rules to automatically build .h files from .idl files if they are newer,
and add way of exporting IDL files with IDLSRCS git-svn-id: svn://10.0.0.236/trunk@18239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
93b60e3ef6
commit
f2ea90ba00
@ -473,6 +473,9 @@ endif #STRICT_CPLUSPLUS_SUFFIX
|
||||
%: %.sh
|
||||
rm -f $@; cp $< $@; chmod +x $@
|
||||
|
||||
%.h: %.idl
|
||||
$(IDL_COMPILE) -h -w -I $(DIST)/idl $<
|
||||
|
||||
ifdef DIRS
|
||||
$(DIRS)::
|
||||
@if test -d $@; then \
|
||||
@ -737,6 +740,18 @@ endif
|
||||
################################################################################
|
||||
|
||||
|
||||
ifneq ($(IDLSRCS),)
|
||||
$(XPDIST)/idl$(INCL_SUBDIR)::
|
||||
@if test ! -d $@; then echo Creating $@; rm -rf $@; $(NSINSTALL) -D $@; else true; fi
|
||||
|
||||
export:: $(IDLSRCS) $(XPDIST)/idl$(INCL_SUBDIR)
|
||||
$(INSTALL) -m 444 $^
|
||||
|
||||
endif
|
||||
|
||||
##############################################################################
|
||||
|
||||
|
||||
ifdef USE_AUTOCONF
|
||||
ALL_TRASH := $(filter-out $(OBJDIR), $(ALL_TRASH))
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user