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=dbaccess
27TARGET=adabasui
28ENABLE_EXCEPTIONS=TRUE
29VISIBILITY_HIDDEN=TRUE
30
31# --- Settings ----------------------------------
32.INCLUDE :	settings.mk
33
34# --- resource -----------------------------------------------------
35SRS1NAME=$(TARGET)
36SRC1FILES =	\
37		AdabasNewDb.src
38
39# --- defines ------------------------------------------------------
40CDEFS+=-DCOMPMOD_NAMESPACE=adabasui
41
42# --- Files -------------------------------------
43SLOFILES=\
44		$(SLO)$/ASqlNameEdit.obj		\
45		$(SLO)$/AdabasNewDb.obj			\
46		$(SLO)$/ANewDb.obj				\
47		$(SLO)$/adabasuistrings.obj		\
48		$(SLO)$/Aservices.obj			\
49		$(SLO)$/Acomponentmodule.obj
50
51# --- Library -----------------------------------
52SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
53
54SHL1STDLIBS=\
55	$(CPPULIB)					\
56	$(CPPUHELPERLIB)			\
57	$(SALLIB)					\
58	$(DBTOOLSLIB)				\
59	$(UNOTOOLSLIB)				\
60	$(SVTOOLLIB)				\
61	$(TOOLSLIB)					\
62	$(SVLLIB)					\
63	$(VCLLIB)					\
64	$(UCBHELPERLIB) 			\
65	$(SFXLIB)					\
66	$(TKLIB)					\
67	$(COMPHELPERLIB)
68
69SHL1IMPLIB=i$(SHL1TARGET)
70
71SHL1DEF=$(MISC)$/$(SHL1TARGET).def
72SHL1LIBS=$(SLB)$/$(TARGET).lib
73DEF1NAME=$(SHL1TARGET)
74DEF1EXPORTFILE=$(TARGET).dxp
75SHL1VERSIONMAP=$(SOLARENV)/src/component.map
76
77# --- .res file ----------------------------------------------------------
78RES1FILELIST=\
79	$(SRS)$/$(SRS1NAME).srs
80
81RESLIB1NAME=$(TARGET)
82RESLIB1IMAGES=$(PRJ)$/res
83RESLIB1SRSFILES=$(RES1FILELIST)
84
85
86# --- Targets ----------------------------------
87
88.INCLUDE : target.mk
89
90ALLTAR : $(MISC)/adabasui.component
91
92$(MISC)/adabasui.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
93        adabasui.component
94    $(XSLTPROC) --nonet --stringparam uri \
95        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
96        $(SOLARENV)/bin/createcomponent.xslt adabasui.component
97