1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/
25
26PRJNAME=salhelper
27TARGET=dynloader
28TARGET1=samplelib
29TARGETTYPE=CUI
30LIBTARGET=NO
31
32NO_BSYMBOLIC=	TRUE
33ENABLE_EXCEPTIONS=TRUE
34BOOTSTRAP_SERVICE=FALSE
35
36# --- Settings ---
37
38.INCLUDE : settings.mk
39
40# --- Files ---
41
42
43#RTTI on
44.IF "$(OS)" == "WNT"
45CFLAGS+= -GR
46.ENDIF
47
48
49# UNOTYPES= com.sun.star.lang.XInitialization \
50#---------------------------------------------------------------------------
51# Build the test library which is loaded by the
52# RealDynamicLoader
53
54SLOFILES= \
55		$(SLO)$/samplelib.obj
56
57LIB1TARGET=$(SLB)$/$(TARGET1).lib
58LIB1OBJFILES= \
59		$(SLO)$/samplelib.obj
60
61
62SHL1TARGET=	$(TARGET1)
63
64SHL1STDLIBS= \
65		$(CPPULIB)		\
66		$(CPPUHELPERLIB)	\
67		$(SALLIB)
68
69SHL1DEPN=
70SHL1IMPLIB=	i$(TARGET1)
71SHL1LIBS=	$(SLB)$/$(TARGET1).lib
72SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
73
74DEF1NAME=	$(SHL1TARGET)
75DEFLIB1NAME =$(TARGET1)
76DEF1DEPN=	$(MISC)$/$(SHL1TARGET).flt
77
78#DEF1EXPORTFILE=	exports.dxp
79
80# ------------------------------------------------------------------------------
81
82APP1NOSAL=TRUE
83
84APP1TARGET=	$(TARGET)
85
86APP1OBJS=	$(OBJ)$/loader.obj
87
88APP1STDLIBS= \
89	$(SALLIB) \
90	$(CPPUHELPERLIB) \
91	$(CPPULIB)
92
93#APP1LIBS=	$(LB)$/isalhelper.lib
94
95.IF "$(OS)" == "WNT"
96APP1STDLIBS+=   $(LB)$/isalhelper.lib
97.ELSE
98APP1STDLIBS+=   -lsalhelper$(UDK_MAJOR)$(COM)
99.ENDIF
100
101APP1DEF=	$(MISC)\$(APP1TARGET).def
102
103# --- Targets ---
104
105.INCLUDE : target.mk
106
107
108$(MISC)$/$(SHL1TARGET).flt: makefile.mk
109	@echo ------------------------------
110	@echo Making: $@
111	@echo __CT>>$@
112
113
114