diff options
Diffstat (limited to 'dbaccess/Executable_odbcconfig.mk')
-rw-r--r-- | dbaccess/Executable_odbcconfig.mk | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/dbaccess/Executable_odbcconfig.mk b/dbaccess/Executable_odbcconfig.mk index c84c2c4c0..9afc9ac40 100644 --- a/dbaccess/Executable_odbcconfig.mk +++ b/dbaccess/Executable_odbcconfig.mk @@ -1,55 +1,54 @@ -#************************************************************************* +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ # -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2011 Oracle and/or its affiliates. +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ # -# OpenOffice.org - a multi-platform office productivity suite +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. # -# This file is part of OpenOffice.org. +# The Initial Developer of the Original Code is +# David Tardon, Red Hat Inc. <dtardon@redhat.com> +# Portions created by the Initial Developer are Copyright (C) 2010 the +# Initial Developer. All Rights Reserved. # -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. +# Major Contributor(s): # -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). +# For minor contributions see the git repository. # -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. $(eval $(call gb_Executable_Executable,odbcconfig)) -$(eval $(call gb_Executable_set_targettype_gui,odbcconfig,YES)) +$(eval $(call gb_Executable_add_precompiled_header,odbcconfig,$(SRCDIR)/dbaccess/inc/pch/precompiled_dbaccess)) $(eval $(call gb_Executable_set_include,odbcconfig,\ - $$(INCLUDE) \ - -I$(WORKDIR)/inc/ \ - -I$(OUTDIR)/inc/ \ - -I$(SRCDIR)/dbaccess/inc \ - -I$(SRCDIR)/dbaccess/inc/dbaccess \ - -I$(SRCDIR)/dbaccess/inc/pch \ - -I$(OUTDIR)/inc/offuh \ + $$(INCLUDE) \ + -I$(realpath $(SRCDIR)/dbaccess/inc) \ + -I$(realpath $(SRCDIR)/dbaccess/inc/pch) \ + -I$(OUTDIR)/inc \ + -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Executable_add_linked_libs,odbcconfig,\ + $(gb_STDLIBS) \ )) +ifeq ($(OS),WNT) $(eval $(call gb_Executable_add_linked_libs,odbcconfig,\ - sal \ - stl \ - tl \ - vcl \ - vos3 \ - $(gb_Library_PLAINLIBS_NONE) \ + user32 \ )) +endif $(eval $(call gb_Executable_add_exception_objects,odbcconfig,\ - dbaccess/win32/source/odbcconfig/odbcconfig \ + dbaccess/win32/source/odbcconfig/odbcconfig \ )) -# vim: set noet sw=4 ts=4: +# vim: set noet ts=4 sw=4: |