commit-hurd
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]