--- src/Makefile.orig 1998-06-08 00:25:16 UTC +++ src/Makefile @@ -27,10 +27,10 @@ # make install # -BIN =/usr/local/etc +BIN = ${PREFIX}/bin #CC =gcc -CFLAGS =-O +CFLAGS +=-DHAVE_SYS_PARAM_H #CFLAGS =-g # debug #CFLAGS =-g -DDEBUGMODE @@ -51,7 +51,7 @@ all:: dbsc dbsd obj:: (cd ../obj/$(UNAME); make) -UNAME = `uname|tr -d '/'``uname -r|tr -d '/'` +UNAME = `uname|tr -d '/'` dir:: -@ mkdir ../obj -@ mkdir ../obj/$(UNAME) @@ -74,7 +74,7 @@ tags:: etags *.c *.h install:: - cp -p dbsc dbsd ../script/dbs_view $(BIN) + cp -p dbsc dbsd ../../script/dbs_view $(BIN) dbsc: dbsc.o scan.o dbs.o $(CC) $(BSTATIC) dbsc.o scan.o dbs.o -o $@ -lm $(LDFLAGS)