Lines Matching refs:tp
394 struct file_list *tp;
444 tp = fl_lookup(this);
578 if (compile && tp == NULL) {
584 tp = new_fent();
585 tp->f_fn = this;
586 tp->f_type = filetype;
588 tp->f_srcprefix = "";
590 tp->f_srcprefix = "$S/";
592 tp->f_flags |= NO_IMPLCT_RULE;
594 tp->f_flags |= NO_OBJ;
596 tp->f_flags |= BEFORE_DEPEND;
598 tp->f_flags |= NOWERROR;
599 tp->f_compilewith = compilewith;
600 tp->f_depends = depends;
601 tp->f_clean = clean;
602 tp->f_warn = warning;
603 tp->f_objprefix = objprefix;
634 struct file_list *tp;
639 STAILQ_FOREACH(tp, &ftab, f_next)
640 if (tp->f_flags & BEFORE_DEPEND) {
641 len = strlen(tp->f_fn);
646 if (tp->f_flags & NO_IMPLCT_RULE)
647 fprintf(fp, "%s ", tp->f_fn);
649 fprintf(fp, "%s%s ", tp->f_srcprefix,
650 tp->f_fn);
660 struct file_list *tp;
666 STAILQ_FOREACH(tp, &ftab, f_next) {
667 if (tp->f_flags & NO_OBJ)
669 sp = tail(tp->f_fn);
673 len += strlen(tp->f_objprefix);
678 fprintf(fp, "%s%s ", tp->f_objprefix, sp);
689 struct file_list *tp;
704 STAILQ_FOREACH(tp, &ftab, f_next)
705 if (tp->f_type != NODEPEND) {
706 len = strlen(tp->f_fn);
707 if (tp->f_fn[len - slen - 1] != '.')
709 if (strcasecmp(&tp->f_fn[len - slen], suff) != 0)
715 fprintf(fp, "%s%s ", tp->f_srcprefix, tp->f_fn);
819 struct file_list *tp;
824 STAILQ_FOREACH(tp, &ftab, f_next)
825 if (tp->f_clean) {
826 len = strlen(tp->f_clean);
831 fprintf(fp, "%s ", tp->f_clean);