author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 23 Apr 2018 09:19:17 +0100 | |
branch | stx-8.0.0 |
changeset 229 | 08322591d2b1 |
parent 226 | 67883ba3bd17 |
child 244 | 8de3e1d78d6a |
permissions | -rw-r--r-- |
169
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
1 |
# |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
2 |
# Definitions for target i686-pc-linux-gnu. |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
3 |
# |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
4 |
# based on eXept's: |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
5 |
# |
122
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
# linux-elf/amd64_mode32: cpu: athlon64 in 32 bit mode os:linux-ELF options: +commonSymbol |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
# |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
#------------------ start of linux/amd64_mode32 --------------------- |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
# |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
# $Header: /cvs/stx/stx/configurations/linux-elf/amd64_mode32/defines,v 1.25 2016-03-17 22:32:46 stefan Exp $ |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
|
169
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
12 |
include $(MAKELIB)/config-linux-gnu.make |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
13 |
include $(MAKELIB)/config-i686.make |
122
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
AS_CC=as |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
AS_CC_CFLAG= |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
ASFLAGS=--32 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
# LD=ld -m elf_i386 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
# STC_LD=ld -m elf_i386 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
STC_LDFLAGS=$(CCCONFOPT) -L/usr/lib -Llib -L/usr/local/lib -L/usr/X11/lib |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
CLASSLIB_LD=ld -m elf_i386 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
LDFLAGS=$(CCCONFOPT) -Llib -L/usr/local/lib -L/usr/X11/lib -L/usr/lib \ |
169
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
25 |
-Wl,-rpath,'$$ORIGIN',-rpath,'$$ORIGIN/lib',-rpath,'$$ORIGIN/../lib' |
122
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
LD_REL_FLAG=-r |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
#OPTIONAL_DL_LIB=-ldl |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
#OPTIONAL_LIBDL_TARGET=libdld |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
|
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
MAKE_ZLIB_ARG= -f Makefile.amd64_mode32 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
MAKE_BZ2LIB_ARG= -f Makefile.amd64_mode32 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
|
194
0695650e9b20
Makefiles: generalize various platform and/or arch specific config values
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
179
diff
changeset
|
35 |
|
122
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
FFI_CFLAGS=$(CCCONFOPT) |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
#------------------ end of linux-elf/amd64_mode32 --------------------- |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
O_RULE=__STANDARD_O_RULE__ |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
EXTRA_LIBS=-ldl -lX11 -lXext |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
|
169
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
41 |
# Following is a workaround for Debian / Ubuntu boxes. |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
42 |
# |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
43 |
ifeq ($(wildcard /usr/lib/i386-linux-gnu/libXft.so),) |
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
135
diff
changeset
|
44 |
ifeq ($(wildcard /usr/lib/i386-linux-gnu/libXft.so.2),/usr/lib/i386-linux-gnu/libXft.so.2) |
122
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
LIB_XFT=-l:libXft.so.2 -l:libfontconfig.so.1 |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
endif |
6fcb351d23a7
Use our own make configuration files rather than eXept's
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
endif |
179
72cd796f3d1c
Makefiles: compile `GLXWorkstation` using OpenGL
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
169
diff
changeset
|
48 |