1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23PRJ=..$/.. 24 25TARGETTYPE=CUI 26NO_DEFAULT_STL=TRUE 27 28PRJNAME=rsc 29TARGET=rscpp 30 31.IF "$(cpp)" != "" 32PRJNAME=CPP 33TARGET=cpp 34.ENDIF 35 36# --- Settings ----------------------------------------------------- 37 38.INCLUDE : settings.mk 39 40CDEFS+=-DSOLAR 41 42.IF "$(cpp)" != "" 43CDEFS+=-DNOMAIN 44.ENDIF 45 46# --- Files -------------------------------------------------------- 47 48OBJFILES= \ 49 $(OBJ)$/cpp1.obj \ 50 $(OBJ)$/cpp2.obj \ 51 $(OBJ)$/cpp3.obj \ 52 $(OBJ)$/cpp4.obj \ 53 $(OBJ)$/cpp5.obj \ 54 $(OBJ)$/cpp6.obj \ 55 56.IF "$(cpp)" == "" 57LIBSALCPPRT=$(0) 58APP1TARGET= $(TARGET) 59APP1LIBS=$(LB)$/$(TARGET).lib 60.IF "$(GUI)" != "OS2" 61APP1STACK=32768 62.ENDIF 63.ENDIF 64 65.IF "$(GUI)"=="UNX" 66CDEFS+=-Dunix 67.ENDIF 68 69.IF "$(OS)$(CPU)"=="SOLARISI" 70# cc: Sun C 5.5 Patch 112761-10 2004/08/10 71# Solaris x86 compiler ICE 72# "cpp6.c", [get]:ube: internal error 73# remove after compiler upgrade 74NOOPTFILES=$(OBJ)$/cpp6.obj 75.ENDIF 76 77# --- Targets ------------------------------------------------------ 78 79.INCLUDE : target.mk 80 81cpp1.c: cppdef.h cpp.h 82cpp2.c: cppdef.h cpp.h 83cpp3.c: cppdef.h cpp.h 84cpp4.c: cppdef.h cpp.h 85cpp5.c: cppdef.h cpp.h 86cpp6.c: cppdef.h cpp.h 87 88 89