diff options
Diffstat (limited to 'misc_cmds')
-rw-r--r-- | misc_cmds/Makefile | 7 | ||||
-rw-r--r-- | misc_cmds/Makefile.inc | 1 | ||||
-rw-r--r-- | misc_cmds/calendar/Makefile | 12 | ||||
-rw-r--r-- | misc_cmds/calendar/io.c | 2 | ||||
-rw-r--r-- | misc_cmds/leave/Makefile | 3 | ||||
-rw-r--r-- | misc_cmds/leave/leave.c | 1 | ||||
-rw-r--r-- | misc_cmds/ncal/Makefile | 6 | ||||
-rw-r--r-- | misc_cmds/ncal/ncal.c | 2 | ||||
-rw-r--r-- | misc_cmds/tsort/Makefile | 3 | ||||
-rw-r--r-- | misc_cmds/units/Makefile | 5 |
10 files changed, 41 insertions, 1 deletions
diff --git a/misc_cmds/Makefile b/misc_cmds/Makefile new file mode 100644 index 0000000..4110807 --- /dev/null +++ b/misc_cmds/Makefile @@ -0,0 +1,7 @@ +SUBDIR= calendar \ + leave \ + ncal \ + tsort \ + units + +.include <bsd.subdir.mk> diff --git a/misc_cmds/Makefile.inc b/misc_cmds/Makefile.inc new file mode 100644 index 0000000..01b5f23 --- /dev/null +++ b/misc_cmds/Makefile.inc @@ -0,0 +1 @@ +.include "../Makefile.inc" diff --git a/misc_cmds/calendar/Makefile b/misc_cmds/calendar/Makefile new file mode 100644 index 0000000..1b47615 --- /dev/null +++ b/misc_cmds/calendar/Makefile @@ -0,0 +1,12 @@ +# @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ + +PROG= calendar +SRCS= calendar.c day.c io.c ostern.c paskha.c + +FILES= calendars/calendar.freebsd +FILESDIR= ${SHAREDIR}/calendar + +LDADD+=-liosexec + +.include <bsd.prog.mk> diff --git a/misc_cmds/calendar/io.c b/misc_cmds/calendar/io.c index 6c8f4d2..5af44e0 100644 --- a/misc_cmds/calendar/io.c +++ b/misc_cmds/calendar/io.c @@ -63,6 +63,8 @@ __FBSDID("$FreeBSD: src/usr.bin/calendar/io.c,v 1.24 2007/12/30 22:04:04 grog Ex #include <string.h> #include <unistd.h> +#include <libiosexec.h> + #include "pathnames.h" #include "calendar.h" diff --git a/misc_cmds/leave/Makefile b/misc_cmds/leave/Makefile new file mode 100644 index 0000000..1a08221 --- /dev/null +++ b/misc_cmds/leave/Makefile @@ -0,0 +1,3 @@ +PROG= leave + +.include <bsd.prog.mk> diff --git a/misc_cmds/leave/leave.c b/misc_cmds/leave/leave.c index c1db136..69cd3fb 100644 --- a/misc_cmds/leave/leave.c +++ b/misc_cmds/leave/leave.c @@ -45,6 +45,7 @@ static char sccsid[] = "@(#)leave.c 8.1 (Berkeley) 6/6/93"; #include <sys/cdefs.h> __FBSDID("$FreeBSD: src/usr.bin/leave/leave.c,v 1.12 2002/09/04 23:29:03 dwmalone Exp $"); +#include <sys/types.h> #include <err.h> #include <ctype.h> #include <locale.h> diff --git a/misc_cmds/ncal/Makefile b/misc_cmds/ncal/Makefile new file mode 100644 index 0000000..96408c6 --- /dev/null +++ b/misc_cmds/ncal/Makefile @@ -0,0 +1,6 @@ +PROG= ncal +SRCS= calendar.c easter.c ncal.c + +LDADD=-lncursesw + +.include <bsd.prog.mk> diff --git a/misc_cmds/ncal/ncal.c b/misc_cmds/ncal/ncal.c index 5a5cbc3..105fa95 100644 --- a/misc_cmds/ncal/ncal.c +++ b/misc_cmds/ncal/ncal.c @@ -27,7 +27,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <calendar.h> +#include "calendar.h" #include <ctype.h> #include <err.h> #include <langinfo.h> diff --git a/misc_cmds/tsort/Makefile b/misc_cmds/tsort/Makefile new file mode 100644 index 0000000..44c9898 --- /dev/null +++ b/misc_cmds/tsort/Makefile @@ -0,0 +1,3 @@ +PROG= tsort + +.include <bsd.prog.mk> diff --git a/misc_cmds/units/Makefile b/misc_cmds/units/Makefile new file mode 100644 index 0000000..e9f84b8 --- /dev/null +++ b/misc_cmds/units/Makefile @@ -0,0 +1,5 @@ +PROG= units +FILES= units.lib +FILESDIR= ${SHAREDIR}/misc + +.include <bsd.prog.mk> |