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