# ------------ TARGETS -------------------------------------------------
ifdef ETRAX
-TARGETS = libtrbnet trbrich
+TARGETS = libtrbnet trbrich trbnetd perllib
else ifdef PEXOR
TARGETS = libtrbnet trbrich trbnetd pexor perllib
else ifdef TRB3
.PHONY: install
ifdef ETRAX
-install: libtrbnet trbrich
- make -C libtrbnet install
+install: libtrbnet trbrich trbnetd
+ make -C libtrbnet install
make -C trbrich install
+ make -C trbnetd install
+ make -C libtrbnet_perl install
else ifdef PEXOR
install: libtrbnet trbrich trbnetd pexor
make -C libtrbnet install
mkdir -m 2775 -p ../binlocal ../liblocal ../include
install -m 775 $(TARGETS) ../binlocal/
install -m 775 $(LIB_TARGETS) ../liblocal/
+ifndef AXIS_TOP_DIR
install -m 664 trbnet.h trberror.h pexor_user.h ../include/
+else
+ install -m 664 trbnet.h trberror.h ../include/
+endif
# ------------ Dependencies --------------------------------------------