xref: /AOO41X/main/dbaccess/source/ui/dlg/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=..$/..$/..
29PRJINC=$(PRJ)$/source
30PRJNAME=dbaccess
31TARGET=uidlg
32
33# --- Settings ----------------------------------
34
35.INCLUDE : settings.mk
36.INCLUDE : $(PRJ)$/util$/makefile.pmk
37
38.IF "$(SYSTEM_ODBC_HEADERS)" == "YES"
39CFLAGS+=-DSYSTEM_ODBC_HEADERS
40.ENDIF
41
42.IF "$(WINDOWS_VISTA_PSDK)"!="" && "$(PROF_EDITION)"==""
43CDEFS+=-DWINDOWS_VISTA_PSDK
44.ENDIF
45
46.IF "$(GUI)$(COM)"=="WNTGCC" # for adoint.h
47CFLAGS+=-fpermissive
48.ENDIF
49
50# --- Files -------------------------------------
51
52# ... resource files ............................
53
54
55LOCALIZE_ME=AutoControls_tmpl.hrc
56
57SRS1NAME=$(TARGET)
58SRC1FILES =	\
59		AutoControls.src	\
60		ConnectionPage.src	\
61		UserAdmin.src		\
62		admincontrols.src   \
63		directsql.src		\
64		AdabasStat.src		\
65		indexdialog.src		\
66		RelationDlg.src		\
67		adtabdlg.src		\
68		dlgsave.src			\
69		queryorder.src		\
70		queryfilter.src		\
71		paramdialog.src		\
72		dsselect.src		\
73		dbadmin.src			\
74		dbadmin2.src    	\
75		dbadminsetup.src	\
76		dbfindex.src		\
77		dlgsize.src			\
78		CollectionView.src	\
79		dlgattr.src			\
80		advancedsettings.src\
81		UserAdminDlg.src	\
82		sqlmessage.src      \
83		textconnectionsettings.src
84
85
86# ... object files ............................
87EXCEPTIONSFILES=						\
88		$(SLO)$/directsql.obj			\
89		$(SLO)$/dbwiz.obj				\
90		$(SLO)$/dbwizsetup.obj				\
91		$(SLO)$/generalpage.obj			\
92		$(SLO)$/indexfieldscontrol.obj	\
93		$(SLO)$/indexdialog.obj			\
94		$(SLO)$/RelationDlg.obj			\
95		$(SLO)$/adtabdlg.obj			\
96		$(SLO)$/dlgsave.obj				\
97		$(SLO)$/admincontrols.obj       \
98		$(SLO)$/adminpages.obj			\
99		$(SLO)$/queryorder.obj			\
100		$(SLO)$/queryfilter.obj			\
101		$(SLO)$/paramdialog.obj			\
102		$(SLO)$/dbadmin.obj				\
103		$(SLO)$/detailpages.obj			\
104		$(SLO)$/sqlmessage.obj			\
105		$(SLO)$/finteraction.obj		\
106		$(SLO)$/ConnectionPage.obj		\
107		$(SLO)$/ConnectionHelper.obj	\
108		$(SLO)$/TextConnectionHelper.obj	\
109		$(SLO)$/ConnectionPageSetup.obj	\
110		$(SLO)$/DBSetupConnectionPages.obj 	\
111		$(SLO)$/UserAdminDlg.obj		\
112		$(SLO)$/UserAdmin.obj			\
113		$(SLO)$/AdabasStat.obj			\
114		$(SLO)$/tablespage.obj			\
115		$(SLO)$/DbAdminImpl.obj			\
116		$(SLO)$/TablesSingleDlg.obj		\
117		$(SLO)$/CollectionView.obj		\
118		$(SLO)$/dsselect.obj			\
119		$(SLO)$/dbfindex.obj            \
120		$(SLO)$/DriverSettings.obj      \
121		$(SLO)$/odbcconfig.obj          \
122		$(SLO)$/advancedsettings.obj    \
123		$(SLO)$/textconnectionsettings.obj
124
125SLOFILES=								\
126		$(EXCEPTIONSFILES)				\
127		$(SLO)$/dlgsize.obj				\
128		$(SLO)$/dlgattr.obj             \
129		$(SLO)$/optionalboolitem.obj
130
131.IF "$(WINDOWS_VISTA_PSDK)"!="" && "$(PROF_EDITION)"==""
132DISABLE_ADO=TRUE
133.ENDIF # "$(WINDOWS_VISTA_PSDK)"!="" && "$(PROF_EDITION)"==""
134
135.IF "$(GUI)"=="WNT" && "$(DISABLE_ADO)"==""
136SLOFILES+=		$(SLO)$/adodatalinks.obj
137.ENDIF
138
139# --- Targets ----------------------------------
140.INCLUDE : target.mk
141
142$(SLO)$/ConnectionHelper.obj : $(LOCALIZE_ME_DEST)
143
144$(SLO)$/ConnectionPageSetup.obj : $(LOCALIZE_ME_DEST)
145
146$(SLO)$/DBSetupConnectionPages.obj : $(LOCALIZE_ME_DEST)
147
148$(SLO)$/TextConnectionHelper.obj : $(LOCALIZE_ME_DEST)
149
150$(SLO)$/detailpages.obj : $(LOCALIZE_ME_DEST)
151
152$(SLO)$/tablespage.obj : $(LOCALIZE_ME_DEST)
153
154$(SLO)$/ConnectionPage.obj : $(LOCALIZE_ME_DEST)
155