summaryrefslogtreecommitdiff
path: root/icc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-04 09:09:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-04 09:42:21 +0000
commit3f8126822c5cb4348f769d9a0776d457f5587b58 (patch)
tree9f39c435c0cffe1ec51914b566497beedbbde1da /icc/source
parenta6a391da8d6e3aa2b9f30c9f8b664014dc2ae02c (diff)
convert zip of makefiles.mk to a patch and skip building some we don't need
Diffstat (limited to 'icc/source')
-rw-r--r--icc/source/create_sRGB_profile/makefile.mk78
1 files changed, 78 insertions, 0 deletions
diff --git a/icc/source/create_sRGB_profile/makefile.mk b/icc/source/create_sRGB_profile/makefile.mk
new file mode 100644
index 000000000000..8b687bb00fbc
--- /dev/null
+++ b/icc/source/create_sRGB_profile/makefile.mk
@@ -0,0 +1,78 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2008 by Sun Microsystems, Inc.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.21 $
+#
+# This file is part of OpenOffice.org.
+#
+# 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.
+#
+# 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).
+#
+# 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.
+#
+#*************************************************************************
+
+PRJ=..$/..$/..$/..$/..$/..$/..
+
+PRJNAME=icc
+TARGET=create_sRGB_profile
+LIBTARGET=NO
+TARGETTYPE=CUI
+
+ENABLE_EXCEPTIONS=TRUE
+
+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+CFLAGS+=-I..$/..$/..$/IccProfLib -I..$/..$/ICC_utils
+
+# This tool uses unaligned memory accesses which will lead
+# to SIGBUS on platforms who care, like Solaris LP64
+.IF "$(OS)$(CPU)"=="SOLARISU"
+LINKFLAGS+=-xmemalign=8i
+.ENDIF
+
+# --- Files --------------------------------------------------------
+
+OBJFILES= $(OBJ)$/create_sRGB_profile.obj
+
+# --- Targets ------------------------------------------------------
+
+# svdem
+APP1LIBSALCPPRT:=
+UWINAPILIB:=
+APP1NOSAL= TRUE
+APP1TARGET= $(TARGET)
+APP1LIBS=\
+ $(SLB)$/proflib.lib \
+ $(SLB)$/icutil.lib
+APP1OBJS= $(OBJFILES)
+APP1STDLIBS=
+
+.INCLUDE : target.mk
+
+ALLTAR: $(TARGET)$(EXECPOST)
+
+$(TARGET)$(EXECPOST): $(BIN)$/$(TARGET)$(EXECPOST) makefile.mk
+ rm -f $@
+ $(GNUCOPY) $(BIN)$/$(TARGET)$(EXECPOST) $@