From: Philip Homburg Date: Mon, 25 Feb 2008 10:25:43 +0000 (+0000) Subject: Link random number genertor with libdriver_asyn X-Git-Tag: v3.1.4~250 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/addsub.png?a=commitdiff_plain;h=830b79f0d56c17a344b1f0871826e3e4cbdd551a;p=minix.git Link random number genertor with libdriver_asyn --- diff --git a/drivers/random/Makefile b/drivers/random/Makefile index 0af80f460..ec447e5f9 100644 --- a/drivers/random/Makefile +++ b/drivers/random/Makefile @@ -13,14 +13,15 @@ d = .. MAKE = exec make CC = exec cc CFLAGS = -I$i $(CPROFILE) -LDFLAGS = -i -L../libdriver +LDFLAGS = -i -L../libdriver_asyn LIBS = -lsysutil -ldriver -lsys +LIB_DEPS=../libdriver_asyn/libdriver.a OBJ = main.o random.o sha2.o aes/rijndael_api.o aes/rijndael_alg.o # build local binary all build: $(DRIVER) -$(DRIVER): $(OBJ) +$(DRIVER): $(OBJ) $(LIB_DEPS) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) install -S 8k $(DRIVER)