summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_netbsd.GNU
blob: c15487d86f153f5e6897b2bc5b499bfdbee5231a (plain)
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
# $Id$

# platform_netbsd.GNU

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

debug = 1
optimize = 1

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

SOFLAGS = -Bshareable -x /usr/lib/c++rt0.o 
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so  $<
PRELIB = @echo