Lines Matching refs:tp

91 void	put_source_file_name(FILE *fp, struct file_list *tp);
362 register struct file_list *tp, *pf;
440 tp = 0;
441 if (first == 3 && (tp = fltail_lookup(this)) != 0)
443 fname, this, tp->f_fn);
560 if (tp == 0)
561 tp = new_fent();
562 tp->f_fn = this;
563 tp->f_type = INVISIBLE;
564 tp->f_needs = needs;
565 tp->f_flags = isdup;
607 if (tp == 0)
608 tp = new_fent();
609 tp->f_fn = this;
610 tp->f_extra = rest;
612 tp->f_type = INVISIBLE;
615 tp->f_type = DRIVER;
617 tp->f_type = PROFILING;
619 tp->f_type = NORMAL;
620 tp->f_flags = 0;
622 tp->f_flags |= ORDERED;
624 tp->f_flags |= SEDIT;
625 tp->f_needs = needs;
649 put_source_file_name(FILE *fp, struct file_list *tp)
651 if ((tp->f_fn[0] == '.') && (tp->f_fn[1] == '/'))
652 fprintf(fp, "%s ", tp->f_fn);
654 fprintf(fp, "$(SOURCE_DIR)/%s ", tp->f_fn);
660 register struct file_list *tp;
672 for (tp = ftab; tp != 0; tp = tp->f_next) {
673 if (tp->f_type == INVISIBLE)
679 cp = tp->f_fn + (len = strlen(tp->f_fn)) - 1;
680 if ((ext == -1 && tp->f_flags & ORDERED) || /* not in objs */
688 put_source_file_name(fp, tp);
693 sp = tail(tp->f_fn);
726 register struct file_list *tp;
734 for (tp = ftab; tp != 0; tp = tp->f_next) {
735 if ((tp->f_flags & ORDERED) != ORDERED)
737 sp = tail(tp->f_fn);
756 register struct file_list *tp;
761 for (tp = ftab; tp != 0; tp = tp->f_next) {
762 if (tp->f_type == INVISIBLE)
764 if (tp->f_fn[strlen(tp->f_fn)-1] != ext)
773 put_source_file_name(fp, tp);
905 const char *tp;
931 tp = tail(np); /* dvw: init tp before 'if' */
934 tp, np, source_dir, (int)(tp-np), np);
937 fprintf(f, "%so: %s%s%c\n", tp, source_dir, np, och);
945 fprintf(f, "\t@${RM} %so\n", tp);
953 fprintf(f, "\t@${RM} %so\n", tp);
965 source_dir, (int)(tp-np), np, nl);
974 source_dir, (int)(tp-np), np);
985 fprintf(f, "\t@${RM} %so\n", tp);
993 fprintf(f, "\t${SEDCMD} | ${C2} | ${AS} ${CAFLAGS} -o %so\n\n", tp);
1010 fprintf(f, "\t@${RM} %so\n", tp);
1031 fprintf(f, "\t@${RM} %so\n", tp);
1063 source_dir, (int)(tp-np), np, och_upper, extras, nl);