diff options
author | luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-12 01:53:18 +0000 |
---|---|---|
committer | luly81 <luly81@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-12 01:53:18 +0000 |
commit | bcd46f007919b5063164c8c5c6c2bd4dfb62681e (patch) | |
tree | bdf12a91fb24c51c99a1092c2374851b2e31370f /src/client/linux/handler/Makefile | |
parent | fixes for issue 129 : reviewed by Waylonis (diff) | |
download | breakpad-bcd46f007919b5063164c8c5c6c2bd4dfb62681e.tar.xz |
Add Linux exception handler.
Add Linux stab symbol dumper.
Add minidump & symbol uploader for Linux.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@126 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/linux/handler/Makefile')
-rw-r--r-- | src/client/linux/handler/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/client/linux/handler/Makefile b/src/client/linux/handler/Makefile new file mode 100644 index 00000000..8d615b5d --- /dev/null +++ b/src/client/linux/handler/Makefile @@ -0,0 +1,51 @@ +CC=g++ + +CPPFLAGS=-gstabs -I../../.. -Wall -DNDEBUG -D_REENTRANT +LDFLAGS=-lpthread -lssl + +OBJ_DIR=. +BIN_DIR=. + +THREAD_SRC=linux_thread.cc +SHARE_SRC=../../minidump_file_writer.cc\ + ../../../common/string_conversion.cc\ + ../../../common/linux/file_id.cc\ + minidump_generator.cc +HANDLER_SRC=exception_handler.cc\ + ../../../common/linux/guid_creator.cc +SHARE_C_SRC=../../../common/convert_UTF.c + +THREAD_TEST_SRC=linux_thread_test.cc +MINIDUMP_TEST_SRC=minidump_test.cc +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)) +THREAD_TEST_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o, $(THREAD_TEST_SRC))\ + $(THREAD_OBJ) +MINIDUMP_TEST_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o, $(MINIDUMP_TEST_SRC))\ + $(THREAD_OBJ) $(SHARE_OBJ) $(SHARE_C_OBJ) +EXCEPTION_TEST_OBJ=$(patsubst %.cc,$(OBJ_DIR)/%.o, $(EXCEPTION_TEST_SRC))\ + $(THREAD_OBJ) $(SHARE_OBJ) $(SHARE_C_OBJ) $(HANDLER_SRC) + +BIN=$(BIN_DIR)/minidump_test\ + $(BIN_DIR)/linux_thread_test\ + $(BIN_DIR)/exception_handler_test + +.PHONY:all clean + +all:$(BIN) + +$(BIN_DIR)/linux_thread_test:$(THREAD_TEST_OBJ) + $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@ + +$(BIN_DIR)/minidump_test:$(MINIDUMP_TEST_OBJ) + $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@ + +$(BIN_DIR)/exception_handler_test:$(EXCEPTION_TEST_OBJ) + $(CC) $(CPPFLAGS) $(LDFLAGS) $^ -o $@ + +clean: + rm -f $(BIN) *.o *.dmp |