"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.3/libcanlock/Makefile.in" (25 Jan 2018, 1620 Bytes) of package /linux/misc/tin-2.4.3.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.2_vs_2.4.3.

    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/secret.o 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 canlock
   19 
   20 canlock : util/canlock.c $(LOCKLIB)
   21 	@SHOW_CC@
   22 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) util/$@.c -o $@ $(LDFLAGS)
   23 
   24 canlocktest : test/canlocktest.c $(LOCKLIB)
   25 	@SHOW_CC@
   26 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) test/$@.c -o $@ $(LDFLAGS)
   27 
   28 shatest : test/hkdf.o $(LOCKLIB)
   29 	@SHOW_CC@
   30 	@ECHO_CC@$(CC) $(CPPFLAGS) $(CFLAGS) test/$@.c -o $@ test/hkdf.o $(LDFLAGS)
   31 
   32 src/base64.o : src/base64.c include/base64.h
   33 src/canlock.o : src/canlock.c include/canlock.h
   34 src/secret.o : src/secret.c include/canlock.h
   35 src/hmac.o : src/hmac.c include/sha.h
   36 src/usha.o : src/usha.c include/sha.h
   37 src/sha1.o : src/sha1.c include/sha.h
   38 src/sha224-256.o : src/sha224-256.c include/sha.h
   39 src/sha384-512.o : src/sha384-512.c include/sha.h
   40 test/hkdf.o : test/hkdf.c include/sha.h
   41 
   42 lib : $(LOCKLIB)
   43 $(LOCKLIB) : $(LIBOBJS)
   44 	@-$(RM) -f $(LOCKLIB)
   45 	$(ARCHIVE) $(LOCKLIB) $(LIBOBJS)
   46 	$(RANLIB) $(LOCKLIB)
   47 
   48 clean :
   49 	@-$(RM) -f src/*.o test/*.o test/*.out *.gmon gmon.*
   50 
   51 distclean : clean
   52 	@-$(RM) -f *.a canlock canlocktest shatest *.exe
   53 	@-$(RM) -rf canlock.dSYM canlocktest.dSYM shatest.dSYM
   54 
   55 test : canlocktest shatest
   56 	@echo "shatest: "
   57 	@./shatest -p
   58 	@echo
   59 	@echo "canlocktest: "
   60 	@./canlocktest