mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
152cd3d823
correct in that sys/rlist.h is not on 4.0+. If some kind soul would like to fix this, that'd be nice. This update also fixes CFLAGS ignorance. PR: 16692 Not objected to by: maintainer
36 lines
962 B
Plaintext
36 lines
962 B
Plaintext
--- Makefile.UNIX Sat Mar 6 09:13:53 1999
|
|
+++ Makefile.UNIX.new Sun Feb 13 01:23:54 2000
|
|
@@ -5,19 +5,19 @@
|
|
|
|
# The location and names of the X11 libraries
|
|
LDIR = -L/usr/X11R6/lib
|
|
-LIBS = -lXpm -lX11
|
|
+LIBS = -lXpm -lX11 -lkvm
|
|
|
|
# The include path to the X11 files
|
|
C_INCLUDE = -I. -I/usr/X11R6/include
|
|
|
|
#-----------------------------------------------------
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
COPTS = -O2 -pipe -Wall -Wshadow
|
|
#COMPILE_FLAGS = -DDEBUG -DTEST -g
|
|
|
|
-CFLAGS = $(COPTS) $(COMPILE_FLAGS) $(C_INCLUDE)
|
|
+CFLAGS = $(PCFLAGS) $(COPTS) $(COMPILE_FLAGS) $(C_INCLUDE)
|
|
|
|
-OBJ = asmem.o asmem_x.o read_mem.o x_color.o safecopy.o
|
|
+OBJ = asmem.o asmem_x.o kvm_read.o x_color.o safecopy.o
|
|
|
|
all: asmem
|
|
@echo Ready.
|
|
@@ -34,7 +34,7 @@
|
|
x_color.o: x_color.c
|
|
$(CC) -c $< $(CFLAGS) -o $@
|
|
|
|
-read_mem.o: read_mem.h read_mem.c state.h
|
|
+kvm_read.o: read_mem.h kvm_read.c state.h
|
|
$(CC) -c $< $(CFLAGS) -o $@
|
|
|
|
asmem_x.o: asmem_x.c asmem_x.h x_color.h safecopy.h state.h\
|