1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval
$(call gb_Executable_Executable
,crashrep_com
))
28 $(eval
$(call gb_Executable_set_targettype_gui
,crashrep_com
,NO
))
30 $(eval
$(call gb_Executable_add_precompiled_header
,crashrep_com
,desktop
/inc
/pch
/precompiled_desktop.hxx
))
32 $(eval
$(call gb_Executable_set_include
,crashrep_com
,\
34 -I
$(SRCDIR
)/desktop
/inc
/pch \
37 $(eval
$(call gb_Executable_add_defs
,crashrep_com
,\
41 $(eval
$(call gb_Executable_add_exception_objects
,crashrep_com
,\
42 desktop
/win32
/source
/guistdio
/guistdio \
45 # the resulting executable is called crashrep_com.exe, copy it to crashrep.com
46 $(eval
$(call gb_Package_Package
,crashrep_com
,$(OUTDIR
)/bin
))
47 $(eval
$(call gb_Package_add_file
,crashrep_com
,bin
/crashrep.com
,crashrep_com.exe
))
49 # vim: set ts=4 sw=4 et: