Files
pvxs/test/Makefile
T
Michael Davidsaver 157d1e7d93 run tests
2019-10-20 19:35:32 -07:00

37 lines
758 B
Makefile

TOP=..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# access to private headers
USR_CPPFLAGS += -I$(TOP)/src
USR_CXXFLAGS += -std=c++11
PROD_LIBS += pvxs Com
TESTPROD += testsock
testsock_SRCS += testsock.cpp
TESTS += testsock
PROD_SYS_LIBS += event_core
PROD_SYS_LIBS_DEFAULT += event_pthreads
PROD_SYS_LIBS_WIN32 += netapi32 ws2_32
PROD_SYS_LIBS_vxWorks =
TESTSCRIPTS_HOST += $(TESTS:%=%.t)
ifneq ($(filter $(T_A),$(CROSS_COMPILER_RUNTEST_ARCHS)),)
TESTPROD = $(TESTPROD_HOST)
TESTSCRIPTS += $(TESTS:%=%.t)
endif
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE