-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (42 loc) · 1.31 KB
/
Makefile
File metadata and controls
56 lines (42 loc) · 1.31 KB
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
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
ifeq ($(WITH_GRAPHICSMAGICK), YES)
# The following gets rid of the -fno-implicit-templates flag on vxWorks,
# so we get automatic template instantiation.
# This is what we want for miscellaneous/asynPortDriver.cpp
ifeq (vxWorks,$(findstring vxWorks, $(T_A)))
CODE_CXXFLAGS=
endif
ifeq ($(GRAPHICSMAGICK_PREFIX_SYMBOLS),YES)
USR_CXXFLAGS += -DPREFIX_MAGICK_SYMBOLS
endif
ifdef GRAPHICSMAGICK_INCLUDE
USR_INCLUDES += $(addprefix -I, $(GRAPHICSMAGICK_INCLUDE))
endif
ifeq (windows-x64, $(findstring windows-x64, $(T_A)))
USR_CXXFLAGS_WIN32 += -DWIN64
endif
ifeq (win32-x86, $(findstring win32-x86, $(T_A)))
USR_CXXFLAGS_WIN32 += -DWIN32
endif
ifeq ($(SHARED_LIBRARIES),YES)
USR_CXXFLAGS_WIN32 += -D_DLL
else
USR_CXXFLAGS_WIN32 += -D_LIB
endif
USR_CXXFLAGS_WIN32 += -D_VISUALC_
LIBRARY_IOC = URLDriver
LIB_SRCS += URLDriver.cpp
DBD += URLDriverSupport.dbd
include $(ADCORE)/ADApp/commonLibraryMakefile
endif
ifeq ($(WITH_CURL),YES)
USR_CXXFLAGS += -DADURL_USE_CURL
USR_SYS_LIBS += curl
endif
#=============================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE