PERFORCE change 231643 for review
Brooks Davis
brooks at FreeBSD.org
Fri Aug 2 15:34:55 UTC 2013
http://p4web.freebsd.org/@@231643?ac=10
Change 231643 by brooks at 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);
More information about the p4-projects
mailing list