Searched defs:srcdir (Results 1 - 14 of 14) sorted by relevance

/freebsd-head/lib/libc/tests/stdlib/
H A Ddynthr_test.c70 const char *srcdir; local
73 srcdir = atf_tc_get_config_var(tc, "srcdir");
74 if (asprintf(&libpath, "%s/dynthr_mod.so", srcdir) < 0)
/freebsd-head/usr.bin/bmake/
H A DMakefile84 srcdir?= ${.CURDIR} macro
91 CFLAGS+= -I. -I${srcdir} ${XDEFS} -DMAKE_NATIVE
101 .PATH: ${srcdir}
102 .PATH: ${srcdir}/lst.lib
114 .if make(${MAN}) || !exists(${srcdir}/${MAN})
130 -e '/^.Sh HISTORY/,$$s,^.Nm,make,' ${srcdir}/make.1 > $@
141 _mfromdir=${srcdir}
/freebsd-head/contrib/ntp/sntp/tests/
H A DfileHandlingTest.c17 const char srcdir[] = SRCDIR_DEF;//"@abs_srcdir@/data/"; local
18 size_t plen = sizeof(srcdir) + strlen(filename) + 1;
24 retc = snprintf(path, plen, "%s%s", srcdir, filename);
/freebsd-head/crypto/openssh/contrib/cygwin/
H A DMakefile0 srcdir=../..
16 MKDIR_P=$(srcdir)/mkinstalldirs
40 -$(INSTALL) -m 644 $(srcdir)/CREDITS $(DESTDIR)$(sshdocdir)/CREDITS
41 -$(INSTALL) -m 644 $(srcdir)/ChangeLog $(DESTDIR)$(sshdocdir)/ChangeLog
42 -$(INSTALL) -m 644 $(srcdir)/LICENCE $(DESTDIR)$(sshdocdir)/LICENCE
43 -$(INSTALL) -m 644 $(srcdir)/OVERVIEW $(DESTDIR)$(sshdocdir)/OVERVIEW
44 -$(INSTALL) -m 644 $(srcdir)/PROTOCOL $(DESTDIR)$(sshdocdir)/PROTOCOL
45 -$(INSTALL) -m 644 $(srcdir)/PROTOCOL.agent $(DESTDIR)$(sshdocdir)/PROTOCOL.agent
46 -$(INSTALL) -m 644 $(srcdir)/PROTOCOL.certkeys $(DESTDIR)$(sshdocdir)/PROTOCOL.certkeys
47 -$(INSTALL) -m 644 $(srcdir)/PROTOCO
1 srcdir=../.. macro
[all...]
/freebsd-head/gnu/usr.bin/cc/cc_tools/
H A DMakefile38 srcdir= ${GCCDIR} macro
45 out_file= ${srcdir}/config/${GCC_CPU}/${GCC_CPU}.c
48 GTFILES_SRCDIR= ${srcdir}
51 GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h \
53 $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \
54 $(srcdir)/coverage.c $(srcdir)/rtl.h \
55 $(srcdir)/optabs.h $(srcdir)/tre
[all...]
/freebsd-head/usr.bin/bmake/unit-tests/
H A DMakefile25 srcdir= ${SRCTOP}/contrib/bmake/unit-tests macro
29 UNIT_TESTS:= ${srcdir}
/freebsd-head/crypto/heimdal/lib/wind/
H A Dtest-normalize.c156 const char *srcdir = getenv("srcdir"); local
157 if (srcdir != NULL) {
159 snprintf(longname, sizeof(longname), "%s/%s", srcdir, filename);
/freebsd-head/contrib/bmake/
H A DMakefile69 srcdir?= ${.CURDIR} macro
76 CFLAGS+= -I. -I${srcdir} ${XDEFS} -DMAKE_NATIVE
86 .PATH: ${srcdir}
87 .PATH: ${srcdir}/lst.lib
105 INSTALL?=${srcdir}/install-sh
147 .if make(${MAN}) || !exists(${srcdir}/${MAN})
163 -e '/^.Sh HISTORY/,$$s,^.Nm,make,' ${srcdir}/make.1 > $@
174 _mfromdir=${srcdir}
204 MKSRC=${srcdir}/mk
205 INSTALL?=${srcdir}/instal
[all...]
/freebsd-head/contrib/binutils/opcodes/
H A Di386-gen.c327 {"srcdir", required_argument, NULL, OPTION_SRCDIR},
344 fprintf (stream, "Usage: %s [-V | --version] [-d | --debug] [--srcdir=dirname] [--help]\n",
353 char *srcdir = NULL; local
363 srcdir = optarg;
383 if (srcdir != NULL)
384 if (chdir (srcdir) != 0)
386 srcdir, strerror (errno));
H A Dia64-gen.c2810 {"srcdir", required_argument, NULL, OPTION_SRCDIR},
2827 fprintf (stream, "Usage: %s [-V | --version] [-d | --debug] [--srcdir=dirname] [--help]\n",
2836 char *srcdir = NULL;
2846 srcdir = optarg;
2866 if (srcdir != NULL)
2867 if (chdir (srcdir) != 0)
2869 srcdir, strerror (errno));
2808 char *srcdir = NULL; local
/freebsd-head/contrib/netbsd-tests/fs/common/
H A Dfstest_nfs.c74 const char *srcdir; local
89 srcdir = atf_tc_get_config_var(tc, "srcdir");
90 sprintf(nfsdpath, "%s/../nfs/nfsservice/rumpnfsd", srcdir);
/freebsd-head/contrib/atf/atf-c/detail/
H A Dtp_main.c399 srcdir_strip_libtool(atf_fs_path_t *srcdir) argument
404 err = atf_fs_path_branch_path(srcdir, &parent);
408 atf_fs_path_fini(srcdir);
409 *srcdir = parent;
422 atf_fs_path_t exe, srcdir; local
425 err = atf_fs_path_copy(&srcdir, &p->m_srcdir);
429 if (!atf_fs_path_is_absolute(&srcdir)) {
432 err = atf_fs_path_to_absolute(&srcdir, &srcdirabs);
436 atf_fs_path_fini(&srcdir);
437 srcdir
[all...]
/freebsd-head/usr.sbin/config/
H A Dmain.c77 char srcdir[MAXPATHLEN]; variable
162 if (*srcdir == '\0')
163 strlcpy(srcdir, optarg, sizeof(srcdir));
203 if (*srcdir == '\0')
258 * and save that in srcdir.
267 if (realpath("../..", srcdir) == NULL)
279 if (stat(pwd, &lg) != -1 && stat(srcdir, &phy) != -1 &&
281 strlcpy(srcdir, pwd, MAXPATHLEN);
291 "usage: config [-CgmpV] [-d destdir] [-s srcdir] sysnam
[all...]
/freebsd-head/usr.sbin/crunch/crunchgen/
H A Dcrunchgen.c69 char *srcdir; member in struct:prog
429 p2->srcdir = NULL;
528 } else if (!strcmp(argv[2], "srcdir")) {
531 if ((p->srcdir = strdup(argv[3])) == NULL)
645 if (!p->srcdir) {
646 p->srcdir = dir_search(p->name);
649 /* Determine the actual srcdir (maybe symlinked). */
650 if (p->srcdir) {
652 p->srcdir);
663 errx(1, "Can't perform pwd on: %s\n", p->srcdir);
966 char *srcdir; local
[all...]

Completed in 313 milliseconds