# Generated automatically from Makefile.in by configure.
#CC = cc
CFLAGS = -fno-common -I/usr/X11R6/include
#CPPFLAGS =
LIBS =
LDFLAGS =
XLIBS = -L/usr/X11R6/lib -lX11 $(LIBS)
X_CFLAGS = -I/usr/X11R6/include
SRCS = xsysstats.c porting.c
OBJS = xsysstats.o porting.o
HDRS = xsysstats.h
prefix = /usr/local
exec_prefix = ${prefix}
# program to install with. cp would probably work
INSTALL = /usr/bin/install -c -o root -g wheel
#where to install the program
BINDIR = ${exec_prefix}/bin
#where to put the man page, and its extension
MANDIR = ${prefix}/man/man1
xsysstats: $(OBJS)
$(CC) $(X_CFLAGS) $(LDFLAGS) $^ -o $@ $(XLIBS)
xysstats.o: xsysstats.c xsysstats.h config.h headers.h
porting.o: xsysstats.c xsysstats.h config.h headers.h
install:
mkdir -p $(BINDIR)
$(INSTALL) xsysstats $(BINDIR)/xsysstats
mkdir -p $(MANDIR)
$(INSTALL) xsysstats.man $(MANDIR)/xsysstats.1
clean:
rm -f *.o core xsysstats
syntax highlighted by Code2HTML, v. 0.9.1