1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/sysutils/asmem/files/patch-aa

36 lines
962 B
Plaintext
Raw Normal View History

--- 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\