xref: /aoo41x/main/store/workben/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJ=..
29
30PRJNAME=store
31TARGET=workben
32
33LIBTARGET=NO
34TARGETTYPE=CUI
35NO_DEFAULT_STL=TRUE
36
37# --- Settings ---
38
39.INCLUDE : settings.mk
40
41.IF "$(STORELIB)" == ""
42.IF "$(GUI)" == "UNX"
43STORELIB=	-lstore
44.ELSE  # unx
45.IF "$(GUI)$(COM)"=="WNTGCC"
46STORELIB=	-lstore$(UDK_MAJOR)
47.ELSE
48STORELIB=	$(LB)$/istore.lib
49.ENDIF
50.ENDIF # unx
51.ENDIF # storelib
52
53.IF "$(GUI)" == "UNX"
54STOREDBGLIB=	$(LB)$/libstoredbg.a
55.ELSE  # unx
56.IF "$(GUI)$(COM)"=="WNTGCC"
57STOREDBGLIB=	$(LB)$/libstoredbg.a
58.ELSE
59STOREDBGLIB=	$(LB)$/storedbg.lib
60.ENDIF
61.ENDIF # unx
62
63CFLAGS+= -I..$/source
64
65# --- Files ---
66
67OBJFILES=	\
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
73
74APP1TARGET=		t_file
75APP1OBJS=		$(OBJ)$/t_file.obj
76APP1STDLIBS=	$(STOREDBGLIB)
77APP1STDLIBS+=	$(SALLIB)
78APP1DEPN=	$(STOREDBGLIB)
79APP1RPATH=	UREBIN
80
81APP2TARGET=		t_page
82APP2OBJS=		$(OBJ)$/t_page.obj
83APP2STDLIBS=	$(STOREDBGLIB)
84APP2STDLIBS+=	$(SALLIB)
85APP2DEPN=	$(STOREDBGLIB)
86
87APP3TARGET=		t_base
88APP3OBJS=		$(OBJ)$/t_base.obj
89APP3STDLIBS=	$(STOREDBGLIB)
90APP3STDLIBS+=	$(SALLIB)
91APP3DEPN=	$(STOREDBGLIB)
92APP3RPATH=	UREBIN
93
94APP4TARGET=		t_store
95APP4OBJS=		$(OBJ)$/t_store.obj
96APP4STDLIBS=	$(STORELIB)
97APP4STDLIBS+=	$(SALLIB)
98APP4DEPN=	$(SLB)$/store.lib
99APP4RPATH=	UREBIN
100
101 APP5TARGET=		t_leak
102 APP5OBJS=		$(OBJ)$/t_leak.obj
103 APP5STDLIBS+=	$(SALLIB)
104
105# --- Targets ---
106
107.INCLUDE : target.mk
108
109