From 7a511cf0205751617e959b54789f3697b80f77ee Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 28 Sep 2000 19:33:44 +0000 Subject: [PATCH] Modified munching rules. --- config/RULES.Vx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/config/RULES.Vx b/config/RULES.Vx index f2ea04ca4..87f8fca6e 100644 --- a/config/RULES.Vx +++ b/config/RULES.Vx @@ -116,21 +116,19 @@ endif # C++ munching %.out : %.o - @ $(RM) ctct.o ctdt.c - $(NM) $< | $(MUNCH) > ctdt.c - $(COMPILE.c) -traditional ctdt.c - $(LINK.c) $@ $< ctdt.o - @ $(RM) ctdt.c ctdt.o - -# C++ munching -$(MUNCHNAME):%.munch : % @ $(RM) ctct.o ctdt.c nm.out $(NM) $< > nm.out - $(MUNCH) < nm.out > ctdt.c + $(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c $(COMPILE.c) -traditional ctdt.c $(LINK.cc) $@ $< ctdt.o - +# C++ munching for VxWorks +$(MUNCHNAME):%.munch : % + @ $(RM) ctct.o ctdt.c nm.out + $(NM) $< > nm.out + $(PERL) $(EPICS_BASE)/bin/$(HOST_ARCH)/munch.pl < nm.out > ctdt.c + $(COMPILE.c) -traditional ctdt.c + $(LINK.cc) $@ $(LDFLAGS) $< ctdt.o # # rename the y.tab.h file only if we