]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
misc_cmds: All compiled
authorCameron Katri <me@cameronkatri.com>
Mon, 10 May 2021 13:29:27 +0000 (09:29 -0400)
committerCameron Katri <me@cameronkatri.com>
Mon, 10 May 2021 13:29:27 +0000 (09:29 -0400)
misc_cmds/Makefile [new file with mode: 0644]
misc_cmds/calendar/Makefile [new file with mode: 0644]
misc_cmds/leave/Makefile [new file with mode: 0644]
misc_cmds/leave/leave.c
misc_cmds/ncal/Makefile [new file with mode: 0644]
misc_cmds/ncal/ncal.c
misc_cmds/tsort/Makefile [new file with mode: 0644]
misc_cmds/units/Makefile [new file with mode: 0644]

diff --git a/misc_cmds/Makefile b/misc_cmds/Makefile
new file mode 100644 (file)
index 0000000..4110807
--- /dev/null
@@ -0,0 +1,7 @@
+SUBDIR=        calendar \
+       leave \
+       ncal \
+       tsort \
+       units
+
+.include <bsd.subdir.mk>
diff --git a/misc_cmds/calendar/Makefile b/misc_cmds/calendar/Makefile
new file mode 100644 (file)
index 0000000..f98beae
--- /dev/null
@@ -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 <bsd.prog.mk>
diff --git a/misc_cmds/leave/Makefile b/misc_cmds/leave/Makefile
new file mode 100644 (file)
index 0000000..1a08221
--- /dev/null
@@ -0,0 +1,3 @@
+PROG=  leave
+
+.include <bsd.prog.mk>
index c1db13606cb09f273e9f90a040c09ba5b47ed3b2..69cd3fb297195685772de184d57cd47d42babd60 100644 (file)
@@ -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 (file)
index 0000000..96408c6
--- /dev/null
@@ -0,0 +1,6 @@
+PROG=  ncal
+SRCS=  calendar.c easter.c ncal.c
+
+LDADD=-lncursesw
+
+.include <bsd.prog.mk>
index 5a5cbc3553abfe022fe8c6030ac2d8cf12665999..105fa952a27e044998df7095a71ccd41248f3873 100644 (file)
@@ -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 (file)
index 0000000..44c9898
--- /dev/null
@@ -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 (file)
index 0000000..e9f84b8
--- /dev/null
@@ -0,0 +1,5 @@
+PROG=  units
+FILES= units.lib
+FILESDIR=      ${SHAREDIR}/misc
+
+.include <bsd.prog.mk>