link with LIBROKEN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1149 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -44,6 +44,7 @@ LIB_OBJECTS = otp.o otp_challenge.o otp_db.o otp_md.o \
 | 
				
			|||||||
OTPTEST_OBJECTS = otptest.o
 | 
					OTPTEST_OBJECTS = otptest.o
 | 
				
			||||||
 | 
					
 | 
				
			||||||
OBJECTS = $(LIB_OBJECTS) $(OTPTEST_OBJECTS)
 | 
					OBJECTS = $(LIB_OBJECTS) $(OTPTEST_OBJECTS)
 | 
				
			||||||
 | 
					LIBROKEN=-L../../lib/roken -lroken
 | 
				
			||||||
 | 
					
 | 
				
			||||||
all: $(LIB) $(PROGS)
 | 
					all: $(LIB) $(PROGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -77,7 +78,7 @@ realclean: distclean
 | 
				
			|||||||
	rm -f TAGS
 | 
						rm -f TAGS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
otptest: $(OTPTEST_OBJECTS)
 | 
					otptest: $(OTPTEST_OBJECTS)
 | 
				
			||||||
	$(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(OTPTEST_OBJECTS) -L. -lotp -L../des -ldes $(LIBS)
 | 
						$(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(OTPTEST_OBJECTS) -L. -lotp -L../des -ldes $(LIBROKEN) $(LIBS) $(LIBROKEN)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(LIBNAME).a: $(LIB_OBJECTS)
 | 
					$(LIBNAME).a: $(LIB_OBJECTS)
 | 
				
			||||||
	rm -f $@
 | 
						rm -f $@
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user