1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/sysutils/wmmon/files/patch-aa

53 lines
1.0 KiB
Plaintext
Raw Normal View History

*** ../../wmmon.app/wmmon/Makefile.orig Tue May 19 17:13:16 1998
--- ../../wmmon.app/wmmon/Makefile Mon May 24 21:38:45 1999
***************
*** 1,19 ****
! LIBDIR = -L/usr/X11R6/lib
! LIBS = -lXpm -lXext -lX11
! OBJS = wmmon.o \
! ../wmgeneral/wmgeneral.o \
! ../wmgeneral/misc.o \
! ../wmgeneral/list.o
!
.c.o:
! cc -c -O2 -Wall $< -o $*.o
! wmmon: $(OBJS)
! cc -o wmmon $^ $(LIBDIR) $(LIBS)
clean::
! for i in $(OBJS) ; do \
! rm $$i;\
! done
! rm wmmon
--- 1,28 ----
! #
! # Makefile for FreeBSD 3.x and 4.0 versions of wmmon
! #
! LIBDIR = -L/usr/X11R6/lib
! LIBS = -lXpm -lXext -lX11 -lkvm -ldevstat
! CFLAGS ?= -O2
! CFLAGS += -g -Wall -I/usr/X11R6/include
! OBJS = wmmon.o \
! ../wmgeneral/wmgeneral.o \
! ../wmgeneral/misc.o \
! ../wmgeneral/list.o
! PROG = wmmon
.c.o:
! ${CC} -c $(CFLAGS) $< -o $*.o
!
! $(PROG): $(OBJS)
! ${CC} -o $@ $> -lXext $(LIBDIR) $(LIBS)
! all:: $(PROG)
clean::
! rm -f $(OBJS)
! rm -f $(PROG)
!
! install::
! install -c -g kmem -m 2755 -o root $(PROG) ${PREFIX}/bin
!