xref: /trunk/main/store/workben/makefile.mk (revision 7871dc3e)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..
25
26PRJNAME=store
27TARGET=workben
28
29LIBTARGET=NO
30TARGETTYPE=CUI
31NO_DEFAULT_STL=TRUE
32
33# --- Settings ---
34
35.INCLUDE : settings.mk
36
37.IF "$(STORELIB)" == ""
38.IF "$(GUI)" == "UNX"
39STORELIB=	-lstore
40.ELSE  # unx
41.IF "$(GUI)$(COM)"=="WNTGCC"
42STORELIB=	-lstore$(UDK_MAJOR)
43.ELSE
44STORELIB=	$(LB)$/istore.lib
45.ENDIF
46.ENDIF # unx
47.ENDIF # storelib
48
49.IF "$(GUI)" == "UNX"
50STOREDBGLIB=	$(LB)$/libstoredbg.a
51.ELSE  # unx
52.IF "$(GUI)$(COM)"=="WNTGCC"
53STOREDBGLIB=	$(LB)$/libstoredbg.a
54.ELSE
55STOREDBGLIB=	$(LB)$/storedbg.lib
56.ENDIF
57.ENDIF # unx
58
59CFLAGS+= -I..$/source
60
61# --- Files ---
62
63OBJFILES=	\
64	$(OBJ)$/t_leak.obj	\
65	$(OBJ)$/t_file.obj	\
66	$(OBJ)$/t_page.obj	\
67	$(OBJ)$/t_base.obj	\
68	$(OBJ)$/t_store.obj
69
70APP1TARGET=		t_file
71APP1OBJS=		$(OBJ)$/t_file.obj
72APP1STDLIBS=	$(STOREDBGLIB)
73APP1STDLIBS+=	$(SALLIB)
74APP1DEPN=	$(STOREDBGLIB)
75APP1RPATH=	UREBIN
76
77APP2TARGET=		t_page
78APP2OBJS=		$(OBJ)$/t_page.obj
79APP2STDLIBS=	$(STOREDBGLIB)
80APP2STDLIBS+=	$(SALLIB)
81APP2DEPN=	$(STOREDBGLIB)
82
83APP3TARGET=		t_base
84APP3OBJS=		$(OBJ)$/t_base.obj
85APP3STDLIBS=	$(STOREDBGLIB)
86APP3STDLIBS+=	$(SALLIB)
87APP3DEPN=	$(STOREDBGLIB)
88APP3RPATH=	UREBIN
89
90APP4TARGET=		t_store
91APP4OBJS=		$(OBJ)$/t_store.obj
92APP4STDLIBS=	$(STORELIB)
93APP4STDLIBS+=	$(SALLIB)
94APP4DEPN=	$(SLB)$/store.lib
95APP4RPATH=	UREBIN
96
97 APP5TARGET=		t_leak
98 APP5OBJS=		$(OBJ)$/t_leak.obj
99 APP5STDLIBS+=	$(SALLIB)
100
101# --- Targets ---
102
103.INCLUDE : target.mk
104
105