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