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
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <stdio.h>
|
||||
#if __STDC__ == 1
|
||||
#if __STDC__ == 1
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#else
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB -DNFS
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -62,14 +62,14 @@ struct direct {
|
|||
#include <sys/stat.h>
|
||||
#ifdef UNK
|
||||
#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. */
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
|
||||
#error exactly one of UFS, BFS, or NFS must be defined
|
||||
#if defined(UFS) + defined(BFS) + defined(NFS) != 1 /* sanity check */
|
||||
#error exactly one of UFS, BFS, or NFS must be defined
|
||||
#endif
|
||||
|
||||
#ifdef UFS
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
int open(const char *path, int flags);
|
||||
|
||||
#if defined(__BSD4_2)
|
||||
#if defined(__BSD4_2)
|
||||
typedef int off_t; /* see lseek(2) */
|
||||
#else
|
||||
typedef long off_t;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
CFLAGS=-L -LIB
|
||||
|
||||
.SUFFIXES: .o .e .c
|
||||
|
||||
.e.o:
|
||||
|
|
|
@ -22,8 +22,8 @@ struct timezone {
|
|||
|
||||
int gettimeofday(struct timeval *tp, struct timezone *tzp);
|
||||
|
||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||
#if !defined(_MINIX) /* MINIX has no ftime() */
|
||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||
#if !defined(_MINIX) /* MINIX has no ftime() */
|
||||
struct timeb {
|
||||
long time;
|
||||
undigned short millitm;
|
||||
|
@ -283,7 +283,7 @@ _tzset(void)
|
|||
_daylight = tz.tz_dsttime;
|
||||
_timezone = tz.tz_minuteswest * 60;
|
||||
|
||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||
#elif !defined(_POSIX_SOURCE) && !defined(__USG)
|
||||
|
||||
#if !defined(_MINIX) /* MINIX has no ftime() */
|
||||
struct timeb time;
|
||||
|
|
Loading…
Reference in a new issue