OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [librdbg/] [src/] [powerpc/] [mcp750/] [Makefile.am] - Blame information for rev 416

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

Line No. Rev Author Line
1 30 unneback
##
2
##  $Id: Makefile.am,v 1.2 2001-09-27 12:02:02 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
8
 
9
LIBNAME = librdbg
10
LIB = ${ARCH}/${LIBNAME}.a
11
 
12
# C and C++ source names
13
C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c \
14
    servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c
15
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
16
 
17
# Asm source names
18
S_FILES = rdbg_cpu_asm.S
19
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
20
 
21
# Generated C source names
22
GEN_C_FILES = remdeb_xdr.c remdeb_svc.c
23
GEN_C_O_FILES = $(GEN_C_FILES:%.c=${ARCH}/%.o)
24
 
25
# H source names
26
H_FILES = remdeb.h
27
 
28
# X source names
29
X_FILES = remdeb.x remdeb_f.x
30
 
31
OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
32
 
33
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34
include $(top_srcdir)/../../../automake/lib.am
35
 
36
#
37
# Add local stuff here using +=
38
#
39
 
40
MAINTAINERCLEANFILES += $(H_FILES) $(GEN_C_FILES)
41
 
42
FRONTEND = \"$(RTEMS_CPU)/mcp750/remdeb_f.x\"
43
 
44
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
45
        $(INSTALL_DATA) $< $@
46
 
47
$(LIB): ${OBJS}
48
        $(make-library)
49
 
50
$(srcdir)/remdeb.h: $(X_FILES)
51
if RPCTOOLS
52
        @rm -f $@
53
        ( cd $(top_srcdir)/src; \
54
        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
55
          -o powerpc/mcp750/remdeb.h remdeb.x )
56
endif
57
$(srcdir)/remdeb_xdr.c: $(X_FILES)
58
if RPCTOOLS
59
        @rm -f $@
60
        ( cd $(top_srcdir)/src; \
61
        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
62
          -o powerpc/mcp750/remdeb_xdr.c remdeb.x )
63
endif
64
 
65
$(srcdir)/remdeb_svc.c: $(X_FILES)
66
if RPCTOOLS
67
        @rm -f $@ tmpSvc.c
68
        ( cd $(top_srcdir)/src; \
69
        $(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
70
          -o powerpc/mcp750/tmpSvc.c remdeb.x; \
71
        $(AWK) -f ./awk.svc THEPROG="remdeb.h" powerpc/mcp750/tmpSvc.c \
72
          > powerpc/mcp750/remdeb_svc.c; \
73
        rm -f powerpc/mcp750/tmpSvc.c )
74
endif
75
 
76
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h
77
        $(INSTALL_DATA) $< $@
78
 
79
$(PROJECT_INCLUDE)/rdbg:
80
        @$(mkinstalldirs) $@
81
 
82
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg $(PROJECT_INCLUDE)/rdbg/remdeb.h
83
 
84
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
85
 
86
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
87
 
88
EXTRA_DIST = remdeb_f.x $(GEN_C_FILES)
89
 
90
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

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