postgresql/contrib/ip_and_mac/Makefile

28 lines
471 B
Makefile
Raw Normal View History

#
# PostgreSQL types for IP and MAC addresses
#
1998-06-16 07:35:12 +02:00
# $Id: Makefile,v 1.5 1998/06/16 05:35:10 momjian Exp $
1998-06-16 06:34:30 +02:00
all: ip.so mac.so
1998-06-16 06:34:30 +02:00
ip.so: ip.o
ld -Bshareable -o ip.so ip.o
1998-06-16 06:34:30 +02:00
ip.o: ip.c
cc -g -O -fPIC -I/usr/local/pgsql/include -c ip.c
1998-06-16 06:34:30 +02:00
mac.so: mac.o
ld -Bshareable -o mac.so mac.o
1998-06-16 06:34:30 +02:00
mac.o: mac.c mac.h
cc -g -O -fPIC -I/usr/local/pgsql/include -c mac.c
1998-06-16 06:34:30 +02:00
install: ip.so mac.so
1998-06-16 07:35:12 +02:00
install -c ip.so mac.so /usr/local/pgsql/contrib/ip_and_macs
1998-06-16 06:34:30 +02:00
clean:
rm -f *.o *.so *.b
#
# eof
#