TOPDIR = ../..
include $(TOPDIR)/Makefile.vars.config

LIBNAME = dtype++
include $(CONFIG)/Makefile.bin.vars

CPPFLAGS := $(CPPFLAGS) -DMOBY_DTYPES

SRCS = $(addsuffix .cc,$(BINS))
BINS = dteval dttxt2txt dtbin2txt dttxt2bin dtconnect dtypecl dtdist

DEPLIBS = utils dtype++ dsys++ syslog 

TARGET = dttxt2txt
OBJS = dttxt2txt.o
LIBS = gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dtbin2txt
OBJS = dtbin2txt.o
LIBS = gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dttxt2bin
OBJS = dttxt2bin.o
LIBS = gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dtconnect
OBJS = dtconnect.o
LIBS = gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dtypecl
OBJS = dtypecl.o
LIBS = readline termcap gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dtdist
OBJS = dtdist.o
LIBS = gmp getopt
include $(CONFIG)/Makefile.bin.target

TARGET = dteval
OBJS = dteval.o
LIBS = crypto-dtypes crypto rsaref regex gdbm gmp readline getopt termcap m 
DEPLIBS = dt_evalfuncs_core dt_evalfuncs utils dtype++ dsys++ syslog 
include $(CONFIG)/Makefile.bin.target

include $(CONFIG)/Makefile.targets.bin

include Makefile.deps
