merge the formfield patch from ooo-build
[ooovba.git] / scripting / source / vbaevents / makefile.mk
blob96f4e3d63ec98d7747c9a5dca637cbc194aefca5
1 PRJ=..$/..
3 PRJNAME=vbaevents
4 TARGET=vbaevents
5 .IF "$(ENABLE_VBA)"!="YES"
6 dummy:
7 @echo "not building vbaevents..."
8 .ENDIF
10 NO_BSYMBOLIC= TRUE
11 ENABLE_EXCEPTIONS=TRUE
12 COMP1TYPELIST=$(TARGET)
13 COMPRDB=$(SOLARBINDIR)$/types.rdb
15 # --- Settings -----------------------------------------------------
17 .INCLUDE : settings.mk
18 DLLPRE =
20 # ------------------------------------------------------------------
22 ALLTAR : \
23 $(MISC)$/$(TARGET).don \
24 $(SLOTARGET)
26 $(MISC)$/$(TARGET).don : $(SOLARBINDIR)$/oovbaapi.rdb
27 +$(CPPUMAKER) -O$(OUT)$/inc -BUCR $(SOLARBINDIR)$/oovbaapi.rdb -X$(SOLARBINDIR)$/types.rdb && echo > $@
28 echo $@
29 # ------------------------------------------------------------------
31 #.INCLUDE : ..$/cppumaker.mk
33 SLOFILES= \
34 $(SLO)$/service.obj \
35 $(SLO)$/eventhelper.obj
37 SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
38 SHL1IMPLIB= i$(TARGET)
40 SHL1VERSIONMAP=$(TARGET).map
41 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
42 DEF1NAME=$(SHL1TARGET)
44 SHL1STDLIBS= \
45 $(CPPUHELPERLIB) \
46 $(BASICLIB) \
47 $(COMPHELPERLIB) \
48 $(SFXLIB) \
49 $(SVXMSFILTERLIB) \
50 $(CPPULIB) \
51 $(TOOLSLIB) \
52 $(SALLIB)
54 SHL1DEPN=
55 SHL1LIBS=$(SLB)$/$(TARGET).lib
57 # --- Targets ------------------------------------------------------
59 .INCLUDE : target.mk