-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmakefile.libs
More file actions
executable file
·149 lines (121 loc) · 4.38 KB
/
Copy pathmakefile.libs
File metadata and controls
executable file
·149 lines (121 loc) · 4.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#This file is part of SECONDO.
#
#Copyright (C) 2004, University in Hagen, Department of Computer Science,
#Database Systems for New Applications.
#
#SECONDO is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#SECONDO is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with SECONDO; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# makefile.libs contains rules for creating
# libraries used by secondo
#
# 07.11.2003 M. Spiekermann
include ./makefile.env
# The code of the tools below should be indipendent
# of any other Secondo-related code such as the query processor,
# storage manager, nested lists, etc. It should be useable for
# any other kind of program.
#libsdbutils
LIB_SDBUTILS_BASENAMES:=\
Tools/Utilities/Processes \
Tools/Utilities/Application \
Tools/Utilities/Messenger \
Tools/Utilities/DynamicLibrary \
Tools/Utilities/FileSystem \
Tools/Utilities/Profiles \
Tools/Utilities/UtilFunctions \
Tools/Utilities/satof \
Tools/Utilities/WinUnix \
Tools/Utilities/Base64 \
Tools/Utilities/PolySolver \
Tools/Utilities/Environment \
Tools/Utilities/Crypt \
Tools/Utilities/blowfish \
Tools/Utilities/md5 \
Tools/Utilities/Trace \
Tools/Utilities/StringUtils \
Tools/Flob/FlobManager \
Tools/Flob/PersistentFlobCache \
Tools/Flob/ExternalFileCache \
Tools/Utilities/AlmostEqual \
UserInterfaces/getCommand \
UserInterfaces/SQLLanguage
# The following libraries have interdependencies to Nested lists
# and Berkeley-DB thus they are only usable in the framework of
# the Secondo applications. For example the Nestedlist module uses
# SMI-Records for implementing a persistent representation.
#libSDBNL
LIB_SDBNL_BASENAMES:=\
Tools/NestedLists/NestedList \
Tools/NestedLists/NList \
Tools/NestedLists/ListUtils \
Tools/NestedLists/NLLex \
Tools/NestedLists/NLScanner \
Tools/NestedLists/NLParser \
Tools/NestedLists/NLParser.tab \
Tools/Parser/SecLex \
Tools/Parser/SecParser \
Tools/Parser/SecParser.tab \
Tools/Parser/SpecParser/NestedText
#libsdbsocket
LIB_SDBSOCKET_BASENAMES:=\
ClientServer/SocketIO \
ClientServer/SocketAddress \
ClientServer/SocketRuleSet
#libsdbsys
LIB_SDBSYS_BASENAMES:=\
Algebras/Management/Algebra \
Algebras/Management/AlgebraManager \
QueryProcessor/QueryProcessor \
QueryProcessor/Progress \
QueryProcessor/SecondoSystem \
QueryProcessor/SecondoCatalog \
QueryProcessor/TypeMapUtils \
QueryProcessor/MemoryObject \
QueryProcessor/MemCatalog
LIB_SDBNL_OBJECTS := $(addsuffix .$(OBJEXT), $(LIB_SDBNL_BASENAMES))
LIB_SDBUTILS_OBJECTS := $(addsuffix .$(OBJEXT), $(LIB_SDBUTILS_BASENAMES))
LIB_SDBSOCKET_OBJECTS := $(addsuffix .$(OBJEXT), $(LIB_SDBSOCKET_BASENAMES))
LIB_SDBSYS_OBJECTS := $(addsuffix .$(OBJEXT), $(LIB_SDBSYS_BASENAMES))
ALL_LIB_OBJS := $(LIBDIR)/libsdbnl.$(LIBEXT) \
$(LIBDIR)/libsdbutils.$(LIBEXT) \
$(LIBDIR)/libsdbsys.$(LIBEXT) \
$(LIBDIR)/libsdbsocket.$(LIBEXT)
.PHONY: all
all: $(LIBDIR)/libsdbnl.$(LIBEXT) $(LIBDIR)/libsdbutils.$(LIBEXT) buildsmilibs $(LIBDIR)/libsdbsys.$(LIBEXT) $(LIBDIR)/libsdbsocket.$(LIBEXT)
.PHONY: buildsmilibs
buildsmilibs:
$(MAKE) -C StorageManager buildlibs
# --- Secondo Database Tools library ---
# Windows needs special treatment for dynamic libraries!
# The variable LIBNAME will be used in the LDOPTTOOL variable
# which is only defined makefile.win32 included by makefile.env.
$(LIBDIR)/libsdbnl.$(LIBEXT): LIBNAME=libsdbnl
$(LIBDIR)/libsdbnl.$(LIBEXT): $(LIB_SDBNL_OBJECTS)
$(create-lib)
# --- Secondo Database Utilities Library ---
LIBNAME=libsdbutils
$(LIBDIR)/libsdbutils.$(LIBEXT): $(LIB_SDBUTILS_OBJECTS)
$(create-lib)
# --- Secondo Database System Library ---
$(LIBDIR)/libsdbsys.$(LIBEXT): LIBNAME=libsdbsys
$(LIBDIR)/libsdbsys.$(LIBEXT): $(LIB_SDBSYS_OBJECTS)
$(create-lib)
# --- Secondo Database Socket Library ---
$(LIBDIR)/libsdbsocket.$(LIBEXT): LIBNAME=libsdbsocket
$(LIBDIR)/libsdbsocket.$(LIBEXT): $(LIB_SDBSOCKET_OBJECTS)
$(create-lib)
.PHONY: clean
clean:
$(RM) -f $(ALL_LIB_OBJS)