summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
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 b005143018..04d9e04994 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 d965afc5c7..0000000000
--- 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);