1*cdf0e10cSrcweirPRJ=.. 2*cdf0e10cSrcweir 3*cdf0e10cSrcweirPRJNAME=test 4*cdf0e10cSrcweirTARGET=tst 5*cdf0e10cSrcweir 6*cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 7*cdf0e10cSrcweir 8*cdf0e10cSrcweir!INCLUDE <svpre.mak> 9*cdf0e10cSrcweir!INCLUDE <settings.mak> 10*cdf0e10cSrcweir!INCLUDE <sv.mak> 11*cdf0e10cSrcweir 12*cdf0e10cSrcweir# --- Files -------------------------------------------------------- 13*cdf0e10cSrcweir 14*cdf0e10cSrcweirCXXFILES= \ 15*cdf0e10cSrcweir test.cxx 16*cdf0e10cSrcweirSLOFILES= \ 17*cdf0e10cSrcweir $(SLO)\test.obj 18*cdf0e10cSrcweir#SRC1FILES= 19*cdf0e10cSrcweir#SRS1NAME= 20*cdf0e10cSrcweir#SRSFILES= $(SRS)\ 21*cdf0e10cSrcweir#SRC2FILES= 22*cdf0e10cSrcweir#SRS2NAME= 23*cdf0e10cSrcweir 24*cdf0e10cSrcweir#RESLIB1NAME=tst 25*cdf0e10cSrcweir#RESLIB1SRSFILES=\ 26*cdf0e10cSrcweir# $(SRS)\ 27*cdf0e10cSrcweir# $(SOLARRESDIR)\ 28*cdf0e10cSrcweir 29*cdf0e10cSrcweirSHL1TARGET= $(TARGET)$(DLLPOSTFIX) 30*cdf0e10cSrcweir#SHL1LIBS=$(SLB)\$(TARGET).lib 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir!IF "$(COM)"!="WTC" 33*cdf0e10cSrcweirSHL1STDLIBS=tools.lib $(SVLIB) usr.lib 34*cdf0e10cSrcweir!ELSE 35*cdf0e10cSrcweirSHL1STDLIBS=tools.lib libr sv.lib libr isv.lib libr usr.lib 36*cdf0e10cSrcweir!ENDIF 37*cdf0e10cSrcweir 38*cdf0e10cSrcweirSHL1DEPN= $(L)tools.lib $(SVLIBDEPEND) 39*cdf0e10cSrcweirSHL1DEF= $(MISC)\$(SHL1TARGET).def 40*cdf0e10cSrcweirSHL1IMPLIB=$(TARGET) 41*cdf0e10cSrcweir#SHL1RES= $(RES)\$(TARGET).res 42*cdf0e10cSrcweirSHL1OBJS= $(SLO)\test.obj 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 45*cdf0e10cSrcweir!INCLUDE <target.mak> 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir!IF "$(GUI)" == "WNT" 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir$(MISC)\$(SHL1TARGET).def: makefile 50*cdf0e10cSrcweir @echo ------------------------------ 51*cdf0e10cSrcweir @echo Making: $@ 52*cdf0e10cSrcweir @echo LIBRARY $(SHL1TARGET) >$@ 53*cdf0e10cSrcweir @echo DESCRIPTION 'StarOne Test-DLL' >>$@ 54*cdf0e10cSrcweir @echo DATA READ WRITE NONSHARED >>$@ 55*cdf0e10cSrcweir @echo EXPORTS >>$@ 56*cdf0e10cSrcweir @echo CreateWindow @2 >>$@ 57*cdf0e10cSrcweir!ENDIF 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir!IF "$(GUI)" == "WIN" 60*cdf0e10cSrcweir 61*cdf0e10cSrcweir$(MISC)\$(SHL1TARGET).def: makefile 62*cdf0e10cSrcweir @echo ------------------------------ 63*cdf0e10cSrcweir @echo Making: $@ 64*cdf0e10cSrcweir @echo LIBRARY $(SHL1TARGET) >$@ 65*cdf0e10cSrcweir @echo DESCRIPTION 'StarOne Test-DLL' >>$@ 66*cdf0e10cSrcweir @echo EXETYPE WINDOWS >>$@ 67*cdf0e10cSrcweir @echo PROTMODE >>$@ 68*cdf0e10cSrcweir @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@ 69*cdf0e10cSrcweir @echo DATA PRELOAD MOVEABLE SINGLE >>$@ 70*cdf0e10cSrcweir @echo HEAPSIZE 0 >>$@ 71*cdf0e10cSrcweir @echo EXPORTS >>$@ 72*cdf0e10cSrcweir @echo _CreateWindow @2 >>$@ 73*cdf0e10cSrcweir!ENDIF 74*cdf0e10cSrcweir 75*cdf0e10cSrcweir!IF "$(GUI)" == "OS2" 76*cdf0e10cSrcweir 77*cdf0e10cSrcweir$(MISC)\$(SHL1TARGET).def: makefile 78*cdf0e10cSrcweir @echo ================================================================ 79*cdf0e10cSrcweir @echo building $@ 80*cdf0e10cSrcweir @echo ---------------------------------------------------------------- 81*cdf0e10cSrcweir!IF "$(COM)"!="WTC" 82*cdf0e10cSrcweir echo LIBRARY INITINSTANCE TERMINSTANCE >$@ 83*cdf0e10cSrcweir echo DESCRIPTION 'StarOne Test-DLL' >>$@ 84*cdf0e10cSrcweir echo PROTMODE >>$@ 85*cdf0e10cSrcweir @echo CODE LOADONCALL >>$@ 86*cdf0e10cSrcweir @echo DATA PRELOAD MULTIPLE NONSHARED >>$@ 87*cdf0e10cSrcweir @echo EXPORTS >>$@ 88*cdf0e10cSrcweir!IF "$(COM)"!="ICC" 89*cdf0e10cSrcweir @echo _CreateWindow @2 >>$@ 90*cdf0e10cSrcweir!ELSE 91*cdf0e10cSrcweir @echo CreateWindow @2 >>$@ 92*cdf0e10cSrcweir!ENDIF 93*cdf0e10cSrcweir 94*cdf0e10cSrcweir!ELSE 95*cdf0e10cSrcweir @echo option DESCRIPTION 'StarOne Test-DLL' >$@ 96*cdf0e10cSrcweir @echo name $(BIN)\$(SHL1TARGET).dll >>$@ 97*cdf0e10cSrcweir @echo CreateWindow_ @2 >>$@ 98*cdf0e10cSrcweir @gawk -f s:\util\exp.awk temp.def >>$@ 99*cdf0e10cSrcweir del temp.def 100*cdf0e10cSrcweir!ENDIF 101*cdf0e10cSrcweir!ENDIF 102