make RdbTarget depend on its makefile
[LibreOffice.git] / icc / makefile.mk
blob779def4dcf6629c88ae86b7c4fe6e13a1f55743a
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=.
30 PRJNAME=icc
31 TARGET=icc
33 # --- Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
37 # --- Files --------------------------------------------------------
39 TARFILE_NAME=SampleICC-1.3.2
40 TARFILE_MD5=fdb27bfe2dbe2e7b57ae194d9bf36bab
41 PATCH_FILES= \
42 $(TARFILE_NAME).patch \
43 $(TARFILE_NAME)-fmtargs.patch
45 CONVERTFILES= \
46 IccProfLib$/IccTagProfSeqId.h \
47 IccProfLib$/IccTagProfSeqId.cpp \
48 Contrib$/ICC_utils$/Stubs.h \
49 Contrib$/ICC_utils$/Vetters.cpp
51 .IF "$(CROSS_COMPILING)"!="YES"
52 CONFIGURE_ACTION= $(GNUCOPY) -r $(BACK_PATH)..$/source$/create_sRGB_profile Contrib$/CmdLine && unzip -o $(BACK_PATH)..$/makefiles.zip
53 BUILD_ACTION=dmake && cd Contrib$/CmdLine$/create_sRGB_profile && $(AUGMENT_LIBRARY_PATH) .$/create_sRGB_profile
54 .ELSE
55 CONFIGURE_ACTION=
56 BUILD_ACTION = (cd $(BACK_PATH)../$(INPATH_FOR_BUILD)/misc/build/SampleICC* && tar cf - Contrib/CmdLine/create_sRGB_profile/sRGB*.hxx) | tar xvf -
57 .ENDIF
60 # --- Targets ------------------------------------------------------
62 .INCLUDE : set_ext.mk
63 .INCLUDE : target.mk
64 .INCLUDE : tg_ext.mk