aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/Makefile.am
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-09-16 22:59:18 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-09-16 22:59:18 +0200
commit2749c0bfbfed432e5cc8cba96b7732753c9ad1a2 (patch)
tree5585f841480ccfd9c5f790df63eb3d96b6ca2fe9 /include/osmocom/core/Makefile.am
parentdef0afed23bbda21bb2bf27e6f5284e5557a1cd3 (diff)
core: Add generic CRC functions (templates expended to 8 16 32 64 bits)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'include/osmocom/core/Makefile.am')
-rw-r--r--include/osmocom/core/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/osmocom/core/Makefile.am b/include/osmocom/core/Makefile.am
index f131269d..aabb775f 100644
--- a/include/osmocom/core/Makefile.am
+++ b/include/osmocom/core/Makefile.am
@@ -3,7 +3,8 @@ osmocore_HEADERS = signal.h linuxlist.h timer.h select.h msgb.h bits.h \
gsmtap.h write_queue.h prim.h \
logging.h rate_ctr.h gsmtap_util.h \
crc16.h panic.h process.h \
- backtrace.h conv.h application.h
+ backtrace.h conv.h application.h \
+ crcgen.h crc8gen.h crc16gen.h crc32gen.h crc64gen.h
if ENABLE_PLUGIN
osmocore_HEADERS += plugin.h
@@ -22,3 +23,7 @@ osmocore_HEADERS += serial.h
endif
osmocoredir = $(includedir)/osmocom/core
+
+crc%gen.h: crcXXgen.h.tpl
+ @echo " SED $< -> $@"
+ @sed -e's/XX/$*/g' $< > $@