Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2013 15:34:55 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 231643 for review
Message-ID:  <201308021534.r72FYthd033310@skunkworks.freebsd.org>

index | next in thread | raw e-mail

http://p4web.freebsd.org/@@231643?ac=10

Change 231643 by brooks@brooks_zenith on 2013/08/02 15:34:28

	Emit explicit .c.obc rules in tesla mode.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/usr.sbin/config/mkmakefile.c#5 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/usr.sbin/config/mkmakefile.c#5 (text+ko) ====

@@ -821,6 +821,23 @@
 				fprintf(f, "\t%s -S -emit-llvm -o ${.TARGET}\n",
 				    teslacompilewith);
 			fprintf(f, "\n");
+
+			if (ftp->f_depends)
+				fprintf(f, "%s%sobc: $S/%s%c %s\n",
+					ftp->f_objprefix, tail(np), np, och,
+					ftp->f_depends);
+			else
+				fprintf(f, "%s%sobc: $S/%s%c\n",
+					ftp->f_objprefix, tail(np), np, och);
+			if (strlen(ftp->f_objprefix))
+				fprintf(f,
+				    "\t%s $S/%s -emit-llvm -o ${.TARGET}\n",
+				    teslacompilewith, np);
+			else
+				fprintf(f, "\t%s -emit-llvm -o ${.TARGET}\n",
+				    teslacompilewith);
+			fprintf(f, "\n");
+
 			if (teslacompilewith != compilewith)
 				free(teslacompilewith);
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308021534.r72FYthd033310>