diff --git a/WEGA/contrib/lcc/lib/libc/port/gen/makefile b/WEGA/contrib/lcc/lib/libc/port/gen/makefile new file mode 100644 index 0000000..b3f02a3 --- /dev/null +++ b/WEGA/contrib/lcc/lib/libc/port/gen/makefile @@ -0,0 +1,38 @@ +# makefile for libc/port/gen +# +# + +SHELL=/bin/sh + +CC=lcc +CFLAGS=-O + +OBJECTS=\ +a64l.o abort.o assert.o \ +atof.o atoi.o atol.o bsearch.o \ +clock.o crypt.o ctime.o \ +ctype.o drand48.o ecvt.o \ +errlst.o execvp.o fakcu.o frexp.o \ +ftok.o ftw.o gcvt.o getcwd.o \ +getenv.o getgrent.o getgrgid.o getgrnam.o \ +getlogin.o getopt.o getpw.o getpwent.o \ +getpwnam.o getpwuid.o \ +getut.o hsearch.o isatty.o \ +l3.o l64a.o ldexp.o lsearch.o \ +mktemp.o modf.o \ +nlist.o perror.o putpwent.o \ +qsort.o rand.o sleep.o ssignal.o \ +strtol.o swab.o tell.o \ +tolower.o toupper.o tsearch.o ttyname.o \ +ttyslot.o + +all: $(OBJECTS) + +.c.o: + @echo $*.c: + $(CC) $(CFLAGS) -c $*.c + +nlist.o: + @echo $*.c: + $(CC) $(CFLAGS) -c -DFLEXNAMES nlist.c + diff --git a/WEGA/contrib/lcc/lib/libc/port/print/makefile b/WEGA/contrib/lcc/lib/libc/port/print/makefile new file mode 100644 index 0000000..62c6866 --- /dev/null +++ b/WEGA/contrib/lcc/lib/libc/port/print/makefile @@ -0,0 +1,19 @@ +# makefile for libc/port/print +# + +SHELL=/bin/sh +INCROOT=/z/LCC + +CC=lcc +CFLAGS=-O + +OBJECTS=\ +doprnt.o fprintf.o printf.o sprintf.o + +all: $(OBJECTS) + +doprnt.o: print.h + +.c.o: + @echo $*.c: + $(CC) $(CFLAGS) -c $*.c diff --git a/WEGA/contrib/lcc/lib/libc/port/stdio/makefile b/WEGA/contrib/lcc/lib/libc/port/stdio/makefile new file mode 100644 index 0000000..a2135c2 --- /dev/null +++ b/WEGA/contrib/lcc/lib/libc/port/stdio/makefile @@ -0,0 +1,31 @@ +# +# makefile for libc/port/stdio +# + +SHELL=/bin/sh +INCROOT = + +CC=lcc +CFLAGS=-O + +OBJECTS=\ +clrerr.o ctermid.o \ +cuserid.o data.o doscan.o fdopen.o \ +fgetc.o fgets.o filbuf.o findiop.o \ +flsbuf.o fopen.o fputc.o fputs.o \ +fread.o fseek.o ftell.o fwrite.o \ +getchar.o getpass.o gets.o getw.o \ +popen.o putchar.o puts.o putw.o \ +rew.o scanf.o setbuf.o system.o \ +tempnam.o tmpfile.o tmpnam.o ungetc.o + +all: $(OBJECTS) + +fgets.o flsbuf.o \ + fputs.o fread.o \ + fwrite.o gets.o \ + puts.o: stdiom.h + +.c.o: + @echo $*.c: + $(CC) $(CFLAGS) -c $*.c