mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-27 23:10:16 +00:00
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rdbg/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/i386/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/m68k/Makefile.am: Add PREINSTALL_DIRS. * include/rdbg/powerpc/Makefile.am: Add PREINSTALL_DIRS. * src/i386/Makefile.am: Add PREINSTALL_DIRS. * src/m68k/Makefile.am: Add PREINSTALL_DIRS. * src/powerpc/Makefile.am: Add PREINSTALL_DIRS.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/rdbg/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* include/rdbg/i386/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* include/rdbg/m68k/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* include/rdbg/powerpc/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* src/i386/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* src/m68k/Makefile.am: Add PREINSTALL_DIRS.
|
||||
* src/powerpc/Makefile.am: Add PREINSTALL_DIRS.
|
||||
|
||||
2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* include/rdbg/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
|
||||
|
||||
@@ -15,13 +15,14 @@ SUBDIRS = $(RTEMS_CPU)
|
||||
DIST_SUBDIRS = $(RTEMS_CPU)
|
||||
endif
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
|
||||
if HAS_RDBG
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/rdbg.h: rdbg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg.h
|
||||
@@ -33,6 +34,7 @@ PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/servrpc.h
|
||||
endif
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
|
||||
include $(top_srcdir)/automake/subdirs.am
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h
|
||||
|
||||
all-local: $(PREINSTALL_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h
|
||||
@@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h
|
||||
|
||||
all-local: $(PREINSTALL_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h
|
||||
@@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -8,12 +8,13 @@ include_rdbg_HEADERS = rdbg_f.h reg.h
|
||||
|
||||
all-local: $(PREINSTALL_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/rdbg_f.h: rdbg_f.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/rdbg_f.h
|
||||
@@ -24,5 +25,6 @@ $(PROJECT_INCLUDE)/rdbg/reg.h: reg.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/reg.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -6,30 +6,28 @@ EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
|
||||
|
||||
RPCCPUDIR = $(RTEMS_CPU)/any
|
||||
|
||||
project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
|
||||
EXTRA_LIBRARIES = librdbg.a
|
||||
CLEANFILES = librdbg.a
|
||||
librdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||
|
||||
C_FILES = excep_f.c rdbg_f.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||
EXTRA_LIBRARIES += librdbg_g.a
|
||||
CLEANFILES += librdbg_g.a
|
||||
librdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||
librdbg_g_a_SOURCES = $(librdbg_a_SOURCES)
|
||||
|
||||
up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
|
||||
up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
project_lib_DATA = librdbg$(LIB_VARIANT).a
|
||||
|
||||
librdbg_a_SOURCES = excep_f.c rdbg_f.c
|
||||
|
||||
librdbg_a_SOURCES += ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c \
|
||||
../excep.c ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
../ptrace.c
|
||||
C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
|
||||
# Asm source names
|
||||
S_FILES = rdbg_cpu_asm.S
|
||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
librdbg_a_SOURCES += rdbg_cpu_asm.S
|
||||
|
||||
# Generated C source names
|
||||
GEN_C_FILES = any/remdeb_xdr.c
|
||||
GEN_C_FILES += any/remdeb_svc.c
|
||||
C_O_FILES += $(GEN_C_FILES:any/%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: any/%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
librdbg_a_SOURCES += any/remdeb_xdr.c any/remdeb_svc.c
|
||||
|
||||
# H source names
|
||||
H_FILES = any/remdeb.h
|
||||
@@ -37,22 +35,13 @@ H_FILES = any/remdeb.h
|
||||
# X source names
|
||||
X_FILES = ../remdeb.x any/remdeb_f.x
|
||||
|
||||
OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
|
||||
|
||||
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/compile.am
|
||||
include $(top_srcdir)/automake/lib.am
|
||||
|
||||
#
|
||||
# Add local stuff here using +=
|
||||
#
|
||||
|
||||
FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
|
||||
|
||||
$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
|
||||
$(make-library)
|
||||
|
||||
$(srcdir)/any/remdeb.h: $(X_FILES)
|
||||
if RPCTOOLS
|
||||
@rm -f $@
|
||||
@@ -88,6 +77,7 @@ all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
TMPINSTALL_FILES =
|
||||
|
||||
@@ -96,20 +86,21 @@ $(PROJECT_LIB)/$(dirstamp):
|
||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
CLEANFILES += $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
CLEANFILES += $(TMPINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -6,30 +6,28 @@ EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
|
||||
|
||||
RPCCPUDIR = $(RTEMS_CPU)/any
|
||||
|
||||
project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
|
||||
EXTRA_LIBRARIES = librdbg.a
|
||||
CLEANFILES = librdbg.a
|
||||
librdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||
|
||||
C_FILES = excep_f.c rdbg_f.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||
EXTRA_LIBRARIES += librdbg_g.a
|
||||
CLEANFILES += librdbg_g.a
|
||||
librdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||
librdbg_g_a_SOURCES = $(librdbg_a_SOURCES)
|
||||
|
||||
up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
|
||||
up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
project_lib_DATA = librdbg$(LIB_VARIANT).a
|
||||
|
||||
librdbg_a_SOURCES = excep_f.c rdbg_f.c
|
||||
|
||||
librdbg_a_SOURCES += ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c \
|
||||
../excep.c ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
../ptrace.c
|
||||
C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
|
||||
# Asm source names
|
||||
S_FILES = rdbg_cpu_asm.S
|
||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
librdbg_a_SOURCES += rdbg_cpu_asm.S
|
||||
|
||||
# Generated C source names
|
||||
GEN_C_FILES = any/remdeb_xdr.c
|
||||
GEN_C_FILES += any/remdeb_svc.c
|
||||
C_O_FILES += $(GEN_C_FILES:any/%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: any/%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
librdbg_a_SOURCES += any/remdeb_xdr.c any/remdeb_svc.c
|
||||
|
||||
# H source names
|
||||
H_FILES = any/remdeb.h
|
||||
@@ -37,22 +35,13 @@ H_FILES = any/remdeb.h
|
||||
# X source names
|
||||
X_FILES = ../remdeb.x any/remdeb_f.x
|
||||
|
||||
OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
|
||||
|
||||
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/compile.am
|
||||
include $(top_srcdir)/automake/lib.am
|
||||
|
||||
#
|
||||
# Add local stuff here using +=
|
||||
#
|
||||
|
||||
FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
|
||||
|
||||
$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
|
||||
$(make-library)
|
||||
|
||||
$(srcdir)/any/remdeb.h: $(X_FILES)
|
||||
if RPCTOOLS
|
||||
@rm -f $@
|
||||
@@ -88,6 +77,7 @@ all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
TMPINSTALL_FILES =
|
||||
|
||||
@@ -96,20 +86,21 @@ $(PROJECT_LIB)/$(dirstamp):
|
||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
CLEANFILES += $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
CLEANFILES += $(TMPINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
@@ -6,31 +6,29 @@ EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
|
||||
|
||||
RPCCPUDIR = $(RTEMS_CPU)/new_exception_processing
|
||||
|
||||
project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
|
||||
EXTRA_LIBRARIES = librdbg.a
|
||||
CLEANFILES = librdbg.a
|
||||
librdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||
|
||||
C_FILES = excep_f.c rdbg_f.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||
EXTRA_LIBRARIES += librdbg_g.a
|
||||
CLEANFILES += librdbg_g.a
|
||||
librdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||
librdbg_g_a_SOURCES = $(librdbg_a_SOURCES)
|
||||
|
||||
up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
|
||||
up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
project_lib_DATA = librdbg$(LIB_VARIANT).a
|
||||
|
||||
librdbg_a_SOURCES = excep_f.c rdbg_f.c
|
||||
|
||||
librdbg_a_SOURCES += ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c \
|
||||
../excep.c ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
|
||||
../ptrace.c
|
||||
C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
|
||||
# Asm source names
|
||||
S_FILES = rdbg_cpu_asm.S
|
||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
librdbg_a_SOURCES += rdbg_cpu_asm.S
|
||||
|
||||
# Generated C source names
|
||||
GEN_C_FILES = new_exception_processing/remdeb_xdr.c
|
||||
GEN_C_FILES += new_exception_processing/remdeb_svc.c
|
||||
C_O_FILES += \
|
||||
$(GEN_C_FILES:new_exception_processing/%.c=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
${ARCH}/%.o: new_exception_processing/%.c $(ARCH)/$(dirstamp)
|
||||
${COMPILE} -o $@ -c $<
|
||||
librdbg_a_SOURCES += new_exception_processing/remdeb_xdr.c \
|
||||
new_exception_processing/remdeb_svc.c
|
||||
|
||||
# H source names
|
||||
H_FILES = new_exception_processing/remdeb.h
|
||||
@@ -38,22 +36,13 @@ H_FILES = new_exception_processing/remdeb.h
|
||||
# X source names
|
||||
X_FILES = ../remdeb.x new_exception_processing/remdeb_f.x
|
||||
|
||||
OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
|
||||
|
||||
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/compile.am
|
||||
include $(top_srcdir)/automake/lib.am
|
||||
|
||||
#
|
||||
# Add local stuff here using +=
|
||||
#
|
||||
|
||||
FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
|
||||
|
||||
$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
|
||||
$(make-library)
|
||||
|
||||
$(srcdir)/new_exception_processing/remdeb.h: $(X_FILES)
|
||||
if RPCTOOLS
|
||||
@rm -f $@
|
||||
@@ -89,6 +78,7 @@ all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
|
||||
|
||||
PREINSTALL_DIRS =
|
||||
PREINSTALL_FILES =
|
||||
TMPINSTALL_FILES =
|
||||
|
||||
@@ -97,20 +87,21 @@ $(PROJECT_LIB)/$(dirstamp):
|
||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
||||
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
TMPINSTALL_FILES += $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
|
||||
@$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
|
||||
@: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/new_exception_processing/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
|
||||
|
||||
CLEANFILES = $(PREINSTALL_FILES)
|
||||
CLEANFILES += $(PREINSTALL_FILES)
|
||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||
CLEANFILES += $(TMPINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user