Debian Codegraph @

makefiles/Makefile.arm-linux

raw
1 #
2 # arm-linux Protean Makefile definitions
3 #
4
5 # 1) System specific additional libraries, include paths, etc
6 # (Where to find X11 libraries, etc)
7 #
8 SYSTEM_INCLUDES = -I/usr/local/arm/2.95.3/arm-linux/include
9 SYSTEM_LDFLAGS = -L/usr/local/arm/2.95.3/arm-linux/lib
10 SYSTEM_LIBS = -ldl -lpthread
11
12 # 2) System specific capabilities
13 # Must choose appropriate for the following:
14 #
15 # A) -DHAVE_CUSERID (preferred) or -DHAVE_GETLOGIN for cuserid() or getlogin()
16 # functions to obtain user's login name (We may change this to getpwd()
17 # if that is better across different platforms and login environments)
18 #
19 # B) -DHAVE_LOCKF (preferred) or -DHAVE_FLOCK for lockf() or flock() file locking
20 # functions to attempt exclusive lock on writing to files
21 #
22 # C) Specify -DHAVE_DIRFD if your system provides the "dirfd()" function
23 # (Most don't have it defined ... but some do)
24 #
25 # D) Optionally specify -DHAVE_ASSERT if your system has a built-in ASSERT()
26 # routine.
27 #
28 # E) The MDP code's use of offset pointers requires special treatment
29 # for some different compilers. Set -DUSE_INHERITANCE for some
30 # to keep some compilers (gcc 2.7.2) happy.
31 #
32 # F) Some systems (SOLARIS/SUNOS) have a few gotchas which require
33 # some #ifdefs to avoid compiler warnings ... so you might need
34 # to specify -DSOLARIS or -DSUNOS depending on your OS.
35 #
36 # G) Uncomment this if you have the NRL IPv6+IPsec software
37 #DNETSEC = -DNETSEC -I/usr/inet6/include
38 #
39 # (We export these for other Makefiles as needed)
40 #
41
42 export SYSTEM_HAVES = -DARM -DLINUX -DHAVE_IPV6 -DHAVE_GETLOGIN -DHAVE_LOCKF \
43 -DHAVE_OLD_SIGNALHANDLER -DHAVE_DIRFD -DHAVE_ASSERT $(NETSEC)
44
45 SYSTEM_SRC = linuxRouteMgr.cpp
46
47 SYSTEM = arm-linux
48
49 CC = arm-linux-g++
50 RANLIB = arm-linux-ranlib
51 AR = arm-linux-ar
52
53 AS = arm-linux-as
54 LD = arm-linux-ld
55 NM = arm-linux-nm
56 STRIP = arm-linux-strip
57 OBJCOPY = arm-linux-objcopy
58 OBJDUMP = arm-linux-objdump
59
60 include Makefile.common