1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 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. 14# 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). 20# 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. 25# 26#************************************************************************* 27PRJ=..$/.. 28 29TARGETTYPE=CUI 30NO_DEFAULT_STL=TRUE 31 32PRJNAME=rsc 33TARGET=rscpp 34 35.IF "$(cpp)" != "" 36PRJNAME=CPP 37TARGET=cpp 38.ENDIF 39 40# --- Settings ----------------------------------------------------- 41 42.INCLUDE : settings.mk 43 44CDEFS+=-DSOLAR 45 46.IF "$(cpp)" != "" 47CDEFS+=-DNOMAIN 48.ENDIF 49 50# --- Files -------------------------------------------------------- 51 52OBJFILES= \ 53 $(OBJ)$/cpp1.obj \ 54 $(OBJ)$/cpp2.obj \ 55 $(OBJ)$/cpp3.obj \ 56 $(OBJ)$/cpp4.obj \ 57 $(OBJ)$/cpp5.obj \ 58 $(OBJ)$/cpp6.obj \ 59 60.IF "$(cpp)" == "" 61LIBSALCPPRT=$(0) 62APP1TARGET= $(TARGET) 63APP1LIBS=$(LB)$/$(TARGET).lib 64.IF "$(GUI)" != "OS2" 65APP1STACK=32768 66.ENDIF 67.ENDIF 68 69.IF "$(GUI)"=="UNX" 70CDEFS+=-Dunix 71.ENDIF 72 73.IF "$(OS)$(CPU)"=="SOLARISI" 74# cc: Sun C 5.5 Patch 112761-10 2004/08/10 75# Solaris x86 compiler ICE 76# "cpp6.c", [get]:ube: internal error 77# remove after compiler upgrade 78NOOPTFILES=$(OBJ)$/cpp6.obj 79.ENDIF 80 81# --- Targets ------------------------------------------------------ 82 83.INCLUDE : target.mk 84 85cpp1.c: cppdef.h cpp.h 86cpp2.c: cppdef.h cpp.h 87cpp3.c: cppdef.h cpp.h 88cpp4.c: cppdef.h cpp.h 89cpp5.c: cppdef.h cpp.h 90cpp6.c: cppdef.h cpp.h 91 92 93