# -*- makefile -*-
# ---------------------------------
# Do not EDIT: make/Makeparams.  Generated from Makeparams.in by configure.
# ---------------------------------
.KEEP_STATE:

# ----------------
# common for all targets
# ----------------
DIRBASE   = $(DEVBASE)/exec/DEV
DIRINC    = $(DIRBASE)/include
DIRSCRIPT = $(DIRBASE)/scripts

# Java binaries location
CLASSBASE = $(DIRBASE)/java/classes
JARBASE = $(DIRBASE)/java/classes

RPCGEN=rpcgen

CPPFLAGS += -I. -I$(DIRINC) 

# target directory
# ----------------
DIREXEC= $(DIRBASE)/$(TSP_TARGET)/$(TSP_MODE)
DIRBIN = $(DIREXEC)/bin
DIRLIB = $(DIREXEC)/lib
DIROBJ = $(DIREXEC)/obj

# ---------------
# Compilers parameters (configure-)detected for the TSP host
# Cross-target (like VxWorks) will overides those
# variables with customized values in Makeparams.<target>.<mode>
# ---------------
CC		= gcc
CFLAGS		= -g -O2
CPPFLAGS	+= -D_REENTRANT  -DUSE_STRACE -DTSP_NO_XDR_ENCODE -Wall

CXX		= 
CXXFLAGS	= 

AR		= ar
ARFLAGS		= rvs

LDLIBS		= -lm  -lpthread

# ----------------
# TSP component list
# can build java, provider or consumer part
# ----------------
BUILD_JAVA	= no
BUILD_PROVIDER	= yes
BUILD_CONSUMER	= yes
BUILD_GTK_BASED_CONSUMER = yes
BUILD_BB	= yes

# ----------------
# customize
# ----------------
# TSP_TARGET= sun, sun64, linux, dec, vxworks
# TSP_MODE  = debug ou opt
include $(DEVBASE)/make/Makeparams.$(TSP_TARGET).$(TSP_MODE)

# ----------------
# Call all builds
# ----------------
include $(DEVBASE)/make/Makebuild.list

# default rules
build::

destroy::

