mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 10:56:51 +02:00
a377ad58ea
implementation that's in contrib/ip_and_mac/. This one works right with 6.3, avoids the problems I ran into earlier with LIKE, and includes a bit of extra functionality. From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
26 lines
432 B
Makefile
26 lines
432 B
Makefile
#
|
|
# PostgreSQL types for IP and MAC addresses
|
|
#
|
|
# $Id: Makefile,v 1.2 1998/02/14 17:58:02 scrappy Exp $
|
|
|
|
all: ip.so mac.so
|
|
|
|
ip.so: ip.o
|
|
ld -Bshareable -o ip.so ip.o
|
|
|
|
ip.o: ip.c
|
|
cc -g -O -fPIC -I/usr/local/pgsql/include -c ip.c
|
|
|
|
mac.so: mac.o
|
|
ld -Bshareable -o mac.so mac.o
|
|
|
|
mac.o: mac.c mac.h
|
|
cc -g -O -fPIC -I/usr/local/pgsql/include -c mac.c
|
|
|
|
install: ip.so mac.so
|
|
install -c ip.so mac.so /usr/local/pgsql/modules
|
|
|
|
#
|
|
# eof
|
|
#
|