-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathJamconfig.in
153 lines (129 loc) · 4.59 KB
/
Jamconfig.in
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#
# $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.
# directories
prefix ?= "@prefix@" ;
exec_prefix ?= "@exec_prefix@" ;
datarootdir ?= "@datarootdir@" ;
bindir ?= "@bindir@" ;
datadir ?= "@datadir@" ;
docdir ?= "@datadir@/doc" ;
includedir ?= "@includedir@" ;
libdir ?= "@libdir@" ;
mandir ?= "@mandir@" ;
srcdir ?= "@abs_srcdir@" ;
sysconfdir ?= "@sysconfdir@" ;
# compiler
CC = @CC@ ;
C++ = @CXX@ ;
LINK = $(CC) ;
# tools used by jam rules
XGETTEXT ?= @XGETTEXT@ ;
MSGFMT ?= @MSGFMT@ ;
PYTHON ?= @PYTHON@ ;
RMDIR_UNSAFE ?= $(RM) -Rf ;
RMDIR_SAFE ?= rmdir ;
CP ?= cp ;
COPYDIR ?= "cp -R" ;
MV ?= mv ;
MKDIRS ?= "mkdir -p" ;
LINKCMD ?= "ln -s" ;
EDE_VERSION ?= "@EDE_VERSION@" ;
# subdirectory in usual XDG paths; this directory is marked
# as 'prefix' in some edelib classes, like Resource or Theme
EDE_PREFIX_SUBDIR ?= "ede" ;
# directories used by build system
PREFIX ?= "$(prefix)" ;
EDE_BIN_DIR ?= "$(bindir)" ;
EDE_DATA_DIR ?= "$(datadir)" ;
EDE_CONFIG_DIR ?= "$(sysconfdir)/xdg/$(EDE_PREFIX_SUBDIR)" ;
EDE_MENU_DIR ?= "$(sysconfdir)/xdg/menus" ; # use XDG default for menu dir
EDE_ICON_DIR ?= "$(EDE_DATA_DIR)/icons" ;
EDE_MIME_DIR ?= "$(EDE_DATA_DIR)/mime" ; # use XDG mime path
EDE_WALLPAPERS_DIR ?= "$(EDE_DATA_DIR)/wallpapers" ; # default path
EDE_DOC_DIR ?= "$(docdir)/ede-$(EDE_VERSION)" ;
EDE_THEMES_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/themes" ;
EDE_TIPS_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/tips" ;
EDE_PANEL_APPLETS_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/panel-applets" ;
DBUS_SERVICE_DIR ?= "$(datarootdir)/dbus-1/services" ;
XSESSIONS_DIR ?= "$(datarootdir)/xsessions" ;
PEKWM_CONFIG_DIR ?= "$(sysconfdir)/pekwm" ;
PEKWM_DATA_DIR ?= "$(datadir)/pekwm" ;
PEKWM_CXXFLAGS ?= "@PEKWM_CXXFLAGS@" ;
PEKWM_LIBS ?= "@PEKWM_LIBS@" ;
OPTIMFLAGS ?= @EDE_OPTIM_FLAGS@ ;
DEBUGFLAGS ?= @EDE_DEBUG_FLAGS@ ;
LARGEFILEFLAGS ?= @LARGEFILE@ ;
# FIXME: a quick hack to work everything on SunStudio
if $(SUN_COMPILER) {
WALL ?= "+w2" ;
PEDANTIC ?= ;
WNO_LONG_LONG ?= ;
} else {
# gcc assumed
WALL ?= "-Wall" ;
# by default we do not use -pedantic; programs that use C libraries (HAL older versions) and eFLTK will fail
# to compile with it
PEDANTIC ?= ;
WNO_LONG_LONG ?= "-Wno-long-long" ;
}
# global flags used to be passed to every target
GLOBALFLAGS ?= $(WALL) $(PEDANTIC) -DHAVE_CONFIG_H -I$(TOP) $(OPTIMFLAGS) $(DEBUGFLAGS) $(LARGEFILEFLAGS) ;
STDLIB ?= -lstdc++ ;
LIBM ?= -lm ;
# Note that REMOVE_UNUSED_DEPENDENCIES_TRICK _does not_ works when
# edelib is compiled as shared library (or when is linked with some shared library)
#REMOVE_UNUSED_DEPENDENCIES_TRICK = 1 ;
# edelib libraries path
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
EDELIBLIB ?= @EDELIB_LIBS@ ;
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
EDELIB_GUI_NO_IMAGES_INCLUDE ?= @EDELIB_GUI_NO_IMAGES_CFLAGS@ ;
EDELIB_GUI_NO_IMAGES_LIB ?= @EDELIB_GUI_NO_IMAGES_LIBS@ ;
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;
# fltk libraries path
FLTKINCLUDE ?= @FLTK_CFLAGS@ ;
FLTKLIB ?= @FLTK_LIBS@ ;
FLTKLIB_NOIMAGES ?= @FLTK_LIBS_NOIMAGES@ ;
# Xcomposite
COMPOSITEINCLUDE ?= @COMPOSITE_CFLAGS@ ;
COMPOSITELIB ?= @COMPOSITE_LIBS@ ;
# HAL
HALINCLUDE ?= @HAL_CFLAGS@ ;
HALLIB ?= @HAL_LIBS@ ;
# startup-notification
STARTUP_NOTIFICATION_INCLUDE ?= @LIBSTARTUP_NOTIFICATION_CFLAGS@ ;
STARTUP_NOTIFICATION_LIB ?= @LIBSTARTUP_NOTIFICATION_LIBS@ ;
# X libraries (could be empty if are on standard paths)
X_CFLAGS ?= @X_CFLAGS@ ;
X_LIBS ?= @X_LIBS@ ;
X_PRE_LIBS ?= @X_PRE_LIBS@ ;
X_EXTRA_LIBS ?= @X_EXTRA_LIBS@ ;
# solo XKB extension library
XKB_LIBS ?= @XKB_LIBS@ ;
# shape extension
XSHAPE_LIBS ?= @XSHAPE_LIBS@ ;
# curl libraries
CURL_CFLAGS ?= @CURL_CFLAGS@ ;
CURL_LIBS ?= @CURL_LIBS@ ;
# kstat
KSTAT_LIBS ?= @KSTAT_LIBS@ ;
# platform specific pthread flags
# FIXME: a quick hack to work everything on SunStudio
if $(SUN_COMPILER) {
PTHREAD_CFLAGS ?= ;
PTHREAD_LIBS ?= -lpthread ;
} else {
PTHREAD_CFLAGS ?= @PTHREAD_CFLAGS@ ;
PTHREAD_LIBS ?= @PTHREAD_LIBS@ ;
}
# do not touch this
JAMCONFIG_READ = "yes" ;