Bump for 3.6-28
[LibreOffice.git] / store / workben / makefile.mk
blob8893f4c7d646f5c389a11d24fb8d720bfe8da3c4
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
28 PRJ=..
30 PRJNAME=store
31 TARGET=workben
33 LIBTARGET=NO
34 TARGETTYPE=CUI
35 NO_DEFAULT_STL=TRUE
37 # --- Settings ---
39 .INCLUDE : settings.mk
41 .IF "$(STORELIB)" == ""
42 .IF "$(GUI)" == "UNX"
43 STORELIB= -lstore
44 .ELSE # unx
45 .IF "$(GUI)$(COM)"=="WNTGCC"
46 STORELIB= -lstore$(UDK_MAJOR)
47 .ELSE
48 STORELIB= $(LB)$/istore.lib
49 .ENDIF
50 .ENDIF # unx
51 .ENDIF # storelib
53 .IF "$(GUI)" == "UNX"
54 STOREDBGLIB= $(LB)$/libstoredbg.a
55 .ELSE # unx
56 .IF "$(GUI)$(COM)"=="WNTGCC"
57 STOREDBGLIB= $(LB)$/libstoredbg.a
58 .ELSE
59 STOREDBGLIB= $(LB)$/storedbg.lib
60 .ENDIF
61 .ENDIF # unx
63 CFLAGS+= -I..$/source
65 # --- Files ---
67 OBJFILES= \
68 $(OBJ)$/t_leak.obj \
69 $(OBJ)$/t_file.obj \
70 $(OBJ)$/t_page.obj \
71 $(OBJ)$/t_base.obj \
72 $(OBJ)$/t_store.obj
74 APP1TARGET= t_file
75 APP1OBJS= $(OBJ)$/t_file.obj
76 APP1STDLIBS= $(STOREDBGLIB)
77 APP1STDLIBS+= $(SALLIB)
78 APP1DEPN= $(STOREDBGLIB)
79 APP1RPATH= UREBIN
81 APP2TARGET= t_page
82 APP2OBJS= $(OBJ)$/t_page.obj
83 APP2STDLIBS= $(STOREDBGLIB)
84 APP2STDLIBS+= $(SALLIB)
85 APP2DEPN= $(STOREDBGLIB)
87 APP3TARGET= t_base
88 APP3OBJS= $(OBJ)$/t_base.obj
89 APP3STDLIBS= $(STOREDBGLIB)
90 APP3STDLIBS+= $(SALLIB)
91 APP3DEPN= $(STOREDBGLIB)
92 APP3RPATH= UREBIN
94 APP4TARGET= t_store
95 APP4OBJS= $(OBJ)$/t_store.obj
96 APP4STDLIBS= $(STORELIB)
97 APP4STDLIBS+= $(SALLIB)
98 APP4DEPN= $(SLB)$/store.lib
99 APP4RPATH= UREBIN
101 APP5TARGET= t_leak
102 APP5OBJS= $(OBJ)$/t_leak.obj
103 APP5STDLIBS+= $(SALLIB)
105 # --- Targets ---
107 .INCLUDE : target.mk