libqaeda

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

Makefile (1540B)


      1 INCLUDES := -I. -I./aux/include
      2 CFLAGS +=  $(INCLUDES) -Wall -DRERR
      3 #LIBOBJFILES = ./asn1/*.o ./*.o ./lq/*.o ./store/file.o ./mem/std.o ./io/std.o ./crypto/gcrypt.o
      4 LIBOBJFILES = ./asn1/*.o ./*.o ./lq/*.o ./store/file.o ./mem/std.o ./io/std.o ./crypto/gcrypt.o ./aux/hashmap.c/hashmap.o ./aux/liblash/src/rerr/*.o ./aux/liblash/src/llog/*.o ./aux/liblash/src/endian/*.o ./aux/liblash/src/hex/*.o  ./aux/liblash/src/case/*.o ./aux/cwalk/build/CMakeFiles/cwalk.dir/src/cwalk.c.o
      5 
      6 #LIBOBJEMBED = ./aux/lib/liblash.a #./aux/lib/libcwalk.a
      7 LIBS := `pkg-config --libs libtasn1 libgcrypt` -L./aux/lib -llash -lcwalk
      8 
      9 all: all-gpg
     10 all-dummy: asn1 aux core dummy
     11 all-gpg: asn1 aux core gpg
     12 
     13 dev-lib: all
     14 	#ar rcs liblq.a lq/config.o crypto/gcrypt.o store/file.o mem/std.o io/std.o debug.o aux/lib/libhashmap.a 
     15 	ar rcs libqaeda.a $(LIBOBJFILES)
     16 	#libtool --mode=link --tag=CC $(CC) -static -o libqaeda.a liblq.a ./aux/lib/liblash.a ./aux/lib/libcwalk.a
     17 
     18 test-lib:
     19 
     20 core: dummy
     21 	$(CC) $(CFLAGS) -c debug.c
     22 	make -C lq
     23 
     24 aux:
     25 	make -C aux
     26 
     27 asn1:
     28 	make -C asn1 all
     29 
     30 gpg:
     31 	make -C crypto gpg
     32 	make -C mem std
     33 	make -C io std
     34 	make -C store dummy
     35 
     36 dummy:
     37 	make -C crypto dummy
     38 	make -C mem std
     39 	make -C io std
     40 	make -C store dummy
     41 
     42 test: all test-lib 
     43 	make -C test
     44 
     45 clean:
     46 	make -C asn1 clean
     47 	make -C lq clean
     48 	make -C test clean
     49 	make -C mem clean
     50 	make -C crypto clean
     51 	rm -vf *.o *.a *.so
     52 
     53 #shared-gpg: core aux asn1 gpg
     54 	#make -C aux/liblash/src lib
     55 	#$(CC) $(CFLAGS) -shared -o libqaeda.so $(LIBOBJFILES) $(LIBOBJEMBED)
     56 			
     57 
     58 .PHONY: clean asn1 aux