aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/sipp/files/patch-Makefile
blob: 270f90c5b2df1fe77c457497ddcde6cdc58e72e5 (plain) (blame)
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
--- Makefile.orig	Tue Jun 15 14:25:12 2004
+++ Makefile	Tue Jun 15 14:25:28 2004
@@ -30,6 +30,7 @@
 
 # Libraries directories
 LIBDIR_linux=
+LIBDIR_FreeBSD=
 LIBDIR_hpux=
 LIBDIR_tru64=
 
@@ -50,6 +51,7 @@
 # SYSTEM nickname
 SYSTEM_HP-UX=hpux
 SYSTEM_Linux=linux
+SYSTEM_FreeBSD=freebsd
 SYSTEM_OSF1=tru64
 SYSTEM=$(SYSTEM_$(OSNAME))
 
@@ -60,29 +62,34 @@
 CPP_hpux=aCC  
 CPP_linux=gcc  
 CPP_tru64=cxx  
+CPP_freebsd=g++  
 CPP=$(CPP_$(SYSTEM))
 
 #C Compiler Flags
 CFLAGS_hpux=-D__HPUX +DAportable
 CFLAGS_linux=-D__LINUX -pthread
+CFLAGS_freebsd=-D__LINUX -pthread
 CFLAGS_tru64=-D__OSF1 -pthread
 CFLAGS=$(CFLAGS_$(SYSTEM)) -D__3PCC__
 
 #C++ Compiler Flags
 CPPFLAGS_hpux=-AA -mt -D__HPUX +DAportable
 CPPFLAGS_linux=-D__LINUX -pthread
+CPPFLAGS_freebsd=-D__LINUX -pthread
 CPPFLAGS_tru64=-D__OSF1 -pthread
 CPPFLAGS=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__
 
 #Linker mapping
 CCLINK_hpux=aCC
 CCLINK_linux=gcc
+CCLINK_freebsd=g++
 CCLINK_tru64=cxx
 CCLINK=$(CCLINK_$(SYSTEM))
 
 #Linker Flags
 LFLAGS_hpux=-AA -mt +DAportable
 LFLAGS_linux=
+LFLAGS_freebsd=
 LFLAGS_tru64=
 LFLAGS=$(LFLAGS_$(SYSTEM))
 
@@ -90,6 +97,7 @@
 LIBS_linux= -ldl -lpthread -lcurses -lstdc++
 LIBS_hpux= -lcurses
 LIBS_tru64= -lcurses -lpthread
+LIBS_freebsd= -lcurses -pthread
 LIBS=$(LIBS_$(SYSTEM))
 
 # Operating system detection rule