1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.6.14.1 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
36 ENABLE_EXCEPTIONS
:= TRUE
40 DLLPRE
= # no leading "lib" on .so files
42 INCPRE
+= $(MISC
)$/$(TARGET
)$/inc
44 SHL1TARGET
= $(TARGET
)_any
45 SHL1OBJS
= $(SLO
)$/test_any.obj
46 SHL1STDLIBS
= $(CPPULIB
) $(CPPUNITLIB
) $(SALLIB
)
47 SHL1VERSIONMAP
= version.map
48 SHL1IMPLIB
= i
$(SHL1TARGET
)
49 DEF1NAME
= $(SHL1TARGET
)
51 SHL2TARGET
= $(TARGET
)_unotype
52 SHL2OBJS
= $(SLO
)$/test_unotype.obj
53 SHL2STDLIBS
= $(CPPULIB
) $(CPPUNITLIB
) $(SALLIB
)
54 SHL2VERSIONMAP
= version.map
55 SHL2IMPLIB
= i
$(SHL2TARGET
)
56 DEF2NAME
= $(SHL2TARGET
)
58 SHL3TARGET
= $(TARGET
)_reference
59 SHL3OBJS
= $(SLO
)$/test_reference.obj
60 SHL3STDLIBS
= $(CPPULIB
) $(CPPUNITLIB
) $(SALLIB
)
61 SHL3VERSIONMAP
= version.map
62 SHL3IMPLIB
= i
$(SHL3TARGET
)
63 DEF3NAME
= $(SHL3TARGET
)
65 SHL4TARGET
= $(TARGET
)_recursion
66 SHL4OBJS
= $(SLO
)$/test_recursion.obj
67 SHL4STDLIBS
= $(CPPULIB
) $(CPPUNITLIB
) $(SALLIB
)
68 SHL4VERSIONMAP
= version.map
69 SHL4IMPLIB
= i
$(SHL4TARGET
)
70 DEF4NAME
= $(SHL4TARGET
)
72 SLOFILES
= $(SHL1OBJS
) $(SHL2OBJS
) $(SHL3OBJS
) $(SHL4OBJS
)
78 $(SHL1OBJS
): $(MISC
)$/$(TARGET
).cppumaker.flag
80 $(MISC
)$/$(TARGET
).cppumaker.flag
: $(MISC
)$/$(TARGET
).rdb
81 - $(MKDIRHIER
) $(MISC
)$/$(TARGET
)$/inc
82 $(CPPUMAKER
) -O
$(MISC
)$/$(TARGET
)$/inc
-BUCR
-C
$< \
83 $(SOLARBINDIR
)$/udkapi.rdb
86 $(MISC
)$/$(TARGET
).rdb
: $(MISC
)$/$(TARGET
)$/types.urd
88 $(REGMERGE
) $@
/UCR
$<
90 $(MISC
)$/$(TARGET
)$/types.urd
: types.idl
91 - $(MKDIR
) $(MISC
)$/$(TARGET
)
92 $(IDLC
) -O
$(MISC
)$/$(TARGET
) -I
$(SOLARIDLDIR
) -cid
-we
$<
94 test .PHONY
: $(SHL1TARGETN
) $(SHL2TARGETN
) $(SHL3TARGETN
) $(SHL4TARGETN
)
95 testshl2
$(SHL1TARGETN
)
96 testshl2
$(SHL2TARGETN
)
97 testshl2
$(SHL3TARGETN
)
98 testshl2
$(SHL4TARGETN
)