1999-12-25 01:43:15 +00:00
|
|
|
*** Makefile.orig Tue May 13 00:55:59 1997
|
|
|
|
--- Makefile Sat Dec 18 03:25:54 1999
|
1999-01-20 08:18:57 +00:00
|
|
|
***************
|
1999-12-25 01:43:15 +00:00
|
|
|
*** 6,27 ****
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
! CC =gcc
|
|
|
|
RM =rm
|
|
|
|
LN =ln
|
|
|
|
! INSTALL =install
|
|
|
|
CP =cp
|
|
|
|
TAR =tar
|
|
|
|
GZIP =gzip
|
|
|
|
|
|
|
|
# Binary directory for make install
|
|
|
|
! BINDIR =/usr/local/bin/X11
|
|
|
|
|
|
|
|
# Library directories for Linux
|
|
|
|
! XLIBDIR =/usr/X11R6/lib
|
|
|
|
|
|
|
|
# Include directory for gcc (if you get X11/Xlib.h: file not found)
|
|
|
|
! #INCDIR =-I/usr/X11R6/include
|
|
|
|
|
|
|
|
# Library directories for the Ultrix (probably most Unixes)
|
1999-12-25 01:43:15 +00:00
|
|
|
#XLIBDIR =/usr/lib/X11
|
|
|
|
--- 6,27 ----
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
! CC ?=gcc
|
|
|
|
RM =rm
|
|
|
|
LN =ln
|
|
|
|
! INSTALL ?=install
|
|
|
|
CP =cp
|
|
|
|
TAR =tar
|
|
|
|
GZIP =gzip
|
|
|
|
|
|
|
|
# Binary directory for make install
|
1999-06-06 18:11:04 +00:00
|
|
|
! BINDIR =$(PREFIX)/bin
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
# Library directories for Linux
|
|
|
|
! XLIBDIR =$(X11BASE)/lib
|
|
|
|
|
|
|
|
# Include directory for gcc (if you get X11/Xlib.h: file not found)
|
|
|
|
! INCDIR =-I$(X11BASE)/include
|
|
|
|
|
|
|
|
# Library directories for the Ultrix (probably most Unixes)
|
1999-12-25 01:43:15 +00:00
|
|
|
#XLIBDIR =/usr/lib/X11
|
1999-01-20 08:18:57 +00:00
|
|
|
***************
|
|
|
|
*** 34,40 ****
|
|
|
|
$(CC) $(INCDIR) $(CFLAGS) $(XPM) -c $*.c
|
|
|
|
|
|
|
|
# Linux CFLAGS (actually generic gcc)
|
|
|
|
! CFLAGS=-Wall -O2
|
|
|
|
|
|
|
|
# Want static binaries?
|
|
|
|
#CFLAGS=-Wall -O2 -static
|
|
|
|
--- 34,40 ----
|
|
|
|
$(CC) $(INCDIR) $(CFLAGS) $(XPM) -c $*.c
|
|
|
|
|
|
|
|
# Linux CFLAGS (actually generic gcc)
|
1999-12-25 01:43:15 +00:00
|
|
|
! #CFLAGS=-Wall -O2
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
# Want static binaries?
|
|
|
|
#CFLAGS=-Wall -O2 -static
|
|
|
|
***************
|
|
|
|
*** 48,54 ****
|
|
|
|
# Most Linux users won't be troubled by this. Actually almost nobody will
|
|
|
|
# be troubled by this. It just might save me a couple of emails...
|
|
|
|
# Just change it to wherever your libX11.a resides.
|
|
|
|
! LDFLAGS=-L$(XLIBDIR)
|
|
|
|
|
|
|
|
all: xbanner freetemp random_effect xb_check
|
|
|
|
|
|
|
|
--- 48,54 ----
|
|
|
|
# Most Linux users won't be troubled by this. Actually almost nobody will
|
|
|
|
# be troubled by this. It just might save me a couple of emails...
|
|
|
|
# Just change it to wherever your libX11.a resides.
|
|
|
|
! LDFLAGS+=-L$(XLIBDIR)
|
|
|
|
|
1999-12-25 01:43:15 +00:00
|
|
|
all: xbanner freetemp random_effect xb_check
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
***************
|
1999-06-06 18:11:04 +00:00
|
|
|
*** 70,79 ****
|
|
|
|
xb_check: xb_check.o
|
1999-01-20 08:18:57 +00:00
|
|
|
$(CC) $(CFLAGS) -o xb_check xb_check.o
|
|
|
|
|
1999-06-06 18:11:04 +00:00
|
|
|
! install: freetemp xbanner xb_check
|
1999-01-20 08:18:57 +00:00
|
|
|
! $(INSTALL) --strip --mode "0755" --owner root --group bin freetemp $(BINDIR)/freetemp
|
|
|
|
! $(INSTALL) --strip --mode "0755" --owner root --group bin xbanner $(BINDIR)/xbanner
|
|
|
|
! $(INSTALL) --strip --mode "0755" --owner root --group bin xb_check $(BINDIR)/xb_check
|
|
|
|
|
|
|
|
strip: exe
|
|
|
|
strip xbanner freetemp xb_check random_effect
|
1999-06-06 18:11:04 +00:00
|
|
|
--- 70,80 ----
|
1999-12-25 01:43:15 +00:00
|
|
|
xb_check: xb_check.o
|
|
|
|
$(CC) $(CFLAGS) -o xb_check xb_check.o
|
|
|
|
|
|
|
|
! install: freetemp xbanner xb_check random_effect
|
|
|
|
! ${BSD_INSTALL_PROGRAM} freetemp $(BINDIR)/freetemp
|
|
|
|
! ${BSD_INSTALL_PROGRAM} xbanner $(BINDIR)/xbanner
|
|
|
|
! ${BSD_INSTALL_PROGRAM} xb_check $(BINDIR)/xb_check
|
|
|
|
! ${BSD_INSTALL_PROGRAM} random_effect $(BINDIR)/random_effect
|
1999-01-20 08:18:57 +00:00
|
|
|
|
|
|
|
strip: exe
|
|
|
|
strip xbanner freetemp xb_check random_effect
|