1*b1cdbd2cSJim Jagielski# ------------------------------------------------------------- 2*b1cdbd2cSJim Jagielski# 3*b1cdbd2cSJim Jagielski# Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski# or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski# distributed with this work for additional information 6*b1cdbd2cSJim Jagielski# regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski# to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski# "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski# with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski# 11*b1cdbd2cSJim Jagielski# http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski# 13*b1cdbd2cSJim Jagielski# Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski# software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski# KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski# specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski# under the License. 19*b1cdbd2cSJim Jagielski# 20*b1cdbd2cSJim Jagielski# ------------------------------------------------------------- 21*b1cdbd2cSJim JagielskiPRJ=.. 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim JagielskiPRJNAME=test 24*b1cdbd2cSJim JagielskiTARGET=tst 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski# --- Settings ----------------------------------------------------- 27*b1cdbd2cSJim Jagielski 28*b1cdbd2cSJim Jagielski!INCLUDE <svpre.mak> 29*b1cdbd2cSJim Jagielski!INCLUDE <settings.mak> 30*b1cdbd2cSJim Jagielski!INCLUDE <sv.mak> 31*b1cdbd2cSJim Jagielski 32*b1cdbd2cSJim Jagielski# --- Files -------------------------------------------------------- 33*b1cdbd2cSJim Jagielski 34*b1cdbd2cSJim JagielskiCXXFILES= \ 35*b1cdbd2cSJim Jagielski test.cxx 36*b1cdbd2cSJim JagielskiSLOFILES= \ 37*b1cdbd2cSJim Jagielski $(SLO)\test.obj 38*b1cdbd2cSJim Jagielski#SRC1FILES= 39*b1cdbd2cSJim Jagielski#SRS1NAME= 40*b1cdbd2cSJim Jagielski#SRSFILES= $(SRS)\ 41*b1cdbd2cSJim Jagielski#SRC2FILES= 42*b1cdbd2cSJim Jagielski#SRS2NAME= 43*b1cdbd2cSJim Jagielski 44*b1cdbd2cSJim Jagielski#RESLIB1NAME=tst 45*b1cdbd2cSJim Jagielski#RESLIB1SRSFILES=\ 46*b1cdbd2cSJim Jagielski# $(SRS)\ 47*b1cdbd2cSJim Jagielski# $(SOLARRESDIR)\ 48*b1cdbd2cSJim Jagielski 49*b1cdbd2cSJim JagielskiSHL1TARGET= $(TARGET)$(DLLPOSTFIX) 50*b1cdbd2cSJim Jagielski#SHL1LIBS=$(SLB)\$(TARGET).lib 51*b1cdbd2cSJim Jagielski 52*b1cdbd2cSJim Jagielski!IF "$(COM)"!="WTC" 53*b1cdbd2cSJim JagielskiSHL1STDLIBS=tools.lib $(SVLIB) usr.lib 54*b1cdbd2cSJim Jagielski!ELSE 55*b1cdbd2cSJim JagielskiSHL1STDLIBS=tools.lib libr sv.lib libr isv.lib libr usr.lib 56*b1cdbd2cSJim Jagielski!ENDIF 57*b1cdbd2cSJim Jagielski 58*b1cdbd2cSJim JagielskiSHL1DEPN= $(L)tools.lib $(SVLIBDEPEND) 59*b1cdbd2cSJim JagielskiSHL1DEF= $(MISC)\$(SHL1TARGET).def 60*b1cdbd2cSJim JagielskiSHL1IMPLIB=$(TARGET) 61*b1cdbd2cSJim Jagielski#SHL1RES= $(RES)\$(TARGET).res 62*b1cdbd2cSJim JagielskiSHL1OBJS= $(SLO)\test.obj 63*b1cdbd2cSJim Jagielski 64*b1cdbd2cSJim Jagielski# --- Targets ------------------------------------------------------ 65*b1cdbd2cSJim Jagielski!INCLUDE <target.mak> 66*b1cdbd2cSJim Jagielski 67*b1cdbd2cSJim Jagielski!IF "$(GUI)" == "WNT" 68*b1cdbd2cSJim Jagielski 69*b1cdbd2cSJim Jagielski$(MISC)\$(SHL1TARGET).def: makefile 70*b1cdbd2cSJim Jagielski @echo ------------------------------ 71*b1cdbd2cSJim Jagielski @echo Making: $@ 72*b1cdbd2cSJim Jagielski @echo LIBRARY $(SHL1TARGET) >$@ 73*b1cdbd2cSJim Jagielski @echo DESCRIPTION 'StarOne Test-DLL' >>$@ 74*b1cdbd2cSJim Jagielski @echo DATA READ WRITE NONSHARED >>$@ 75*b1cdbd2cSJim Jagielski @echo EXPORTS >>$@ 76*b1cdbd2cSJim Jagielski @echo CreateWindow @2 >>$@ 77*b1cdbd2cSJim Jagielski!ENDIF 78*b1cdbd2cSJim Jagielski 79*b1cdbd2cSJim Jagielski!IF "$(GUI)" == "WIN" 80*b1cdbd2cSJim Jagielski 81*b1cdbd2cSJim Jagielski$(MISC)\$(SHL1TARGET).def: makefile 82*b1cdbd2cSJim Jagielski @echo ------------------------------ 83*b1cdbd2cSJim Jagielski @echo Making: $@ 84*b1cdbd2cSJim Jagielski @echo LIBRARY $(SHL1TARGET) >$@ 85*b1cdbd2cSJim Jagielski @echo DESCRIPTION 'StarOne Test-DLL' >>$@ 86*b1cdbd2cSJim Jagielski @echo EXETYPE WINDOWS >>$@ 87*b1cdbd2cSJim Jagielski @echo PROTMODE >>$@ 88*b1cdbd2cSJim Jagielski @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@ 89*b1cdbd2cSJim Jagielski @echo DATA PRELOAD MOVEABLE SINGLE >>$@ 90*b1cdbd2cSJim Jagielski @echo HEAPSIZE 0 >>$@ 91*b1cdbd2cSJim Jagielski @echo EXPORTS >>$@ 92*b1cdbd2cSJim Jagielski @echo _CreateWindow @2 >>$@ 93*b1cdbd2cSJim Jagielski!ENDIF 94*b1cdbd2cSJim Jagielski 95*b1cdbd2cSJim Jagielski!IF "$(GUI)" == "OS2" 96*b1cdbd2cSJim Jagielski 97*b1cdbd2cSJim Jagielski$(MISC)\$(SHL1TARGET).def: makefile 98*b1cdbd2cSJim Jagielski @echo ================================================================ 99*b1cdbd2cSJim Jagielski @echo building $@ 100*b1cdbd2cSJim Jagielski @echo ---------------------------------------------------------------- 101*b1cdbd2cSJim Jagielski!IF "$(COM)"!="WTC" 102*b1cdbd2cSJim Jagielski echo LIBRARY INITINSTANCE TERMINSTANCE >$@ 103*b1cdbd2cSJim Jagielski echo DESCRIPTION 'StarOne Test-DLL' >>$@ 104*b1cdbd2cSJim Jagielski echo PROTMODE >>$@ 105*b1cdbd2cSJim Jagielski @echo CODE LOADONCALL >>$@ 106*b1cdbd2cSJim Jagielski @echo DATA PRELOAD MULTIPLE NONSHARED >>$@ 107*b1cdbd2cSJim Jagielski @echo EXPORTS >>$@ 108*b1cdbd2cSJim Jagielski!IF "$(COM)"!="ICC" 109*b1cdbd2cSJim Jagielski @echo _CreateWindow @2 >>$@ 110*b1cdbd2cSJim Jagielski!ELSE 111*b1cdbd2cSJim Jagielski @echo CreateWindow @2 >>$@ 112*b1cdbd2cSJim Jagielski!ENDIF 113*b1cdbd2cSJim Jagielski 114*b1cdbd2cSJim Jagielski!ELSE 115*b1cdbd2cSJim Jagielski @echo option DESCRIPTION 'StarOne Test-DLL' >$@ 116*b1cdbd2cSJim Jagielski @echo name $(BIN)\$(SHL1TARGET).dll >>$@ 117*b1cdbd2cSJim Jagielski @echo CreateWindow_ @2 >>$@ 118*b1cdbd2cSJim Jagielski @gawk -f s:\util\exp.awk temp.def >>$@ 119*b1cdbd2cSJim Jagielski del temp.def 120*b1cdbd2cSJim Jagielski!ENDIF 121*b1cdbd2cSJim Jagielski!ENDIF 122