-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.posix_i386
58 lines (42 loc) · 1.48 KB
/
Makefile.posix_i386
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
#
# Linux system-specific definitions for xsnoed Makefile
#
# Note: VERFLAGS must be defined externally
#
# Phil Harvey - 12/2/98
#
BASE = .
INCLUDE = -I$(BASE)
PROJFLAGS = -DNO_DISPATCH -DSWAP_BYTES -DUSE_GETTIMEOFDAY -DUSE_PTHREAD -DIGNORE_DISP_ERRORS -D__MACHTEN__ $(VERFLAGS)
CFLAGS = -g -O0 -D_BSD=43 $(PROJFLAGS)
CXXFLAGS = -g -O0 -Wall -fwritable-strings $(PROJFLAGS)
PICFLAG =
LDFLAGS = -g
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
XFLAGS = $(XINCS)
XLIBS = -L/usr/X11R6/lib -lXm -lXp -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$(BASE)/../disp/include -I./include
DISPFLAGS = $(DISPINCS)
DISPLIBS =
#DISPLIBS = -L$(BASE)/../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