changed Makefile
This commit is contained in:
parent
caf06d3a7b
commit
f4e1d47704
17 changed files with 8 additions and 34 deletions
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if __STDC__ == 1
|
#if __STDC__ == 1
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB -DNFS
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -62,14 +62,14 @@ struct direct {
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifdef UNK
|
#ifdef UNK
|
||||||
#ifndef UFS
|
#ifndef UFS
|
||||||
#error UNK applies only to UFS
|
#error UNK applies only to UFS
|
||||||
/* One could do something similar for getdirentries(), but I didn't bother. */
|
/* One could do something similar for getdirentries(), but I didn't bother. */
|
||||||
#endif
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
|
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
|
||||||
#error exactly one of UFS, BFS, or NFS must be defined
|
#error exactly one of UFS, BFS, or NFS must be defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef UFS
|
#ifdef UFS
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
int open(const char *path, int flags);
|
int open(const char *path, int flags);
|
||||||
|
|
||||||
#if defined(__BSD4_2)
|
#if defined(__BSD4_2)
|
||||||
typedef int off_t; /* see lseek(2) */
|
typedef int off_t; /* see lseek(2) */
|
||||||
#else
|
#else
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
CFLAGS=-L -LIB
|
|
||||||
|
|
||||||
.SUFFIXES: .o .e .c
|
.SUFFIXES: .o .e .c
|
||||||
|
|
||||||
.e.o:
|
.e.o:
|
||||||
|
|
|
@ -22,8 +22,8 @@ struct timezone {
|
||||||
|
|
||||||
int gettimeofday(struct timeval *tp, struct timezone *tzp);
|
int gettimeofday(struct timeval *tp, struct timezone *tzp);
|
||||||
|
|
||||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||||
#if !defined(_MINIX) /* MINIX has no ftime() */
|
#if !defined(_MINIX) /* MINIX has no ftime() */
|
||||||
struct timeb {
|
struct timeb {
|
||||||
long time;
|
long time;
|
||||||
undigned short millitm;
|
undigned short millitm;
|
||||||
|
@ -283,7 +283,7 @@ _tzset(void)
|
||||||
_daylight = tz.tz_dsttime;
|
_daylight = tz.tz_dsttime;
|
||||||
_timezone = tz.tz_minuteswest * 60;
|
_timezone = tz.tz_minuteswest * 60;
|
||||||
|
|
||||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||||
|
|
||||||
#if !defined(_MINIX) /* MINIX has no ftime() */
|
#if !defined(_MINIX) /* MINIX has no ftime() */
|
||||||
struct timeb time;
|
struct timeb time;
|
||||||
|
|
Loading…
Reference in a new issue