1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-03 15:33:22 +00:00
Files
wfjm.w11/tools/src/librtools/Makefile
Walter F.J. Mueller e1479d4e5d - Add Arty support (BRAM only)
- Add sysmon/xadc support (for nexys4,basys3,arty designs)
- Add Vivado simulator support (DPI not yet working)
2016-03-19 15:45:59 +00:00

67 lines
1.7 KiB
Makefile

# $Id: Makefile 733 2016-02-20 12:24:13Z mueller $
#
# Revision History:
# Date Rev Version Comment
# 2014-11-01 600 1.1.2 add -lboost_system (needed in boost 1.54)
# 2013-02-01 479 1.1.1 use checkpath_cpp.mk
# 2011-07-31 401 1.1 rename realclean->distclean
# 2011-03-27 374 1.0.1 removed Rnamed (obsolete now)
# 2011-01-15 357 1.0 Initial version (adopted from CTB...)
#---
#
# Name of the sharable library
#
SONAME = rtools
SOMAJV = 1
SOMINV = 0
#
# Compile and Link search paths
#
include ../checkpath_cpp.mk
#
INCLFLAGS = -I${BOOSTINC}
LDLIBS = -L${BOOSTLIB} -lboost_thread -lboost_system
#
# Object files to be included
#
OBJ_all = RerrMsg.o RosFill.o RosPrintBvi.o RosPrintfBase.o RosPrintfS.o \
RiosState.o Rbits.o \
RlogFile.o RlogFileCatalog.o RlogMsg.o \
Rstats.o Rtools.o \
Rexception.o RparseUrl.o
#
DEP_all = $(OBJ_all:.o=.dep)
#
#- generic part ----------------------------------------------------------------
#
SOFILE = lib$(SONAME).so
SOFILEV = lib$(SONAME).so.$(SOMAJV)
SOFILEVV = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
#
include ${RETROBASE}/tools/make/generic_cpp.mk
include ${RETROBASE}/tools/make/generic_dep.mk
include ${RETROBASE}/tools/make/generic_so.mk
include ${RETROBASE}/tools/make/dontincdep.mk
#
# The magic auto-dependency include
#
ifndef DONTINCDEP
include $(DEP_all)
endif
#
# cleanup phonies:
#
.PHONY : clean cleandep distclean
clean :
@ rm -f $(OBJ_all)
@ echo "Object files removed"
#
cleandep :
@ rm -f $(DEP_all)
@ echo "Dependency files removed"
#
distclean : clean cleandep
@ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
@ echo "Libraries removed"
#