diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-01-22 16:07:24 -0500 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-01-22 21:34:33 -0500 |
commit | dbaa34c5dbc9ff615c6a57056cd2663ede8caede (patch) | |
tree | d25b31a3c62e12f5e65c19bd150471e35b061537 /crashrep/source | |
parent | 62bf434229f9f86469dea3123bc6180bd9979c2c (diff) |
convert crashrep to gbuild and add to tail_build
Change-Id: I90cf6c2c5fb806855b7e4fec18c890f7bd2ff6b5
Diffstat (limited to 'crashrep/source')
-rw-r--r-- | crashrep/source/all/makefile.mk | 40 | ||||
-rw-r--r-- | crashrep/source/unx/main.cxx | 1 | ||||
-rw-r--r-- | crashrep/source/unx/makefile.mk | 66 | ||||
-rw-r--r-- | crashrep/source/win32/base64.cxx (renamed from crashrep/source/win32/base64.cpp) | 0 | ||||
-rwxr-xr-x | crashrep/source/win32/crashrep.rc | 12 | ||||
-rw-r--r-- | crashrep/source/win32/crashrep.ulf (renamed from crashrep/source/all/crashrep.ulf) | 17 | ||||
-rw-r--r-- | crashrep/source/win32/makefile.mk | 79 | ||||
-rw-r--r-- | crashrep/source/win32/soreport.cxx (renamed from crashrep/source/win32/soreport.cpp) | 2 |
8 files changed, 12 insertions, 205 deletions
diff --git a/crashrep/source/all/makefile.mk b/crashrep/source/all/makefile.mk deleted file mode 100644 index 5b4f08a0063c..000000000000 --- a/crashrep/source/all/makefile.mk +++ /dev/null @@ -1,40 +0,0 @@ -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -PRJ=..$/.. - -PRJNAME=crashrep -TARGET=crash_res - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# ------------------------------------------------------------------ - -ULFFILES = \ - crashrep.ulf - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -.IF "$(WITH_LANG)"!="" -ALLTAR : $(foreach,i,$(ULFFILES) $(COMMONMISC)$/$(TARGET)$/$i) -.ENDIF # "$(WITH_LANG)"!="" - diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx index 652593dd42f4..7041f8c35ff3 100644 --- a/crashrep/source/unx/main.cxx +++ b/crashrep/source/unx/main.cxx @@ -19,7 +19,6 @@ #include <cstdio> #include <stdlib.h> #include <sys/utsname.h> -#include <_version.h> #include <errno.h> #include <string.h> #include <assert.h> diff --git a/crashrep/source/unx/makefile.mk b/crashrep/source/unx/makefile.mk deleted file mode 100644 index 376e45c915b5..000000000000 --- a/crashrep/source/unx/makefile.mk +++ /dev/null @@ -1,66 +0,0 @@ -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -PRJ=..$/.. - -PRJNAME=crashrep -TARGET=crashrep -TARGETTYPE=CUI - -ENABLE_EXCEPTIONS=TRUE -LIBTARGET=NO -LIBSALCPPRT=$(0) - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# ------------------------------------------------------------------ - -# Only build crash reporter if either a product build with debug info -# or a non-pro build is done. - -.IF "$(ENABLE_CRASHDUMP)" != "" || "$(PRODUCT)" == "" - -SOLARLIB!:=$(SOLARLIB:s/jre/jnore/) - -OBJFILES=\ - $(OBJ)$/main.obj - -APP1NOSAL=TRUE -APP1TARGET=$(TARGET) -APP1OBJS=$(OBJFILES) -APP1RPATH=OOO - -.IF "$(OS)" != "FREEBSD" && "$(OS)" != "MACOSX" && "$(OS)"!="NETBSD" && \ - "$(OS)" != "DRAGONFLY" -APP1STDLIBS+=-ldl -lnsl -.ENDIF -.IF "$(OS)" == "SOLARIS" -APP1STDLIBS+=-lsocket -.ENDIF - -.ENDIF # "$(ENABLE_CRASHDUMP)" != "" || "$(PRODUCT)" == "" - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -$(OBJ)$/main.obj: $(INCCOM)$/_version.h - -# Building crash_report diff --git a/crashrep/source/win32/base64.cpp b/crashrep/source/win32/base64.cxx index a0b8769f6bc5..a0b8769f6bc5 100644 --- a/crashrep/source/win32/base64.cpp +++ b/crashrep/source/win32/base64.cxx diff --git a/crashrep/source/win32/crashrep.rc b/crashrep/source/win32/crashrep.rc new file mode 100755 index 000000000000..250ed92d7e85 --- /dev/null +++ b/crashrep/source/win32/crashrep.rc @@ -0,0 +1,12 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "crashrep_impl.rc" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/crashrep/source/all/crashrep.ulf b/crashrep/source/win32/crashrep.ulf index ae5e93bb651f..12ef7e75c246 100644 --- a/crashrep/source/all/crashrep.ulf +++ b/crashrep/source/win32/crashrep.ulf @@ -1,20 +1,3 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ [%WELCOME_CAPTION%] en-US = "%PRODUCTNAME% %PRODUCTVERSION% Error Report" diff --git a/crashrep/source/win32/makefile.mk b/crashrep/source/win32/makefile.mk deleted file mode 100644 index 79e02b970c3a..000000000000 --- a/crashrep/source/win32/makefile.mk +++ /dev/null @@ -1,79 +0,0 @@ -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This file incorporates work covered by the following license notice: -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed -# with this work for additional information regarding copyright -# ownership. The ASF licenses this file to you under the Apache -# License, Version 2.0 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.apache.org/licenses/LICENSE-2.0 . -# - -PRJ=..$/.. - -PRJNAME=crashrep -TARGET=soreport -LIBTARGET=NO -ENABLE_EXCEPTIONS=TRUE -TARGETTYPE=GUI - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Resources ---------------------------------------------------- - -RCFILES=$(RES)$/$(TARGET).rc - -# --- Files -------------------------------------------------------- - -OBJFILES=\ - $(OBJ)$/soreport.obj\ - $(OBJ)$/base64.obj - -.IF "$(WITH_LANG)"!="" -ULFDIR:=$(COMMONMISC)$/crash_res -.ELSE # "$(WITH_LANG)"!="" -ULFDIR:=..$/all -.ENDIF # "$(WITH_LANG)"!="" -LNGFILES=$(ULFDIR)$/crashrep.ulf - -APP1OBJS=$(OBJFILES) - -APP1NOSAL=TRUE - -APP1TARGET=$(TARGET) -APP1RPATH=OOO - -STDLIB1=\ - $(SALLIB)\ - $(GDI32LIB)\ - $(COMCTL32LIB)\ - $(COMDLG32LIB)\ - $(ADVAPI32LIB)\ - $(WS2_32LIB)\ - $(SHELL32LIB)\ - $(DBGHELPLIB)\ - psapi.lib - -APP1NOSVRES=$(RES)$/$(TARGET).res - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -$(OBJ)$/soreport.obj: $(INCCOM)$/_version.h - -# Generate the native Windows resource file -# using lngconvex.exe - -$(RCFILES) : $(LNGFILES) makefile.mk rcfooter.txt rcheader.txt rctemplate.txt ctrylnglist.txt - $(LNGCONVEX) -ulf $(ULFDIR)$/crashrep.ulf -rc $(RES)$/$(TARGET).rc -rct rctemplate.txt -rch rcheader.txt -rcf rcfooter.txt - diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cxx index 0721950393c4..fc8886c542eb 100644 --- a/crashrep/source/win32/soreport.cpp +++ b/crashrep/source/win32/soreport.cxx @@ -66,8 +66,6 @@ #include <malloc.h> #include <process.h> -#include <_version.h> - #include "resource.h" #include "base64.h" |