[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 32/87: Prepare the procfs translator to be merged into the Hurd s
From: |
Samuel Thibault |
Subject: |
[hurd] 32/87: Prepare the procfs translator to be merged into the Hurd sources |
Date: |
Sun, 09 Nov 2014 11:05:01 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit aac4aaf42372f61c78061711916c81a9d5bcb42d
Author: Justus Winter <address@hidden>
Date: Sun Jun 15 18:25:59 2014 +0200
Prepare the procfs translator to be merged into the Hurd sources
Move the procfs translator to its own subdirectory 'procfs'.
This is the last commit to this repository. Development of the procfs
translator will continue in the main Hurd repository.
* procfs/Makefile: Replace the standalone Makefile with the one from
the Debian packaging repository.
---
Makefile | 46 -------------------------------------
ChangeLog => procfs/ChangeLog | 0
procfs/Makefile | 34 +++++++++++++++++++++++++++
TODO => procfs/TODO | 0
dircat.c => procfs/dircat.c | 0
dircat.h => procfs/dircat.h | 0
main.c => procfs/main.c | 0
main.h => procfs/main.h | 0
netfs.c => procfs/netfs.c | 0
process.c => procfs/process.c | 0
process.h => procfs/process.h | 0
procfs.c => procfs/procfs.c | 0
procfs.h => procfs/procfs.h | 0
procfs_dir.c => procfs/procfs_dir.c | 0
procfs_dir.h => procfs/procfs_dir.h | 0
proclist.c => procfs/proclist.c | 0
proclist.h => procfs/proclist.h | 0
rootdir.c => procfs/rootdir.c | 0
rootdir.h => procfs/rootdir.h | 0
19 files changed, 34 insertions(+), 46 deletions(-)
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 2820596..0000000
--- a/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-TARGET = procfs
-OBJS = procfs.o netfs.o procfs_dir.o \
- process.o proclist.o rootdir.o dircat.o main.o mach_debugUser.o
-LIBS = -lnetfs -lps -lfshelp -lpthread
-
-CC = gcc
-CFLAGS = -Wall -g
-CPPFLAGS =
-LDFLAGS =
-
-ifdef PROFILE
-CFLAGS= -g -pg
-CPPFLAGS= -DPROFILE
-LDFLAGS= -static
-LIBS= -lnetfs -lfshelp -liohelp -lps -lports -lpthread -lihash -lshouldbeinlibc
-endif
-
-CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-
-all: $(TARGET)
-
-rootdir.o: rootdir.c mach_debug_U.h
-
-$(TARGET): $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
-
-clean:
- $(RM) $(TARGET) $(OBJS)
-
-# This is the gist of the MIG user stub handling from Hurd's build
-# system:
-
-# Where to find .defs files.
-vpath %.defs /usr/include/mach_debug
-
-MIG = mig
-MIGCOM = $(MIG) -cc cat - /dev/null
-MIGCOMFLAGS := -subrprefix __
-
-%.udefsi: %.defs
- $(CPP) -x c $(CPPFLAGS) $(MIGUFLAGS) $($*-MIGUFLAGS) \
- $< -o $*.udefsi
-
-%_U.h %User.c: %.udefsi
- $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) $($*-MIGCOMUFLAGS) < $< \
- -user $*User.c -server /dev/null -header $*_U.h
diff --git a/ChangeLog b/procfs/ChangeLog
similarity index 100%
rename from ChangeLog
rename to procfs/ChangeLog
diff --git a/procfs/Makefile b/procfs/Makefile
new file mode 100644
index 0000000..6d7ca48
--- /dev/null
+++ b/procfs/Makefile
@@ -0,0 +1,34 @@
+# Makefile - for procfs
+#
+# Copyright (C) 2008 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+dir := procfs
+makemode := server
+
+target = procfs
+
+SRCS = procfs.c netfs.c procfs_dir.c process.c proclist.c rootdir.c dircat.c
main.c mach_debugUser.c
+LCLHDRS = dircat.h main.h process.h procfs.h procfs_dir.h proclist.h rootdir.h
+
+OBJS = $(SRCS:.c=.o)
+HURDLIBS = netfs fshelp iohelp ps ports ihash shouldbeinlibc
+OTHERLIBS = -lpthread
+
+# Where to find .defs files.
+vpath %.defs /usr/include/mach_debug
+
+include ../Makeconf
diff --git a/TODO b/procfs/TODO
similarity index 100%
rename from TODO
rename to procfs/TODO
diff --git a/dircat.c b/procfs/dircat.c
similarity index 100%
rename from dircat.c
rename to procfs/dircat.c
diff --git a/dircat.h b/procfs/dircat.h
similarity index 100%
rename from dircat.h
rename to procfs/dircat.h
diff --git a/main.c b/procfs/main.c
similarity index 100%
rename from main.c
rename to procfs/main.c
diff --git a/main.h b/procfs/main.h
similarity index 100%
rename from main.h
rename to procfs/main.h
diff --git a/netfs.c b/procfs/netfs.c
similarity index 100%
rename from netfs.c
rename to procfs/netfs.c
diff --git a/process.c b/procfs/process.c
similarity index 100%
rename from process.c
rename to procfs/process.c
diff --git a/process.h b/procfs/process.h
similarity index 100%
rename from process.h
rename to procfs/process.h
diff --git a/procfs.c b/procfs/procfs.c
similarity index 100%
rename from procfs.c
rename to procfs/procfs.c
diff --git a/procfs.h b/procfs/procfs.h
similarity index 100%
rename from procfs.h
rename to procfs/procfs.h
diff --git a/procfs_dir.c b/procfs/procfs_dir.c
similarity index 100%
rename from procfs_dir.c
rename to procfs/procfs_dir.c
diff --git a/procfs_dir.h b/procfs/procfs_dir.h
similarity index 100%
rename from procfs_dir.h
rename to procfs/procfs_dir.h
diff --git a/proclist.c b/procfs/proclist.c
similarity index 100%
rename from proclist.c
rename to procfs/proclist.c
diff --git a/proclist.h b/procfs/proclist.h
similarity index 100%
rename from proclist.h
rename to procfs/proclist.h
diff --git a/rootdir.c b/procfs/rootdir.c
similarity index 100%
rename from rootdir.c
rename to procfs/rootdir.c
diff --git a/rootdir.h b/procfs/rootdir.h
similarity index 100%
rename from rootdir.h
rename to procfs/rootdir.h
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 22/87: ext2fs: use size_t where appropriate, (continued)
- [hurd] 22/87: ext2fs: use size_t where appropriate, Samuel Thibault, 2014/11/09
- [hurd] 14/87: Merge branch 'random' of ssh://git.savannah.gnu.org/srv/git/hurd/incubator into random, Samuel Thibault, 2014/11/09
- [hurd] 28/87: term: improve the demuxer, Samuel Thibault, 2014/11/09
- [hurd] 27/87: Add the random translator to prog-subdirs, Samuel Thibault, 2014/11/09
- [hurd] 33/87: Merge procfs into the Hurd repository, Samuel Thibault, 2014/11/09
- [hurd] 34/87: Add the procfs translator to prog-subdirs, Samuel Thibault, 2014/11/09
- [hurd] 36/87: ftpfs: fix error handling in refresh_dir, Samuel Thibault, 2014/11/09
- [hurd] 29/87: hurd: fix receiver lookup in termctty_open_terminal, Samuel Thibault, 2014/11/09
- [hurd] 35/87: Add mach_debug defs rules, Samuel Thibault, 2014/11/09
- [hurd] 37/87: libshouldbeinlibc: fix dead initialization in fmt_named_interval, Samuel Thibault, 2014/11/09
- [hurd] 32/87: Prepare the procfs translator to be merged into the Hurd sources,
Samuel Thibault <=
- [hurd] 38/87: trans/fakeroot: fix error handling, Samuel Thibault, 2014/11/09
- [hurd] 39/87: libports: avoid realloc(3) corner case, Samuel Thibault, 2014/11/09
- [hurd] 40/87: libdiskfs: add permission check to file_chflags, Samuel Thibault, 2014/11/09
- [hurd] 31/87: Merge branch 'merge-random', Samuel Thibault, 2014/11/09
- [hurd] 41/87: libdiskfs: expose the ST_NOATIME flag, Samuel Thibault, 2014/11/09
- [hurd] 43/87: ext2fs: use correct type for block numbers, Samuel Thibault, 2014/11/09
- [hurd] 42/87: libdiskfs: fix deadlock, Samuel Thibault, 2014/11/09
- [hurd] 44/87: libpipe: fix calls to pipe_send with no data, Samuel Thibault, 2014/11/09
- [hurd] 24/87: ext2fs: fix type of retry_dotdot, Samuel Thibault, 2014/11/09
- [hurd] 23/87: ext2fs: fix type of blockaddr, Samuel Thibault, 2014/11/09