summaryrefslogtreecommitdiff
path: root/bean/native/unix/makefile.mk
blob: 9cecbfb96fd42e0ecedaea91162616d07460838d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PRJ=..$/..

PRJNAME=beans
TARGET=officebean
ENABLE_EXCEPTIONS=TRUE
NO_DEFAULT_STL=TRUE
NO_BSYMBOLIC=TRUE

# --- Settings -----------------------------------------------------

.INCLUDE :  settings.mk

# --- Files --------------------------------------------------------

.IF "$(SOLAR_JAVA)"=="" || "$(OS)"=="MACOSX"
nojava:
    @echo "Not building odk/source/OOSupport because Java has been disabled"
.ENDIF
.IF "$(JDK)"=="gcj"
all:
        @echo This dir cannot be build with gcj because of jawt.h
.ENDIF
.IF "$(OS)"=="MACOSX"
dummy:
    @echo "Nothing to build for OS $(OS)"
.ENDIF

SLOFILES = \
    $(SLO)$/com_sun_star_comp_beans_LocalOfficeWindow.obj \
    $(SLO)$/com_sun_star_beans_LocalOfficeWindow.obj

SHL1TARGET=$(TARGET)
SHL1LIBS=	$(SLB)$/$(TARGET).lib
SHL1STDLIBS=-ljawt

.IF "$(OS)" == "LINUX"
.IF "$(CPUNAME)" == "S390"
SHL1STDLIBS+=-lzip -lawt
.ENDIF
SHL1STDLIBS+=-lstdc++
.ENDIF

NO_SHL1DESCRIPTION=TRUE

# --- Targets ------------------------------------------------------

.INCLUDE :  target.mk