source: trunk/cscrypt/Makefile@ 4012

Last change on this file since 4012 was 4012, checked in by schlocke, 10 years ago

cccam: added full cccam 2.2.x support !!

File size: 824 bytes
Line 
1SHELL = /bin/sh
2
3GENERAL = Makefile cscrypt.h des.h bn.h
4
5LIBDIR = ../lib
6LIBFILE1 = $(LIBDIR)/libcscrypt-$(TYP).a
7
8OBJECTS1 = $(LIBFILE1)(md5.o) \
9 $(LIBFILE1)(crc32.o) \
10 $(LIBFILE1)(des.o) \
11 $(LIBFILE1)(bn_add.o) \
12 $(LIBFILE1)(bn_asm.o) \
13 $(LIBFILE1)(bn_ctx.o) \
14 $(LIBFILE1)(bn_div.o) \
15 $(LIBFILE1)(bn_exp.o) \
16 $(LIBFILE1)(bn_lib.o) \
17 $(LIBFILE1)(bn_mul.o) \
18 $(LIBFILE1)(bn_print.o) \
19 $(LIBFILE1)(bn_shift.o) \
20 $(LIBFILE1)(bn_sqr.o) \
21 $(LIBFILE1)(bn_word.o) \
22 $(LIBFILE1)(i_cbc.o) \
23 $(LIBFILE1)(i_skey.o) \
24 $(LIBFILE1)(mem.o) \
25 $(LIBFILE1)(rc6.o) \
26 $(LIBFILE1)(i_ecb.o)
27
28all: $(LIBFILE1)
29
30$(LIBFILE1): $(OBJECTS1)
31 -@$(RANLIB) $@
32
33$(OBJECTS1): $(GENERAL)
34
35.c.a:
36 $(CC) $(CFLAGS) $<
37 $(AR) $(ARFLAGS) $@ $*.o
38 -@rm -f $*.o
39
40.SUFFIXES: .o .c .a
Note: See TracBrowser for help on using the repository browser.