2006-02-09 07:04:09 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# 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.
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# 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).
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
2008-04-11 01:10:23 -05:00
|
|
|
# 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.
|
2006-02-09 07:04:09 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=np_sdk
|
|
|
|
TARGET=npsdk
|
|
|
|
|
2006-06-19 23:43:35 -05:00
|
|
|
EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
|
|
|
|
|
2006-02-09 07:04:09 -06:00
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
2011-05-15 16:09:23 -05:00
|
|
|
.IF "$(OS)"!="IOS" && "$(OS)"!="ANDROID"
|
2009-09-16 06:45:54 -05:00
|
|
|
.IF "$(L10N_framework)"==""
|
2006-02-09 07:04:09 -06:00
|
|
|
JDKINCS=
|
|
|
|
|
2011-11-06 10:44:11 -06:00
|
|
|
.IF "$(SYSTEM_MOZILLA_HEADERS)" = "YES"
|
|
|
|
CFLAGS+= $(MOZILLA_HEADERS_CFLAGS)
|
|
|
|
CXXFLAGS+= $(MOZILLA_HEADERS_CFLAGS)
|
|
|
|
.ELSE
|
|
|
|
CFLAGS+= -I..$/inc
|
|
|
|
CXXFLAGS+= -I..$/inc
|
|
|
|
.ENDIF
|
|
|
|
|
2006-02-09 07:04:09 -06:00
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
2011-05-21 08:34:45 -05:00
|
|
|
.IF "$(GUI)" == "WNT"
|
2006-02-09 07:04:09 -06:00
|
|
|
MOZFILES = $(SLO)$/npwin.obj
|
|
|
|
.ELSE
|
|
|
|
MOZFILES = $(SLO)$/npunix.obj
|
|
|
|
.ENDIF
|
|
|
|
|
2007-09-05 11:36:58 -05:00
|
|
|
.IF "$(GUIBASE)" == "aqua"
|
|
|
|
CDEFS+=-DNO_X11
|
|
|
|
.ENDIF
|
|
|
|
|
2006-02-09 07:04:09 -06:00
|
|
|
ALL: $(MOZFILES)
|
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
2009-09-16 06:45:54 -05:00
|
|
|
.ENDIF # L10N_framework
|
2011-05-15 16:09:23 -05:00
|
|
|
.ENDIF # iOS or Android
|
2006-02-09 07:04:09 -06:00
|
|
|
|
|
|
|
.INCLUDE : target.mk
|