summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_freebsd.GNU
blob: 4a442b1a2328717735fc51ddfa68019808cd8d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id$

# platform_freebsd.GNU

# ***** Notice: This file is still under testing. *****
# To be used on FreeBSD platform without pthread support.

CC              = gcc
CXX		= g++
CFLAGS          += $(DCFLAGS) -w -O2 -fno-strict-prototypes
CCFLAGS         += $(CFLAGS) -fno-implicit-templates
DCFLAGS         += -g
DLD             = ld
LD		= $(CXX) 
LIBS            += -lstdc++ -lcompat
PIC             = -fpic -DPIC
AR              = ar
ARFLAGS         = ruv
RANLIB          = ranlib

SOFLAGS = -Bshareable -x
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
PRELIB = @echo