-
Notifications
You must be signed in to change notification settings - Fork 3
/
Jamrules
79 lines (68 loc) · 1.95 KB
/
Jamrules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2000-2007 EDE Authors.
#
# This program is licensed under terms of the
# GNU General Public License version 2 or newer.
# See COPYING for details.
include $(TOP)/Jamconfig ;
if ! $(JAMCONFIG_READ) {
Exit "Can't find Jamconfig. Did you run 'configure' first?" ;
}
# by default all flags that jam uses directly are cleared
# here should _not_ be set anything since they are filled per target
CCFLAGS = ;
C++FLAGS = ;
OPTIM = ;
# only haiku jam
JCACHEFILE = $(TOP)/.jamcache ;
HCACHEFILE = $(TOP)/.jamhcache ;
include $(TOP)/build/Utils.jam ;
include $(TOP)/build/Library.jam ;
include $(TOP)/build/Program.jam ;
include $(TOP)/build/Translation.jam ;
include $(TOP)/build/Install.jam ;
include $(TOP)/build/Doc.jam ;
include $(TOP)/build/Svg.jam ;
BUILD_ICON_THEMES ?= ;
actions quietly Help
{
echo ""
echo "Build options:"
echo " jam build all"
echo " jam clean clean compiled and created data"
echo " jam distclean clean all compiled and created data (development only)"
echo " jam [target] build [target] only"
echo " jam translation extract translation strings and compile existing"
echo " jam potfile extract translation strings only"
echo " jam doc build documentation"
echo " jam help this help"
echo ""
echo " jam -sBUILD_ICON_THEMES=1 build icon themes (not built by default)"
echo ""
}
# a hack for Sun compiler
# FIXME: let configure figure these things
if $(SUN_COMPILER) {
GLOBALFLAGS = [ RemoveFlag "-g3" : $(GLOBALFLAGS) ] ;
}
Help help ;
NotFile help ;
Always help ;
# a generated junk
LocalClean distclean :
$(TOP)/config.h
$(TOP)/config.h.in
$(TOP)/configure
$(TOP)/aclocal.m4
$(TOP)/Jamconfig
$(TOP)/config.log
$(TOP)/config.status
$(TOP)/data/startede
$(TOP)/doc/index.txt
$(TOP)/tools/l10n-prepare.sh
$(JCACHEFILE)
$(HCACHEFILE) ;
Cleandir distclean : $(TOP)/autom4te.cache ;