-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.darwin_x86_64
61 lines (45 loc) · 1.74 KB
/
Makefile.darwin_x86_64
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
#
# Darwin system-specific definitions for xsnoed Makefile
#
# - Use this version if you have OpenMotif installed
# - If you have lesstif installed, then set XSNOED_MAKE_VER to .lesstif
#
# Note: VERFLAGS must be defined externally
#
# Phil Harvey - 12/2/98
#
BASE = .
DISPBASE = /usr/local/disp
INCLUDE = -I$(BASE)
PROJFLAGS = -DSWAP_BYTES -DUSE_GETTIMEOFDAY -DUSE_PTHREAD -DIGNORE_DISP_ERRORS -DNO_SIGPIPE -D__MACHTEN__ $(VERFLAGS)
CFLAGS = -g -O0 -D_BSD=43 $(PROJFLAGS)
CXXFLAGS = -g -O0 -Wall -fwritable-strings $(PROJFLAGS)
PICFLAG = -fPIC
LDFLAGS = -g -bind_at_load
LIBS = -lm -lpthread
CCC = g++
CC = cc
LD = ld
LDCC = g++
LDCC_SHARED = g++
LDSO_FLAGS = -shared -elf
CC_LD_FLAGS = -shared -elf
XINCS = -I/usr/X11R6/include/X11/ -I/usr/X11R6/include -I/sw/include -I/opt/local/include
XFLAGS = $(XINCS)
XLIBS = -L/usr/local/lib -L/opt/local/lib -lXm -L/usr/X11R6/lib -lXmu -lXt -lX11
ROOTINCS = -I$(ROOTSYS)/include
ROOTFLAGS = -fno-rtti $(ROOTINCS)
ROOTLIBS = $(shell root-config --libs) -lMinuit
QSNOINCS = -I../include
QSNOFLAGS = $(ROOTFLAGS) $(QSNOINCS)
QSNOLIBS = -L../lib -lqtree $(ROOTLIBS) -lg2c
DISPINCS = -I$(DISPBASE)/include -I/usr/local/disp/include -I./include
DISPFLAGS = $(DISPINCS)
DISPLIBS = -L$(DISPBASE)/lib -L/usr/local/disp/lib -lconthost -lc
OS_OBJS =
OS_ROOTOBJS =
include Makefile.include
NextEvent.o: linux_patch/NextEvent.c
$(CC) $(CFLAGS) $(PICFLAG) $(INCLUDE) $(XFLAGS) -I./linux_patch -c linux_patch/NextEvent.c
RowColumn.o: linux_patch/RowColumn.c
$(CC) $(CFLAGS) $(PICFLAG) $(INCLUDE) $(XFLAGS) -I./linux_patch -c linux_patch/RowColumn.c