diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-25 15:15:20 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-25 15:15:20 +0000 |
commit | fe68b7ecaa660d38aed2e505642a82a245fa5665 (patch) | |
tree | 4436c940f9de5cf42f1851ff76e3618ca46425b7 /sc/util | |
parent | f4e1e22b8695ba1843a022ebabd81f06088045f6 (diff) |
INTEGRATION: CWS npower6 (1.37.76); FILE MERGED
2007/02/27 11:03:46 npower 1.37.76.5: #i74096 use proper macro for calc lib
2007/02/09 11:50:36 npower 1.37.76.4: #i74096 add perl script to create the openoffice extension
2007/02/08 18:14:51 npower 1.37.76.3: #i74096 make building component optional
2007/02/08 11:16:19 npower 1.37.76.2: #i74096# fix link failure on windows
2007/02/07 21:24:25 npower 1.37.76.1: #i74096# vba compatibility api component build bits
Diffstat (limited to 'sc/util')
-rw-r--r-- | sc/util/makefile.mk | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/sc/util/makefile.mk b/sc/util/makefile.mk index cabf36b3b8ed..ab86ed9b6799 100644 --- a/sc/util/makefile.mk +++ b/sc/util/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.38 $ +# $Revision: 1.39 $ # -# last change: $Author: vg $ $Date: 2007-03-26 14:54:14 $ +# last change: $Author: rt $ $Date: 2007-04-25 16:15:20 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -266,11 +266,46 @@ LIB8OBJFILES = \ $(SLO)$/dpgroupdlg.obj \ $(SLO)$/editfield.obj +.IF "$(ENABLE_VBA)"=="YES" + +TARGET_VBA=vbaobj +SHL9TARGET=$(TARGET_VBA)$(UPD)$(DLLPOSTFIX).uno +SHL9IMPLIB= i$(TARGET_VBA) + +SHL9VERSIONMAP=$(TARGET_VBA).map +SHL9DEF=$(MISC)$/$(SHL9TARGET).def +DEF9NAME=$(SHL9TARGET) + +SHL9STDLIBS= \ + $(CPPUHELPERLIB) \ + $(CPPULIB) \ + $(COMPHELPERLIB) \ + $(SVLIB) \ + $(TOOLSLIB) \ + $(SALLIB)\ + $(BASICLIB) \ + $(SFXLIB) \ + $(SVXLIB) \ + $(SVTOOLLIB) \ + $(SVLLIB) \ + $(ISCLIB) \ + + +SHL9DEPN=$(SHL1TARGETN) $(SHL8TARGETN) +SHL9LIBS=$(SLB)$/$(TARGET_VBA).lib + +.ENDIF + + # --- Targets ------------------------------------------------------------- .INCLUDE : target.mk -ALLTAR: $(MISC)$/linkinc.ls - +.IF "$(VBA_EXTENSION)"=="YES" + COMP=build_extn +.ENDIF +ALLTAR: $(MISC)$/linkinc.ls $(COMP) +build_extn : $(SLB)$/$(TARGET_VBA).lib + $(PERL) createExtPackage.pl $(COMMONBIN)$/vbaapi.oxt $(SOLARBINDIR)$/oovbaapi.rdb $(LIBCOMPNAME) |