Branch libreoffice-5-0-4
[LibreOffice.git] / sd / workben / testdll / makefile
blob59498665336fb390cdbde78f0ad3c4d58d0b2330
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 PRJ=..
21 PRJNAME=test
22 TARGET=tst
24 # --- Settings -----------------------------------------------------
26 !INCLUDE <svpre.mak>
27 !INCLUDE <settings.mak>
28 !INCLUDE <sv.mak>
30 # --- Files --------------------------------------------------------
32 CXXFILES= \
33 test.cxx
34 SLOFILES= \
35 $(SLO)\test.obj
36 #SRC1FILES=
37 #SRS1NAME=
38 #SRSFILES= $(SRS)\
39 #SRC2FILES=
40 #SRS2NAME=
42 #RESLIB1NAME=tst
43 #RESLIB1SRSFILES=\
44 # $(SRS)\
45 # $(SOLARRESDIR)\
47 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
48 #SHL1LIBS=$(SLB)\$(TARGET).lib
50 !IF "$(COM)"!="WTC"
51 SHL1STDLIBS=tools.lib $(SVLIB) usr.lib
52 !ELSE
53 SHL1STDLIBS=tools.lib libr sv.lib libr isv.lib libr usr.lib
54 !ENDIF
56 SHL1DEPN= $(L)tools.lib $(SVLIBDEPEND)
57 SHL1DEF= $(MISC)\$(SHL1TARGET).def
58 SHL1IMPLIB=$(TARGET)
59 #SHL1RES= $(RES)\$(TARGET).res
60 SHL1OBJS= $(SLO)\test.obj
62 # --- Targets ------------------------------------------------------
63 !INCLUDE <target.mak>
65 !IF "$(OS)" == "WNT"
67 $(MISC)\$(SHL1TARGET).def: makefile
68 @echo ------------------------------
69 @echo Making: $@
70 @echo LIBRARY $(SHL1TARGET) >$@
71 @echo DESCRIPTION 'StarOne Test-DLL' >>$@
72 @echo DATA READ WRITE NONSHARED >>$@
73 @echo EXPORTS >>$@
74 @echo CreateWindow @2 >>$@
75 !ENDIF
77 !IF "$(GUI)" == "WIN"
79 $(MISC)\$(SHL1TARGET).def: makefile
80 @echo ------------------------------
81 @echo Making: $@
82 @echo LIBRARY $(SHL1TARGET) >$@
83 @echo DESCRIPTION 'StarOne Test-DLL' >>$@
84 @echo EXETYPE WINDOWS >>$@
85 @echo PROTMODE >>$@
86 @echo CODE LOADONCALL MOVEABLE DISCARDABLE >>$@
87 @echo DATA PRELOAD MOVEABLE SINGLE >>$@
88 @echo HEAPSIZE 0 >>$@
89 @echo EXPORTS >>$@
90 @echo _CreateWindow @2 >>$@
91 !ENDIF