- Timestamp:
- Aug 5, 2011, 11:57:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r335 r353 1258 1258 echo "KVERSION := \$$(shell uname -r)" > m_comp/Makefile;\ 1259 1259 echo "KSOURCE ?= /lib/modules/\$$(KVERSION)/build" >> m_comp/Makefile;\ 1260 echo "obj-m := samhain_kmem.o">> m_comp/Makefile;\1260 echo "obj-m := @install_name@_kmem.o" >> m_comp/Makefile;\ 1261 1261 echo ".PHONY: modules install clean modules_add" >> m_comp/Makefile;\ 1262 1262 echo "install : modules_add" >> m_comp/Makefile;\ … … 1264 1264 echo "T\$$(MAKE) -C \$$(KSOURCE) \$$@ SUBDIRS=\$$(CURDIR) KBUILD_VERBOSE=2" | tr T '\t' >> m_comp/Makefile;\ 1265 1265 cp config.h m_comp/; \ 1266 cp $(srcsrc)/samhain_kmem.c m_comp/ ; \1266 cp $(srcsrc)/samhain_kmem.c m_comp/@install_name@_kmem.c; \ 1267 1267 cd m_comp && $(MAKE) modules 1268 @if test -f m_comp/ samhain_kmem.ko; then \1269 cp -p m_comp/ samhain_kmem.ko samhain_kmem.ko; \1268 @if test -f m_comp/@install_name@_kmem.ko; then \ 1269 cp -p m_comp/@install_name@_kmem.ko samhain_kmem.ko; \ 1270 1270 rm -rf m_comp/; \ 1271 1271 else \
Note:
See TracChangeset
for help on using the changeset viewer.