blob: b9c7bfde64146a97e595fff6516520ab9255e4b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
--- Makefile.orig Tue Nov 17 10:15:33 1998
+++ Makefile Mon Apr 12 23:23:28 1999
@@ -21,47 +21,10 @@
OS = $(shell uname -s)
OS_RELEASE = $(shell uname -r)
-ifeq ($(OS),OSF1)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -g -O2
- SYS_DEFS = -DOSF_CPBK
-endif
-
-ifeq ($(OS),SunOS)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -g -O2
- SYS_DEFS = -DSOL26_CPBK -D__STDC__
-endif
-
-ifeq ($(OS),AIX)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -g -O2
- SYS_DEFS = -DAIX_CPBK
-endif
-
-ifeq ($(OS),HP-UX)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -g -O2
- SYS_DEFS = -DHPUX_CPBK -D__STDC__
-endif
-
-ifeq ($(OS),Linux)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -g -O2
- SYS_DEFS = -DLINUX_CPBK
-endif
-
-ifeq ($(OS),IRIX)
- CC = gcc
- SYS_LIBS =
- SYS_FLAGS = -O2 -g
- SYS_DEFS = -DIRIX_CPBK
-endif
+CC = gcc
+SYS_LIBS =
+SYS_FLAGS = -O2
+SYS_DEFS = -DFBSD_CPBK
CFLAGS = $(NDFLAGS) $(SYS_FLAGS) $(SYS_DEFS)
@@ -75,7 +38,7 @@
make $(prog)
$(prog): $(OBJS)
- $(CC) $(PG) $(LDFLAGS) -o $(prog) $(OBJS)
+ $(CC) -I. -I/usr/include $(PG) $(LDFLAGS) -o $(prog) $(OBJS)
clean:
$(RM) $(CLEAN_FLAGS) $(prog) $(OBJS)
|