summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S <madhusudancs@gmail.com>2008-08-29 18:42:00 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-01 01:32:08 +0200
commit80e2bfc9ee29a5ecac3a9b8eaa2d470ae30222c9 (patch)
treec927af73920f7574f5b28bb274f56174a5446078
parent4cce52a1ec161008243f5bee63df7f6230c0f7e6 (diff)
2008-08-29 Madhusudan.C.S <madhusudancs@gmail.com>
* Makefile: (Copyright): 1997, 2000 -> 2008 (CC): Removed. (CFLAGS): Removed. (INCLUDES): Removed. (all): Removed. ($(target)): Removed. (%.o): Removed. (HURDLIBS): -lnetfs -> netfs, -lfshelp -> fshelp, -liohelp -> iohelp, -lthreads -> threads, -lports -> ports, -lihash -> ihash, -lps -> ps, -lshouldbeinlibc -> shouldbeinlibc. (include): Add include ../Makeconf
-rw-r--r--ChangeLog16
-rw-r--r--Makefile18
2 files changed, 20 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 730ad72..a56b992 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2008-08-29 Madhusudan.C.S <madhusudancs@gmail.com>
+ * Makefile: (Copyright): 1997, 2000 -> 2008
+ (CC): Removed.
+ (CFLAGS): Removed.
+ (INCLUDES): Removed.
+ (all): Removed.
+ ($(target)): Removed.
+ (%.o): Removed.
+ (HURDLIBS): -lnetfs -> netfs,
+ -lfshelp -> fshelp,
+ -liohelp -> iohelp, -lthreads -> threads,
+ -lports -> ports, -lihash -> ihash,
+ -lps -> ps,
+ -lshouldbeinlibc -> shouldbeinlibc.
+ (include): Add include ../Makeconf
+
2008-08-18 Madhusudan.C.S <madhusudancs@gmail.com>
* procfs_nonpid_files.c:
(procfs_write_nonpid_stat): Changed to
diff --git a/Makefile b/Makefile
index dae406d..500a237 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile - for procfs
#
-# Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+# 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
@@ -21,20 +21,10 @@ makemode := server
target = procfs
-CC = gcc
-CFLAGS = -Wall -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-INCLUDES = -I.
-
SRCS = procfs.c bootstrap.c netfs.c procfs_dir.c node.c procfs_pid_files.c procfs_nonpid_files.c
LCLHDRS = procfs.h procfs_pid.h
OBJS = $(SRCS:.c=.o)
-HURDLIBS = -lnetfs -lfshelp -liohelp -lthreads -lports -lihash -lps -lshouldbeinlibc
-
-all: $(target)
-
-$(target): $(OBJS)
- $(CC) $(CFLAGS) -o $(target) $(OBJS) $(HURDLIBS)
-
-%.o: %.c $(LCLHDRS)
- $(CC) $(CFLAGS) $(INCLUDES) -o $@ -c $<
+HURDLIBS = netfs fshelp iohelp threads ports ihash ps shouldbeinlibc
+
+include ../Makeconf