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