1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..$/
29
30PRJNAME=salhelper
31TARGET=dynloader
32TARGET1=samplelib
33TARGETTYPE=CUI
34LIBTARGET=NO
35
36NO_BSYMBOLIC=	TRUE
37ENABLE_EXCEPTIONS=TRUE
38BOOTSTRAP_SERVICE=FALSE
39
40# --- Settings ---
41
42.INCLUDE : settings.mk
43
44# --- Files ---
45
46
47#RTTI on
48.IF "$(OS)" == "WNT"
49CFLAGS+= -GR
50.ENDIF
51
52
53# UNOTYPES= com.sun.star.lang.XInitialization \
54#---------------------------------------------------------------------------
55# Build the test library which is loaded by the
56# RealDynamicLoader
57
58SLOFILES= \
59		$(SLO)$/samplelib.obj
60
61LIB1TARGET=$(SLB)$/$(TARGET1).lib
62LIB1OBJFILES= \
63		$(SLO)$/samplelib.obj
64
65
66SHL1TARGET=	$(TARGET1)
67
68SHL1STDLIBS= \
69		$(CPPULIB)		\
70		$(CPPUHELPERLIB)	\
71		$(SALLIB)
72
73SHL1DEPN=
74SHL1IMPLIB=	i$(TARGET1)
75SHL1LIBS=	$(SLB)$/$(TARGET1).lib
76SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
77
78DEF1NAME=	$(SHL1TARGET)
79DEFLIB1NAME =$(TARGET1)
80DEF1DEPN=	$(MISC)$/$(SHL1TARGET).flt
81
82#DEF1EXPORTFILE=	exports.dxp
83
84# ------------------------------------------------------------------------------
85
86APP1NOSAL=TRUE
87
88APP1TARGET=	$(TARGET)
89
90APP1OBJS=	$(OBJ)$/loader.obj
91
92APP1STDLIBS= \
93	$(SALLIB) \
94	$(CPPUHELPERLIB) \
95	$(CPPULIB)
96
97#APP1LIBS=	$(LB)$/isalhelper.lib
98
99.IF "$(OS)" == "WNT"
100APP1STDLIBS+=   $(LB)$/isalhelper.lib
101.ELSE
102APP1STDLIBS+=   -lsalhelper$(UDK_MAJOR)$(COM)
103.ENDIF
104
105APP1DEF=	$(MISC)\$(APP1TARGET).def
106
107# --- Targets ---
108
109.INCLUDE : target.mk
110
111
112$(MISC)$/$(SHL1TARGET).flt: makefile.mk
113	@echo ------------------------------
114	@echo Making: $@
115	@echo __CT>>$@
116
117
118