# CFLAGS/LDFLAGS definitions for CGIs CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wsign-compare -Wcast-qual CFLAGS+= -I/usr/local/include CFLAGS+= -fdata-sections -ffunction-sections LDFLAGS+= -Wl,--gc-sections LDFLAGS+= -L/usr/local/lib PGLIBS= -lpq -lpgcommon -lpgtypes -lpgport