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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librlinktpp/] [Makefile] - Blame information for rev 40

Go to most recent revision | 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.32  use checkpath_cpp.mk
6
# 2013-01-27   478   1.1.2  add RtclRlinkPort
7 17 wfjm
# 2012-12-24   464   1.1.1  add TCLINC
8 12 wfjm
# 2011-07-31   401   1.1    rename realclean->distclean
9
# 2011-07-01   386   1.0.2  add BOOSTINC
10 10 wfjm
# 2011-03-20   372   1.0.1  renamed ..tcl -> ..tpp
11
# 2011-02-12   360   1.0    Initial version
12
#---
13
#
14
# Name of the sharable library
15
#
16
SONAME     = rlinktpp
17
SOMAJV     = 1
18
SOMINV     = 0
19
#
20
# Compile and Link search paths
21
#
22 19 wfjm
include ../checkpath_cpp.mk
23
#
24 17 wfjm
INCLFLAGS  = -I${RETROBASE}/tools/src -I${TCLINC} -I${BOOSTINC}
25 10 wfjm
LDLIBS     = -L${RETROBASE}/tools/lib -lrtools -lrtcltools -lrlink
26
#
27
# Object files to be included
28
#
29 19 wfjm
OBJ_all    = Rlinktpp_Init.o RtclRlinkPort.o RtclRlinkConnect.o \
30
                RtclRlinkServer.o RtclAttnShuttle.o
31 10 wfjm
#
32
DEP_all    = $(OBJ_all:.o=.dep)
33
#
34
#- generic part ----------------------------------------------------------------
35
#
36
SOFILE     = lib$(SONAME).so
37
SOFILEV    = lib$(SONAME).so.$(SOMAJV)
38
SOFILEVV   = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
39
#
40
include $(RETROBASE)/tools/make/generic_cpp.mk
41
include $(RETROBASE)/tools/make/generic_dep.mk
42
include $(RETROBASE)/tools/make/generic_so.mk
43 19 wfjm
include $(RETROBASE)/tools/make/dontincdep.mk
44 10 wfjm
#
45 22 wfjm
# The magic auto-dependency include
46 10 wfjm
#
47 19 wfjm
ifndef DONTINCDEP
48 10 wfjm
include $(DEP_all)
49 19 wfjm
endif
50 10 wfjm
#
51
# cleanup phonies:
52
#
53 12 wfjm
.PHONY    : clean cleandep distclean
54 10 wfjm
clean     :
55
        @ rm -f $(OBJ_all)
56
        @ echo "Object files removed"
57
#
58
cleandep  :
59
        @ rm -f $(DEP_all)
60
        @ echo "Dependency files removed"
61
#
62 12 wfjm
distclean : clean cleandep
63 10 wfjm
        @ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
64
        @ echo "Libraries removed"
65
#

powered by: WebSVN 2.1.0

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