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

Subversion Repositories w11

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 wfjm
# $Id: Makefile 561 2014-06-09 17:22:50Z mueller $
2 19 wfjm
#
3
#  Revision History:
4
# Date         Rev Version  Comment
5
# 2013-02-01   479   1.0.1  correct so name (no digits allowed in tcl load...)
6
# 2013-01-27   478   1.0    Initial version
7
#---
8
#
9
# Name of the sharable library
10
#
11
SONAME     = rwxxtpp
12
SOMAJV     = 1
13
SOMINV     = 0
14
#
15
# Compile and Link search paths
16
#
17
include ../checkpath_cpp.mk
18
#
19
INCLFLAGS  = -I${RETROBASE}/tools/src -I${TCLINC} -I${BOOSTINC}
20
LDLIBS     = -L${RETROBASE}/tools/lib -lrtools -lrtcltools
21
LDLIBS    +=   -lrlink -lrw11
22
LDLIBS    +=   -lrlinktpp
23
#
24
# Object files to be included
25
#
26
OBJ_all    = Rwxxtpp_Init.o RtclRw11.o
27
OBJ_all   +=   RtclRw11Cpu.o RtclRw11CpuW11a.o
28
OBJ_all   +=   RtclRw11Cntl.o RtclRw11CntlFactory.o
29
OBJ_all   +=   RtclRw11Unit.o
30
OBJ_all   +=   RtclRw11UnitTerm.o
31 20 wfjm
OBJ_all   +=   RtclRw11UnitDisk.o
32 21 wfjm
OBJ_all   +=   RtclRw11UnitStream.o
33 19 wfjm
OBJ_all   +=   RtclRw11CntlDL11.o RtclRw11UnitDL11.o
34 21 wfjm
OBJ_all   +=   RtclRw11CntlLP11.o RtclRw11UnitLP11.o
35
OBJ_all   +=   RtclRw11CntlPC11.o RtclRw11UnitPC11.o
36 25 wfjm
OBJ_all   +=   RtclRw11CntlRK11.o RtclRw11UnitRK11.o
37 19 wfjm
#
38
DEP_all    = $(OBJ_all:.o=.dep)
39
#
40
#- generic part ----------------------------------------------------------------
41
#
42
SOFILE     = lib$(SONAME).so
43
SOFILEV    = lib$(SONAME).so.$(SOMAJV)
44
SOFILEVV   = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
45
#
46
include $(RETROBASE)/tools/make/generic_cpp.mk
47
include $(RETROBASE)/tools/make/generic_dep.mk
48
include $(RETROBASE)/tools/make/generic_so.mk
49
include $(RETROBASE)/tools/make/dontincdep.mk
50
#
51 22 wfjm
# The magic auto-dependency include
52 19 wfjm
#
53
ifndef DONTINCDEP
54
include $(DEP_all)
55
endif
56
#
57
# cleanup phonies:
58
#
59
.PHONY    : clean cleandep distclean
60
clean     :
61
        @ rm -f $(OBJ_all)
62
        @ echo "Object files removed"
63
#
64
cleandep  :
65
        @ rm -f $(DEP_all)
66
        @ echo "Dependency files removed"
67
#
68
distclean : clean cleandep
69
        @ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
70
        @ echo "Libraries removed"
71
#

powered by: WebSVN 2.1.0

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