From owner-p4-projects@FreeBSD.ORG Thu Mar 7 14:51:56 2013 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 33F451B5; Thu, 7 Mar 2013 14:51:56 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D39DF1B3 for ; Thu, 7 Mar 2013 14:51:55 +0000 (UTC) (envelope-from jonathan@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:1900:2254:2068::682:0]) by mx1.freebsd.org (Postfix) with ESMTP id C407FF31 for ; Thu, 7 Mar 2013 14:51:55 +0000 (UTC) Received: from skunkworks.freebsd.org ([127.0.1.74]) by skunkworks.freebsd.org (8.14.6/8.14.6) with ESMTP id r27Ept3P064788 for ; Thu, 7 Mar 2013 14:51:55 GMT (envelope-from jonathan@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.6/8.14.6/Submit) id r27Eptg5064785 for perforce@freebsd.org; Thu, 7 Mar 2013 14:51:55 GMT (envelope-from jonathan@freebsd.org) Date: Thu, 7 Mar 2013 14:51:55 GMT Message-Id: <201303071451.r27Eptg5064785@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to jonathan@freebsd.org using -f From: Jonathan Anderson Subject: PERFORCE change 222701 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.14 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 14:51:56 -0000 http://p4web.freebsd.org/@@222701?ac=10 Change 222701 by jonathan@jonathan-on-kent on 2013/03/07 14:51:29 Add support for 'make tesla.dot', which produces a GraphViz representation of the automata described in the current program. Affected files ... .. //depot/projects/ctsrd/tesla/src/share/mk/sys.mk#5 edit Differences ... ==== //depot/projects/ctsrd/tesla/src/share/mk/sys.mk#5 (text+ko) ==== @@ -32,7 +32,7 @@ .if defined(%POSIX) .SUFFIXES: .o .c .y .l .a .sh .f .else -.SUFFIXES: .out .a .instrll .instro .oll .obc .ln .o .c .cc .cpp .cxx .C .m .F .f .e .r .tesla .y .l .S .asm .s .cl .p .h .sh +.SUFFIXES: .out .a .dot .instrll .instro .oll .obc .ln .manifest .o .c .cc .cpp .cxx .C .m .F .f .e .r .tesla .y .l .S .asm .s .cl .p .h .sh .endif AR ?= ar @@ -282,6 +282,9 @@ .instrll.instro: tesla.manifest ${LLC} -filetype=obj ${.IMPSRC} -o ${.TARGET} +.manifest.dot: + ${TESLA} graph ${.IMPSRC} -o ${.TARGET} + .oll.instrll: ${TESLA} instrument -S -verify-each -tesla-manifest tesla.manifest \ ${.IMPSRC} -o ${.TARGET}