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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [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; use checkpath_cpp.mk
6
# 2013-01-27   478   1.0    Initial version
7
#---
8
#
9
# Name of the sharable library
10
#
11
SONAME     = rw11
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${BOOSTINC}
20
LDLIBS     = -L${RETROBASE}/tools/lib -lrtools -lrlink
21
#
22
# Object files to be included
23
#
24
OBJ_all    = Rw11.o Rw11Cpu.o Rw11CpuW11a.o
25
OBJ_all   +=   Rw11Probe.o
26
OBJ_all   +=   Rw11Cntl.o Rw11Unit.o
27
OBJ_all   +=   Rw11UnitTerm.o
28
OBJ_all   +=   Rw11CntlDL11.o Rw11UnitDL11.o
29
OBJ_all   +=   Rw11Virt.o
30
OBJ_all   +=   Rw11VirtTerm.o Rw11VirtTermPty.o Rw11VirtTermTcp.o
31
#
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
include $(RETROBASE)/tools/make/dontincdep.mk
44
#
45
# The magic autodependcy include
46
#
47
ifndef DONTINCDEP
48
include $(DEP_all)
49
endif
50
#
51
# cleanup phonies:
52
#
53
.PHONY    : clean cleandep distclean
54
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
distclean : clean cleandep
63
        @ 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.