merge the formfield patch from ooo-build
[ooovba.git] / sd / workben / testdll / makefile
blob51f7a1a29c8c02f84367f4885870f18cf38d860b
1 PRJ=..
3 PRJNAME=test
4 TARGET=tst
6 # --- Settings -----------------------------------------------------
8 !INCLUDE <svpre.mak>
9 !INCLUDE <settings.mak>
10 !INCLUDE <sv.mak>
12 # --- Files --------------------------------------------------------
14 CXXFILES= \
15 test.cxx
16 SLOFILES= \
17 $(SLO)\test.obj
18 #SRC1FILES=
19 #SRS1NAME=
20 #SRSFILES= $(SRS)\
21 #SRC2FILES=
22 #SRS2NAME=
24 #RESLIB1NAME=tst
25 #RESLIB1SRSFILES=\
26 # $(SRS)\
27 # $(SOLARRESDIR)\
29 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
30 #SHL1LIBS=$(SLB)\$(TARGET).lib
32 !IF "$(COM)"!="WTC"
33 SHL1STDLIBS=tools.lib $(SVLIB) usr.lib
34 !ELSE
35 SHL1STDLIBS=tools.lib libr sv.lib libr isv.lib libr usr.lib
36 !ENDIF
38 SHL1DEPN= $(L)tools.lib $(SVLIBDEPEND)
39 SHL1DEF= $(MISC)\$(SHL1TARGET).def
40 SHL1IMPLIB=$(TARGET)
41 #SHL1RES= $(RES)\$(TARGET).res
42 SHL1OBJS= $(SLO)\test.obj
44 # --- Targets ------------------------------------------------------
45 !INCLUDE <target.mak>
47 !IF "$(GUI)" == "WNT"
49 $(MISC)\$(SHL1TARGET).def: makefile
50 @echo ------------------------------
51 @echo Making: $@
52 @echo LIBRARY $(SHL1TARGET) >$@
53 @echo DESCRIPTION 'StarOne Test-DLL' >>$@
54 @echo DATA READ WRITE NONSHARED >>$@
55 @echo EXPORTS >>$@
56 @echo CreateWindow @2 >>$@
57 !ENDIF
59 !IF "$(GUI)" == "WIN"
61 $(MISC)\$(SHL1TARGET).def: makefile
62 @echo ------------------------------
63 @echo Making: $@
64 @echo LIBRARY $(SHL1TARGET) >$@
65 @echo DESCRIPTION 'StarOne Test-DLL' >>$@
66 @echo EXETYPE WINDOWS >>$@
67 @echo PROTMODE >>$@
68 @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
69 @echo DATA PRELOAD MOVEABLE SINGLE >>$@
70 @echo HEAPSIZE 0 >>$@
71 @echo EXPORTS >>$@
72 @echo _CreateWindow @2 >>$@
73 !ENDIF
75 !IF "$(GUI)" == "OS2"
77 $(MISC)\$(SHL1TARGET).def: makefile
78 @echo ================================================================
79 @echo building $@
80 @echo ----------------------------------------------------------------
81 !IF "$(COM)"!="WTC"
82 echo LIBRARY INITINSTANCE TERMINSTANCE >$@
83 echo DESCRIPTION 'StarOne Test-DLL' >>$@
84 echo PROTMODE >>$@
85 @echo CODE LOADONCALL >>$@
86 @echo DATA PRELOAD MULTIPLE NONSHARED >>$@
87 @echo EXPORTS >>$@
88 !IF "$(COM)"!="ICC"
89 @echo _CreateWindow @2 >>$@
90 !ELSE
91 @echo CreateWindow @2 >>$@
92 !ENDIF
94 !ELSE
95 @echo option DESCRIPTION 'StarOne Test-DLL' >$@
96 @echo name $(BIN)\$(SHL1TARGET).dll >>$@
97 @echo CreateWindow_ @2 >>$@
98 @gawk -f s:\util\exp.awk temp.def >>$@
99 del temp.def
100 !ENDIF
101 !ENDIF