From: Cameron Katri Date: Mon, 10 May 2021 13:29:27 +0000 (-0400) Subject: misc_cmds: All compiled X-Git-Tag: v1.0~47 X-Git-Url: https://git.cameronkatri.com/apple_cmds.git/commitdiff_plain/b97536ac7d04672f18be04ae717f48ba84fb1510 misc_cmds: All compiled --- 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 diff --git a/misc_cmds/calendar/Makefile b/misc_cmds/calendar/Makefile new file mode 100644 index 0000000..f98beae --- /dev/null +++ b/misc_cmds/calendar/Makefile @@ -0,0 +1,10 @@ +# @(#)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 + +.include 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 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 __FBSDID("$FreeBSD: src/usr.bin/leave/leave.c,v 1.12 2002/09/04 23:29:03 dwmalone Exp $"); +#include #include #include #include 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 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 __FBSDID("$FreeBSD$"); -#include +#include "calendar.h" #include #include #include 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 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