From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/libc/mkpkg | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 sys/libc/mkpkg (limited to 'sys/libc/mkpkg') diff --git a/sys/libc/mkpkg b/sys/libc/mkpkg new file mode 100644 index 00000000..74349a1a --- /dev/null +++ b/sys/libc/mkpkg @@ -0,0 +1,168 @@ +# Mkpkg for the IRAF runtime C library. There is an additional dependence +# on the global C include which is not shown. Those files which +# reference have an implicit dependence on the VOS include +# files and , since the LIBC stdio routines reference the +# FIO internal data structures directly. + +$checkout libc.a lib$ +$update libc.a +$checkin libc.a lib$ +$exit + +libc.a: + $set XFLAGS = "$(XFLAGS) -/Wall" + + atof.c \ + + atoi.c + atol.c + caccess.c + calloc.c + callocate.c + cclktime.c + cclose.c + ccnvdate.c + ccnvtime.c + cdelete.c + cenvget.c + cenvlist.c + cenvmark.c + cenvscan.c + cerract.c \ + + cerrcode.c + cerrget.c + cerror.c + cfchdir.c + cfilbuf.c \ + + cfinfo.c \ + + cflsbuf.c \ + + cflush.c + cfmapfn.c + cfmkdir.c + cfnextn.c + cfnldir.c + cfnroot.c + cfpath.c + cfredir.c + cfseti.c + cfstati.c + cgetpid.c + cgetuid.c + cgflush.c + cimaccess.c + cimdrcur.c + ckimapc.c + clexnum.c \ + + cmktemp.c + cnote.c + copen.c + coscmd.c + cndopen.c + cpoll.c \ + + cprcon.c \ + + cprdet.c + cprintf.c + crcursor.c + crdukey.c + cread.c \ + + crename.c + creopen.c + csalloc.c + cseek.c + csppstr.c + cstropen.c + cstrpak.c + cstrupk.c + ctsleep.c + cttset.c + cttycdes.c + cttyclear.c + cttyclln.c + cttyctrl.c + cttygetb.c + cttygeti.c + cttygetr.c + cttygets.c + cttygoto.c + cttyinit.c + cttyodes.c + cttyputl.c + cttyputs.c + cttyseti.c + cttyso.c + cttystati.c + ctype.c + cungetc.c + cungetl.c + cvfnbrk.c + cwrite.c \ + + cxgmes.c \ + + cxonerr.c + cxttysize.c + cxwhen.c \ + + cwmsec.c + eprintf.c + fclose.c \ + + fdopen.c + fflush.c \ + + fgetc.c + fgets.c + fopen.c \ + + fputc.c + fputs.c + fread.c + freadline.c + free.c + freopen.c + fseek.c + ftell.c + fwrite.c + gets.c + getw.c + index.c + isatty.c + malloc.c + mathf.f + mktemp.c + perror.c \ + + printf.c \ + + puts.c + putw.c + qsort.c + realloc.c + rewind.c + rindex.c + scanf.c + setbuf.c + stgio.c + strcat.c + strcmp.c + strdup.c + strcpy.c + strlen.c + strncat.c + strncmp.c + strncpy.c + spf.c + sprintf.c \ + + system.c + ungetc.c \ + + ; -- cgit