Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-04-30 9f2ef60949ced4fab4d077a7e1c6d913f3620c9b
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
#/**********************************************************************
# *
# * PostGIS - Spatial Types for PostgreSQL
# * http://postgis.net
# *
# * PostGIS 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.
# *
# * PostGIS 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 PostGIS.  If not, see <http://www.gnu.org/licenses/>.
# *
# **********************************************************************
# *
# * Copyright 2019 Raúl Marín
# * Copyright 2022 Sandro Santilli <strk@kbt.io>
# *
# **********************************************************************/
 
top_builddir = @top_builddir@
srcdir = @srcdir@
 
CC=@CC@
CFLAGS = -I$(srcdir)/.. @CPPFLAGS@ @CFLAGS@ @PICFLAGS@ -DRYU_NO_TRAILING_ZEROS
SHELL = @SHELL@
INSTALL = @INSTALL@
LIBTOOL = @LIBTOOL@
 
VPATH = $(srcdir)
 
RYU_OBJS = d2s.o
LT_RYU_OBJS =  $(RYU_OBJS:.o=.lo)
 
all: @RYU_LIB@
 
@RYU_LIB@: $(LT_RYU_OBJS)
    $(LIBTOOL) --tag=CC --mode=link $(CC) $(LT_RYU_OBJS) -static -o $@
 
 
$(LT_RYU_OBJS): %.lo: %.c
    $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c -o $@ $<
 
clean:
    rm -f @RYU_LIB@ $(RYU_OBJS) $(LT_RYU_OBJS)
    rm -rf .libs
 
distclean: clean
    rm -f Makefile
 
 
install:
 
uninstall:
 
check:
 
.PHONY: clean distclean install uninstall check