diff --git a/.gitignore b/.gitignore index a29149b..3ab51af 100644 --- a/.gitignore +++ b/.gitignore @@ -57,4 +57,9 @@ dkms.con .* *.cache Makefile -antd \ No newline at end of file +antd +compile +config.guess +depcomp +install-sh +missing \ No newline at end of file diff --git a/compile b/compile deleted file mode 120000 index 80e119e..0000000 --- a/compile +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/compile \ No newline at end of file diff --git a/config.guess b/config.guess deleted file mode 120000 index e890c01..0000000 --- a/config.guess +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/config.guess \ No newline at end of file diff --git a/depcomp b/depcomp deleted file mode 120000 index c651437..0000000 --- a/depcomp +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/depcomp \ No newline at end of file diff --git a/install-sh b/install-sh deleted file mode 120000 index fd019ed..0000000 --- a/install-sh +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/install-sh \ No newline at end of file diff --git a/missing b/missing deleted file mode 120000 index 8ecf84a..0000000 --- a/missing +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.15/missing \ No newline at end of file diff --git a/var.mk b/var.mk deleted file mode 100644 index 064578b..0000000 --- a/var.mk +++ /dev/null @@ -1,51 +0,0 @@ -USE_DB=TRUE -USE_SSL = TRUE -CC=gcc -EXT=dylib -UNAME_S := $(shell uname -s) -ifeq ($(UNAME_S),Linux) - BUILDIRD=/opt/www - PF_FLAG=-D_GNU_SOURCE -DLINUX - PPF_FLAG=-D_GNU_SOURCE -DLINUX -Wl,--no-as-needed -endif -ifeq ($(UNAME_S),Darwin) - BUILDIRD=/Users/mrsang/Documents/build/www - PF_FLAG= -DMACOS - PPF_FLAG=-D_GNU_SOURCE -DMACOS -Wl,-undefined,dynamic_lookup - SSL_HEADER_PATH = -I/usr/local/opt/openssl/include - SSL_LIB_PATH = -L/usr/local/opt/openssl/lib -endif - -ifeq ($(USE_DB),TRUE) - DB_OBJ=libs/dbhelper.o - DB_LIB=-lsqlite3 - DB_FLAG=-D USE_DB -endif - -ifeq ($(USE_DB),FALSE) - DB_OBJ= - DB_LIB= - DB_FLAG= -endif - -ifeq ($(USE_SSL),TRUE) - SSL_LIB= $(SSL_LIB_PATH) -lssl -lcrypto - SSL_FLAG=-D USE_OPENSSL -endif - -ifeq ($(USE_SSL),FALSE) - SSL_LIB= - SSL_FLAG= - SSL_HEADER_PATH = - SSL_LIB_PATH = -endif - - -CFLAGS= -W -Wall -g -std=c99 -D DEBUG $(DB_FLAG) $(PF_FLAG) $(SSL_FLAG) $(SSL_HEADER_PATH) - -# xplugin variables -PLUGINS_BASE=../../libs -PBUILDIRD=$(BUILDIRD)/plugins -LIB_CFLAGS= -W -Wall -g -std=c99 -W $(PPF_FLAG) -APP_DIR=$(BUILDIRD)/htdocs/ -INCFLAG= -I$(PLUGINS_BASE)