"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.2/libcanlock/Makefile.in" (8 Aug 2017, 1407 Bytes) of package /linux/misc/tin-2.4.2.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.in": 2.4.1_vs_2.4.2.

    1 CFLAGS	= @CFLAGS@
    2 CPPFLAGS = @DEFS@ -Iinclude -I../include @CPPFLAGS@
    3 LDFLAGS	= @LDFLAGS@ -L. -lcanlock
    4 CC	= @CC@
    5 PRELIB	= @LIB_PREFIX@
    6 o	= .@OBJEXT@
    7 ARCHIVE = @AR@ @ARFLAGS@
    8 RANLIB  = @RANLIB@
    9 RM	= rm
   10 
   11 LIBOBJS = src/usha.o src/sha1.o src/sha224-256.o src/sha384-512.o src/hmac.o src/base64.o src/canlock.o
   12 LOCKLIB = $(PRELIB)canlock.a
   13 
   14 .c$o :
   15 	@SHOW_CC@
   16 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
   17 
   18 all : shatest canlocktest
   19 
   20 shatest : test/hkdf.o $(LOCKLIB)
   21 	@SHOW_CC@
   22 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) test/$@.c -o $@ test/hkdf.o $(LDFLAGS)
   23 
   24 canlocktest : test/canlocktest.c $(LOCKLIB)
   25 	@SHOW_CC@
   26 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) test/$@.c -o $@ $(LDFLAGS)
   27 
   28 src/base64.o : src/base64.c include/base64.h
   29 src/canlock.o : src/canlock.c include/canlock.h
   30 src/hmac.o : src/hmac.c include/sha.h
   31 src/usha.o : src/usha.c include/sha.h
   32 src/sha1.o : src/sha1.c include/sha.h
   33 src/sha224-256.o : src/sha224-256.c include/sha.h
   34 src/sha384-512.o : src/sha384-512.c include/sha.h
   35 test/hkdf.o : test/hkdf.c include/sha.h
   36 
   37 lib : $(LOCKLIB)
   38 $(LOCKLIB) : $(LIBOBJS)
   39 	@-$(RM) -f $(LOCKLIB)
   40 	$(ARCHIVE) $(LOCKLIB) $(LIBOBJS)
   41 	$(RANLIB) $(LOCKLIB)
   42 
   43 clean :
   44 	@-$(RM) -f src/*.o test/*.o test/*.out *.gmon gmon.*
   45 
   46 distclean : clean
   47 	@-$(RM) -f *.a canlocktest shatest *.exe *.h
   48 	@-$(RM) -rf canlocktest.dSYM shatest.dSYM
   49 
   50 test : all
   51 	@echo "shatest: "
   52 	@./shatest -p
   53 	@echo
   54 	@echo "canlocktest: "
   55 	@./canlocktest