[BACK]Return to Makefile CVS log [TXT][DIR] Up to [pgFoundry] / varint / varint

File: [pgFoundry] / varint / varint / Makefile (download)

Revision 1.1, Sun Sep 21 05:41:01 2008 UTC (23 months, 1 week ago) by jeremyd
Branch: MAIN

Initial commit of an arbitrary precision unsigned integer data type with
bitwise operators.

The following operators are implemented so far (not optimally, but I'm not
worried about that yet):
& (bitwise and)
| (bitwise or)
^ (bitwise xor)
<< (bitwise left shift)
>> (bitwise right shift)
+ (arithmetic add)
- (arithmetic subtract)
* (arithmetic multiply)

I plan to implement comparison operators and division next.

OBJS = varint.o
DATA_built = varint.sql
MODULE_big=varint

SHLIB_LINK = $(BE_DLLLIBS)

ifdef NO_PGXS
subdir = src/tutorial
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/src/makefiles/pgxs.mk
else
PGXS = $(shell pg_config --pgxs)
include $(PGXS)
endif