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

Subversion Repositories w11

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

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

Line No. Rev Author Line
1 19 wfjm
# $Id: Makefile 504 2013-04-13 15:37:24Z mueller $
2
#
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
OBJ_all   +=   RtclRw11CntlDL11.o RtclRw11UnitDL11.o
32
#
33
DEP_all    = $(OBJ_all:.o=.dep)
34
#
35
#- generic part ----------------------------------------------------------------
36
#
37
SOFILE     = lib$(SONAME).so
38
SOFILEV    = lib$(SONAME).so.$(SOMAJV)
39
SOFILEVV   = lib$(SONAME).so.$(SOMAJV).$(SOMINV)
40
#
41
include $(RETROBASE)/tools/make/generic_cpp.mk
42
include $(RETROBASE)/tools/make/generic_dep.mk
43
include $(RETROBASE)/tools/make/generic_so.mk
44
include $(RETROBASE)/tools/make/dontincdep.mk
45
#
46
# The magic autodependcy include
47
#
48
ifndef DONTINCDEP
49
include $(DEP_all)
50
endif
51
#
52
# cleanup phonies:
53
#
54
.PHONY    : clean cleandep distclean
55
clean     :
56
        @ rm -f $(OBJ_all)
57
        @ echo "Object files removed"
58
#
59
cleandep  :
60
        @ rm -f $(DEP_all)
61
        @ echo "Dependency files removed"
62
#
63
distclean : clean cleandep
64
        @ rm -f $(SOPATH)/lib$(SONAME).a $(SOPATH)/lib$(SONAME).so*
65
        @ echo "Libraries removed"
66
#

powered by: WebSVN 2.1.0

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