OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librtcltools/] [Makefile] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 wfjm
# $Id: Makefile 529 2013-08-02 17:15:43Z mueller $
2 10 wfjm
#
3
#  Revision History:
4
# Date         Rev Version  Comment
5 19 wfjm
# 2013-02-01   479   1.1.2  use checkpath_cpp.mk
6 17 wfjm
# 2012-12-24   464   1.1.1  add TCLINC
7 12 wfjm
# 2011-07-31   401   1.1    rename realclean->distclean
8
# 2011-07-01   386   1.0.1  add BOOSTINC
9 10 wfjm
# 2011-02-11   360   1.0    Initial version
10
#---
11
#
12
# Name of the sharable library
13
#
14
SONAME     = rtcltools
15
SOMAJV     = 1
16
SOMINV     = 0
17
#
18
# Compile and Link search paths
19
#
20 19 wfjm
include ../checkpath_cpp.mk
21
#
22 17 wfjm
INCLFLAGS  = -I${RETROBASE}/tools/src -I${TCLINC} -I${BOOSTINC}
23 10 wfjm
LDLIBS     = -L${RETROBASE}/tools/lib -lrtools
24
#
25
# Object files to be included
26
#
27 19 wfjm
OBJ_all    = Rtcl.o RtclArgs.o RtclClassBase.o RtclContext.o
28
OBJ_all   +=   RtclNameSet.o RtclCmdBase.o RtclProxyBase.o RtclStats.o
29
OBJ_all   +=   RtclGetBase.o RtclGetList.o RtclSetBase.o RtclSetList.o
30 10 wfjm
#
31
DEP_all    = $(OBJ_all:.o=.dep)
32
#
33
#- generic part ----------------------------------------------------------------
34
#
35
SOFILE     = lib$(SONAME).so
36
SOFILEV    = lib$(SONAME).so.$(SOMAJV)
37
SOFILEVV   = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
38
#
39
include $(RETROBASE)/tools/make/generic_cpp.mk
40
include $(RETROBASE)/tools/make/generic_dep.mk
41
include $(RETROBASE)/tools/make/generic_so.mk
42 19 wfjm
include $(RETROBASE)/tools/make/dontincdep.mk
43 10 wfjm
#
44 22 wfjm
# The magic auto-dependency include
45 10 wfjm
#
46 19 wfjm
ifndef DONTINCDEP
47 10 wfjm
include $(DEP_all)
48 19 wfjm
endif
49 10 wfjm
#
50
# cleanup phonies:
51
#
52 12 wfjm
.PHONY    : clean cleandep distclean
53 10 wfjm
clean     :
54
        @ rm -f $(OBJ_all)
55
        @ echo "Object files removed"
56
#
57
cleandep  :
58
        @ rm -f $(DEP_all)
59
        @ echo "Dependency files removed"
60
#
61 12 wfjm
distclean : clean cleandep
62 10 wfjm
        @ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
63
        @ echo "Libraries removed"
64
#

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.