added new kernel headers
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 19 Oct 2004 21:03:19 +0000 (21:03 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 19 Oct 2004 21:03:19 +0000 (21:03 +0000)
changed substition of linuxcaps.h; oldish 'sed' versions do not understand '\<' regexs

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1731 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/Makefile.am

index 12dc5df..b26bc23 100644 (file)
@@ -59,6 +59,9 @@ BUILT_SOURCES =               linuxcaps.h pathconfig.h linuxvirtual.h \
 man_MANS =
 
 kernel_HDRS =          kernel/context.h \
+                       kernel/cvirt.h \
+                       kernel/debug.h \
+                       kernel/dlimit.h \
                        kernel/inode.h \
                        kernel/legacy.h \
                        kernel/limit.h \
@@ -66,7 +69,8 @@ kernel_HDRS =         kernel/context.h \
                        kernel/network.h \
                        kernel/sched.h \
                        kernel/signal.h \
-                       kernel/switch.h
+                       kernel/switch.h \
+                       kernel/xid.h
 
 EXTRA_PROGRAMS =
 EXTRA_DIST =           pathconfig.h.pathsubst \
@@ -122,7 +126,7 @@ silent.%:           FORCE
 linuxcaps.h:           ${kernelincludedir}/linux/capability.h Makefile
                        @rm -f $@
                        echo '#include <stdint.h>' >$@.tmp
-                       $(SED) -e 's!^#include .*!!g;s!\<__u32\>!uint32_t!g;s!\<__user\>!!g;' $< >>$@.tmp
+                       $(SED) -e 's!^#include .*!!g;' $< >>$@.tmp
                        @-chmod --reference $< $@.tmp &>/dev/null
                        mv -f $@.tmp $@
                        @chmod a-w $@