1999-06-14 13:29:14 +00:00
|
|
|
*** ../../wmmon.app/wmmon/Makefile.orig Tue May 19 17:13:16 1998
|
|
|
|
--- ../../wmmon.app/wmmon/Makefile Mon May 24 21:38:45 1999
|
1998-12-11 15:22:46 +00:00
|
|
|
***************
|
1999-06-14 13:29:14 +00:00
|
|
|
*** 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
|
1999-01-04 03:40:06 +00:00
|
|
|
! CFLAGS ?= -O2
|
|
|
|
! CFLAGS += -g -Wall -I/usr/X11R6/include
|
1999-06-14 13:29:14 +00:00
|
|
|
! 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)
|
1998-12-11 15:22:46 +00:00
|
|
|
|
1999-06-14 13:29:14 +00:00
|
|
|
! all:: $(PROG)
|
1998-12-11 15:22:46 +00:00
|
|
|
|
1999-06-14 13:29:14 +00:00
|
|
|
clean::
|
|
|
|
! rm -f $(OBJS)
|
|
|
|
! rm -f $(PROG)
|
|
|
|
!
|
|
|
|
! install::
|
|
|
|
! install -c -g kmem -m 2755 -o root $(PROG) ${PREFIX}/bin
|
|
|
|
!
|