aboutsummaryrefslogtreecommitdiff
path: root/src/client/linux/handler/Makefile
diff options
context:
space:
mode:
authorluly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-03 20:45:27 +0000
committerluly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-03 20:45:27 +0000
commit265726e56ccfe5960dc7656a7b52db66b47ad482 (patch)
tree5fa919b07d83734c03ed8d7567cabf339a6361f8 /src/client/linux/handler/Makefile
parentIssue 152 - Patch by Dave Camp, Reviewer Chris Rogers (diff)
downloadbreakpad-265726e56ccfe5960dc7656a7b52db66b47ad482.tar.xz
Add md5 implementation into code base to get rid of
openssl dependency. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@153 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/linux/handler/Makefile')
-rw-r--r--src/client/linux/handler/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/client/linux/handler/Makefile b/src/client/linux/handler/Makefile
index 8d615b5d..b28cc908 100644
--- a/src/client/linux/handler/Makefile
+++ b/src/client/linux/handler/Makefile
@@ -1,7 +1,8 @@
-CC=g++
+CXX=g++
+CC=gcc
-CPPFLAGS=-gstabs -I../../.. -Wall -DNDEBUG -D_REENTRANT
-LDFLAGS=-lpthread -lssl
+CXXFLAGS=-gstabs -I../../.. -Wall -D_REENTRANT
+LDFLAGS=-lpthread
OBJ_DIR=.
BIN_DIR=.
@@ -22,7 +23,7 @@ EXCEPTION_TEST_SRC=exception_handler_test.cc
THREAD_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o,$(THREAD_SRC))
SHARE_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o,$(SHARE_SRC))
HANDLER_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o,$(HANDLER_SRC))
-SHARE_C_OBJ=$(patsubst %.c,$(OBJ_DIR)/%.o,$(SHARE_C_SRC))
+SHARE_C_OBJ=$(patsubst %.c,$(OBJ_DIR)/%.o,$(SHARE_C_SRC)) md5.o
THREAD_TEST_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o, $(THREAD_TEST_SRC))\
$(THREAD_OBJ)
MINIDUMP_TEST_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o, $(MINIDUMP_TEST_SRC))\
@@ -39,13 +40,16 @@ BIN=$(BIN_DIR)/minidump_test\
all:$(BIN)
$(BIN_DIR)/linux_thread_test:$(THREAD_TEST_OBJ)
- $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@
$(BIN_DIR)/minidump_test:$(MINIDUMP_TEST_OBJ)
- $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@
$(BIN_DIR)/exception_handler_test:$(EXCEPTION_TEST_OBJ)
- $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@
+
+md5.o:../../../common/linux/md5.c
+ $(CC) $(CXXFLAGS) -c $^
clean:
rm -f $(BIN) *.o *.dmp