diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-22 13:33:09 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-22 13:33:09 +0200 |
commit | dec1359e90e847c90629e43ef3744539e8fb41c8 (patch) | |
tree | da2d2ea07745c4eff127e4c62113e5f197dbc8c1 /3rdParty/libb64/base64/Makefile | |
parent | d6e6f65a1cf8723a398689b549dd970121655053 (diff) | |
download | aCms-dec1359e90e847c90629e43ef3744539e8fb41c8.tar.gz aCms-dec1359e90e847c90629e43ef3744539e8fb41c8.tar.bz2 |
added base64 coding/decoding libary
showing captcha in login page (not verifying yet)
Diffstat (limited to '3rdParty/libb64/base64/Makefile')
-rw-r--r-- | 3rdParty/libb64/base64/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/3rdParty/libb64/base64/Makefile b/3rdParty/libb64/base64/Makefile new file mode 100644 index 0000000..30a2c5c --- /dev/null +++ b/3rdParty/libb64/base64/Makefile @@ -0,0 +1,56 @@ +BINARIES = base64 + +# Build flags (uncomment one) +############################# +# Release build flags +CFLAGS += -O3 +############################# +# Debug build flags +#CFLAGS += -g +############################# + +# select a buffersize +# a larger size should be faster, but takes more runtime memory +#BUFFERSIZE = 4096 +#BUFFERSIZE = 65536 +BUFFERSIZE = 16777216 + +SOURCES = base64.cc + +TARGETS = $(BINARIES) + +LINK.o = g++ + +CFLAGS += -Werror -pedantic +CFLAGS += -DBUFFERSIZE=$(BUFFERSIZE) +CFLAGS += -I../include + +CXXFLAGS += $(CFLAGS) + +vpath %.h ../include/b64 +vpath %.a ../src + +.PHONY : clean + +all: $(TARGETS) #strip + +base64: libb64.a + +strip: + strip $(BINARIES) *.exe + +clean: clean_VisualStudioProject + rm -f *.exe* *.o $(TARGETS) *.bak *~ +clean_VisualStudioProject: + $(MAKE) -C VisualStudioProject clean + +distclean: clean distclean_VisualStudioProject + rm -f depend +distclean_VisualStudioProject: clean_VisualStudioProject + $(MAKE) -C VisualStudioProject distclean + +depend: $(SOURCES) + makedepend -f- $(CFLAGS) $(SOURCES) 2> /dev/null 1> depend + +-include depend + |