-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile.amd64
43 lines (31 loc) · 912 Bytes
/
Makefile.amd64
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
include Makefile.defs
Makefile=Makefile.amd64
ifeq ($(shell if test -d /usr/include/openmotif; then echo yes; fi),yes)
XINCLUDES = -I/usr/include/openmotif
XLIBDIR = /usr/lib64/openmotif
endif
# This is the old location, but include it here, just in case
ifeq ($(shell if test -d /usr/X11R6/include; then echo yes; fi),yes)
XINCLUDES = -I/usr/X11R6/include
XLIBDIR = /usr/X11R6/lib
endif
XINCLUDES ?= /usr/include
XLIBDIR ?= /usr/lib64
TKLIB=-lXm -lXext
XTLIB=-lXt
XLIB=-lX11
ifdef FI_USE_DMALLOC
THREADLIB = -lpthread -ldmallocth
CFLAGS = -I/usr/local/include
else
THREADLIB = -lpthread
endif
SET_LIBRARY_PATH = LD_RUN_PATH=$(XLIBDIR):/lib:/usr/lib; export LD_RUN_PATH
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
#MOTIFXTRAS=-lgen
PICFLAGS = -fPIC
SHAREFLAGS =
MAKE_SHARED = ld -shared -L$(XLIBDIR)
STD_DEFINES = -DSVR4 -DSYSV
AR = ar cq
include Makefile.generic