include libs.mk
ARCH=$(shell uname -m)
-CFLAGS ?= -g
+CFLAGS ?= -g -Wall
ifeq ($(ARCH),x86_64)
CFLAGS += -fPIC
endif
CGI_LIBDIRS = $(CGI_UTIL_LIBDIR) $(YAJL_LIBDIR)
targets = blerg.a blerg_auth.a blergtool blerglatest blerg.cgi perl-lib www/build/enyo-blerg.js
-blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o
+blerg_a_objects = database/database.o database/tags.o database/util.o database/configuration.o database/subscription.o common/stringbucket.o common/stringring.o
blerg_auth_a_objects = common/auth.o common/md5.o
blergtool_objects = tools/blergtool.o blerg.a
blerglatest_objects = tools/blerglatest.o blerg.a common/json.o
$(ENV_DIR)/www/css \
$(ENV_DIR)/www/doc/perl \
$(ENV_DIR)/www/images
- install --mode 755 blerg.cgi rss.cgi $(ENV_DIR)/lib/cgi-bin/
+ install --mode 755 blerg.cgi aux/cgi/*.cgi $(ENV_DIR)/lib/cgi-bin/
install --mode 755 blergtool blerglatest $(ENV_DIR)/bin/
install --mode 644 www/favicon.gif www/favicon.ico www/index.html \
www/welcome.html \
$(ENV_DIR)/www/css/
install --mode 644 www/doc/changelog.html www/doc/index.html \
www/doc/post_help.html www/doc/privacy_data.html \
+ www/doc/contact.html \
$(ENV_DIR)/www/doc/
install --mode 644 www/doc/perl/Blerg-Database.html \
$(ENV_DIR)/www/doc/perl/