Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cb8b129

Browse files
committed
Add Makefile rules for new crypt/rint() /port functions. Add include
for rint prototype.
1 parent ba1e066 commit cb8b129

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/interfaces/ecpg/pgtypeslib/Makefile

+4-1
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

+1
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

+3-3
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.c inet_aton.c snprintf.c strerror.c path.c: %.c : $(top_srcdir)/src/port/%.c
49+
crypt.c getaddrinfo.c inet_aton.c snprintf.c strerror.c path.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
clean distclean maintainer-clean: clean-lib
78-
rm -f $(OBJS) getaddrinfo.c inet_aton.c snprintf.c strerror.c path.c
78+
rm -f $(OBJS) crypt.c getaddrinfo.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)