Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb8b129

Browse files
committed
Add Makefile rules for new crypt/rint() /port functions. Add include
for rint prototype.
1 parentba1e066 commitcb8b129

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

‎src/interfaces/ecpg/pgtypeslib/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.6 2003/05/09 16:26:29 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.7 2003/05/10 02:05:50 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -26,6 +26,9 @@ all: all-lib
2626
# Shared library stuff
2727
include$(top_srcdir)/src/Makefile.shlib
2828

29+
rint.c:%.c :$(top_srcdir)/src/port/%.c
30+
rm -f$@&&$(LN_S)$<.
31+
2932
install: all installdirs install-lib
3033

3134
installdirs:

‎src/interfaces/ecpg/pgtypeslib/dt_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include<stdlib.h>
66
#include<stdio.h>
77
#include<string.h>
8+
#include<math.h>
89

910
#include"dt.h"
1011
#include"extern.h"

‎src/interfaces/libpq/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.78 2003/05/09 16:52:10 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.79 2003/05/10 02:05:50 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -46,7 +46,7 @@ backend_src = $(top_srcdir)/src/backend
4646
# For port modules, this only happens if configure decides the module
4747
# is needed (see filter hack in OBJS, above).
4848

49-
getaddrinfo.cinet_aton.csnprintf.cstrerror.cpath.c:%.c :$(top_srcdir)/src/port/%.c
49+
crypt.cgetaddrinfo.cinet_aton.csnprintf.cstrerror.cpath.c:%.c :$(top_srcdir)/src/port/%.c
5050
rm -f$@&&$(LN_S)$<.
5151

5252
dllist.c:$(backend_src)/lib/dllist.c
@@ -75,5 +75,5 @@ uninstall: uninstall-lib
7575
rm -f$(DESTDIR)$(includedir)/libpq-fe.h$(DESTDIR)$(includedir_internal)/libpq-int.h$(includedir_internal)/pqexpbuffer.h
7676

7777
cleandistcleanmaintainer-clean: clean-lib
78-
rm -f$(OBJS) getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c
78+
rm -f$(OBJS)crypt.cgetaddrinfo.c inet_aton.c snprintf.c strerror.c path.c
7979
rm -f$(OBJS) dllist.c md5.c ip.c wchar.c encnames.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp