Check-in [cf7fb7a85f]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added start of work on generating (rather than maintaining) algorithms database
Timelines: family | ancestors | descendants | both | new-driver
Files: files | file ages | folders
SHA1: cf7fb7a85f75c6993651a0c59a3962a390250930
User & Date: rkeene 2013-03-11 20:42:15
Context
2013-03-11
21:11
Cleanup check-in: 967ee806c7 user: rkeene tags: new-driver
20:42
Added start of work on generating (rather than maintaining) algorithms database check-in: cf7fb7a85f user: rkeene tags: new-driver
20:29
Corrected documentation related to CRCs check-in: 65a27ff666 user: rkeene tags: new-driver
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.in.

19
20
21
22
23
24
25

26
27
28
29
30

31
32
33
34
35
36

37
38
39

40
41
42
43
44
45
46
47
48









49
50
51
52
53
54
55
SHLIBOBJS = libdact_shr.o
SRCOBJS = $(LIBOBJS:.o=.c)

# Default build target
all: libdact.@SHOBJEXT@ libdact.@AREXT@

# Specific build rules

libdact.@SHOBJEXT@: $(SHLIBOBJS) libdact.vers
	$(CC) $(CFLAGS) $(SHOBJLDFLAGS) -o libdact.@SHOBJEXT@ $(LDFLAGS) $(SHLIBOBJS)
	@WEAKENSYMS@ libdact.@SHOBJEXT@
	@REMOVESYMS@ libdact.@SHOBJEXT@


libdact.@AREXT@: libdact_combined_shr.o
	@WEAKENSYMS@ libdact_combined_shr.o
	@REMOVESYMS@ libdact_combined_shr.o
	$(AR) cr libdact.@AREXT@ libdact_combined_shr.o
	$(RANLIB) libdact.@AREXT@


libdact_combined.c: $(SRCOBJS)
	cat $(SRCOBJS) > libdact_combined.c


libdact.vers: libdact.syms.in
	echo '{' > libdact.vers
	echo '  global:' >> libdact.vers
	for symbol in `cat libdact.syms.in | sed 's/^@''SYMPREFIX@//'`; do \
		echo "          $${symbol};"; \
	done >> libdact.vers
	echo '  local:' >> libdact.vers
	echo '          *;' >> libdact.vers
	echo '};' >> libdact.vers










# Generic build rules
%.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o "$@" -c "$^"

%_shr.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(SHOBJFLAGS) -o "$@" -c "$^"







>





>






>



>









>
>
>
>
>
>
>
>
>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
SHLIBOBJS = libdact_shr.o
SRCOBJS = $(LIBOBJS:.o=.c)

# Default build target
all: libdact.@SHOBJEXT@ libdact.@AREXT@

# Specific build rules
## Build shared object
libdact.@SHOBJEXT@: $(SHLIBOBJS) libdact.vers
	$(CC) $(CFLAGS) $(SHOBJLDFLAGS) -o libdact.@SHOBJEXT@ $(LDFLAGS) $(SHLIBOBJS)
	@WEAKENSYMS@ libdact.@SHOBJEXT@
	@REMOVESYMS@ libdact.@SHOBJEXT@

## Build static object
libdact.@AREXT@: libdact_combined_shr.o
	@WEAKENSYMS@ libdact_combined_shr.o
	@REMOVESYMS@ libdact_combined_shr.o
	$(AR) cr libdact.@AREXT@ libdact_combined_shr.o
	$(RANLIB) libdact.@AREXT@

## Build amalgamation of source to build a single object file
libdact_combined.c: $(SRCOBJS)
	cat $(SRCOBJS) > libdact_combined.c

## Build GNU LD version script to strip symbols
libdact.vers: libdact.syms.in
	echo '{' > libdact.vers
	echo '  global:' >> libdact.vers
	for symbol in `cat libdact.syms.in | sed 's/^@''SYMPREFIX@//'`; do \
		echo "          $${symbol};"; \
	done >> libdact.vers
	echo '  local:' >> libdact.vers
	echo '          *;' >> libdact.vers
	echo '};' >> libdact.vers

## Build structures of registered components
### Compression algorithms
algorithms.h algorithms.c: algorithms.h.in algorithms.c.in registration/compression
	false

### Encryption algorithms
ciphers.h ciphers.c: ciphers.h.in ciphers.c.in registration/compression
	false

# Generic build rules
%.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o "$@" -c "$^"

%_shr.o: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(SHOBJFLAGS) -o "$@" -c "$^"

Added registration/compression.



>
1
0 plain Plain compression