summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorPeter Eisentraut2002-07-27 20:10:05 +0000
committerPeter Eisentraut2002-07-27 20:10:05 +0000
commitb0c3c48eb3779d9637a03c455f3934d9d7c08030 (patch)
tree4fbf5c8d94ae2534735e1b7935edb40d6205cc44 /src/port
parentc3fdf8925ed7fbb3017be052e0700c51ceb12e0b (diff)
Assemble portability modules into libpgport library.
Some makefile simplifications.
Diffstat (limited to 'src/port')
-rw-r--r--src/port/Makefile15
-rw-r--r--src/port/inet_aton.h3
2 files changed, 9 insertions, 9 deletions
diff --git a/src/port/Makefile b/src/port/Makefile
index b005143018a..04d9e049940 100644
--- a/src/port/Makefile
+++ b/src/port/Makefile
@@ -7,7 +7,7 @@
# with broken/missing library files.
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.2 2002/07/19 17:35:11 momjian Exp $
+# $Header: /cvsroot/pgsql/src/port/Makefile,v 1.3 2002/07/27 20:10:05 petere Exp $
#
#-------------------------------------------------------------------------
@@ -15,9 +15,12 @@ subdir = src/port
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
+ifdef LIBOBJS
+all: libpgport.a
+endif
-#
-# The backend/port directory removes these files.
-#
-#distclean clean:
-# rm -f $(OBJS)
+libpgport.a: $(LIBOBJS)
+ $(AR) crs $@ $^
+
+clean distclean maintainer-clean:
+ rm -f libpgport.a $(LIBOBJS)
diff --git a/src/port/inet_aton.h b/src/port/inet_aton.h
deleted file mode 100644
index d965afc5c7c..00000000000
--- a/src/port/inet_aton.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $Id: inet_aton.h,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
-
-int inet_aton(const char *cp, struct in_addr * addr);