-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
72 lines (53 loc) · 1.85 KB
/
Makefile
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
TOP = ../../..
ifdef EPICS_HOST_ARCH
include $(TOP)/configure/CONFIG
SHARED_LIBRARIES = YES
USR_CXXFLAGS_Linux += -DSINGLE_THREADED=1 -D__epics__=1
USR_CXXFLAGS_Darwin += -DSINGLE_THREADED=1 -D__epics__=1 -Wno-long-long
USR_CXXFLAGS_solaris += -D__solaris__ -DSINGLE_THREADED=1 -D__epics__=1
USR_CXXFLAGS_hpux11_11_mt += +W652 -DHP_UX=1111 -DSINGLE_THREADED=1 -D__epics__=1
EdmBase_LIBS_Linux += Xm Xt Xp Xtst X11
EdmBase_SYS_LIBS_Linux += pthread dl
EdmBase_LIBS_Darwin += Xm Xt Xp Xtst X11
EdmBase_SYS_LIBS_Darwin += pthread dl
EdmBase_SYS_LIBS_solaris += Xm Xt Xmu X11 Xext
EdmBase_SYS_LIBS_solaris += pthread dl rt
USR_LIBS_hpux11_11_mt = Xm Xt Xp Xtst X11
USR_SYS_LIBS_hpux11_11_mt = pthread
LIBRARY = LocOld
USR_LIBS += 114135a4-6f6c-11d3-95bc-00104b8742df
USR_LIBS += cfcaa62e-8199-11d3-a77f-00104b8742df
INSTALL_INCLUDE = $(INSTALL_LOCATION)/include/edm
USR_INCLUDES += -I../../util -I../../lib
USR_INCLUDES += -I$(MOTIF_INC) -I$(X11_INC)
Xm_DIR = $(MOTIF_LIB)
Xt_DIR = $(X11_LIB)
X11_DIR = $(X11_LIB)
Xmu_DIR = $(X11_LIB)
Xtst_DIR = $(X11_LIB)
# ELW added following two lines for
# Red Hat 7.0 LINUX
Xp_DIR = $(X11_LIB)
Xext_DIR = $(X11_LIB)
#
XlibGUI_DIR = $(X11_LIB)
XmStatic_DIR = $(MOTIF_LIB)
XmStatXt_DIR = $(MOTIF_LIB)
HCLXt_DIR = $(X11_LIB)
Xlib_DIR = $(X11_LIB)
HCLXmu_DIR = $(X11_LIB)
LIB_SRCS += loc_pv_factory_old.cc
LIB_SRCS += regLocOld.cc
include $(TOP)/configure/RULES
else
ifneq ($(wildcard $(TOP)/config)x,x)
# New Makefile.Host config file location
include $(TOP)/config/CONFIG_EXTENSIONS
include $(TOP)/config/RULES_ARCHS
else
# Old Makefile.Unix config file location
EPICS=../../..
include $(EPICS)/config/CONFIG_EXTENSIONS
include $(EPICS)/config/RULES_ARCHS
endif
endif