summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-30 17:35:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-30 17:35:46 +0000
commitde48a0ea91a7b1cd334d0e2d8a1a815f38993abc (patch)
treedef731ed89f06bac9ef47941197066815387ff35
parent2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-de48a0ea91a7b1cd334d0e2d8a1a815f38993abc.tar.bz2
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add $(dirstamp) to compilation rules.
-rw-r--r--cpukit/itron/ChangeLog4
-rw-r--r--cpukit/itron/Makefile.am4
-rw-r--r--cpukit/libfs/ChangeLog4
-rw-r--r--cpukit/libfs/Makefile.am18
-rw-r--r--cpukit/libnetworking/ChangeLog4
-rw-r--r--cpukit/libnetworking/Makefile.am30
-rw-r--r--cpukit/librpc/ChangeLog4
-rw-r--r--cpukit/librpc/Makefile.am18
-rw-r--r--cpukit/posix/ChangeLog4
-rw-r--r--cpukit/posix/Makefile.am4
10 files changed, 60 insertions, 34 deletions
diff --git a/cpukit/itron/ChangeLog b/cpukit/itron/ChangeLog
index 0d057fbc04..5c78578789 100644
--- a/cpukit/itron/ChangeLog
+++ b/cpukit/itron/ChangeLog
@@ -1,5 +1,9 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Remove MACROS.
diff --git a/cpukit/itron/Makefile.am b/cpukit/itron/Makefile.am
index 7609c5dda1..4f44d64be3 100644
--- a/cpukit/itron/Makefile.am
+++ b/cpukit/itron/Makefile.am
@@ -108,13 +108,13 @@ OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
AM_CPPFLAGS += -I$(top_builddir)
AM_CPPFLAGS += -D__RTEMS_INSIDE__
-all-local: $(PREINSTALL_FILES) ${ARCH} ${LIB}
+all-local: $(PREINSTALL_FILES) ${LIB}
$(LIB): ${OBJS}
$(make-library)
endif
-${ARCH}/%.$(OBJEXT): src/%.c
+${ARCH}/%.$(OBJEXT): src/%.c $(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
UNUSED_C_FILES = src/cre_mbx.c src/del_mbx.c src/mboxtranslatereturncode.c \
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog
index b227cd2613..3985982e09 100644
--- a/cpukit/libfs/ChangeLog
+++ b/cpukit/libfs/ChangeLog
@@ -1,5 +1,9 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Add $(dirstamp) to preinstallation rules.
2003-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
diff --git a/cpukit/libfs/Makefile.am b/cpukit/libfs/Makefile.am
index bb1e43a77b..399c37f932 100644
--- a/cpukit/libfs/Makefile.am
+++ b/cpukit/libfs/Makefile.am
@@ -42,11 +42,12 @@ libimfs_OBJS = $(libimfs_C_FILES:src/imfs/%.c=src/imfs/$(ARCH)/%.$(OBJEXT))
include_HEADERS += src/imfs/imfs.h
-IMFSLIB = src/imfs/$(ARCH) src/imfs/$(ARCH)/libimfs.a
+IMFSLIB = src/imfs/$(ARCH)/libimfs.a
-src/imfs/$(ARCH):
- @$(mkinstalldirs) $@
-src/imfs/$(ARCH)/%.$(OBJEXT): src/imfs/%.c
+src/imfs/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) src/imfs/$(ARCH)
+ @: > src/imfs/$(ARCH)/$(dirstamp)
+src/imfs/$(ARCH)/%.$(OBJEXT): src/imfs/%.c src/imfs/$(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
src/imfs/$(ARCH)/libimfs.a: ${libimfs_OBJS}
$(make-library)
@@ -75,11 +76,12 @@ libdosfs_OBJS = \
include_HEADERS += src/dosfs/dosfs.h
-DOSFSLIB = src/dosfs/${ARCH} src/dosfs/$(ARCH)/libdosfs.a
+DOSFSLIB = src/dosfs/$(ARCH)/libdosfs.a
-src/dosfs/$(ARCH):
- @$(mkinstalldirs) $@
-src/dosfs/$(ARCH)/%.$(OBJEXT): src/dosfs/%.c
+src/dosfs/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) src/dosfs/$(ARCH)
+ @: > src/dosfs/$(ARCH)/$(dirstamp)
+src/dosfs/$(ARCH)/%.$(OBJEXT): src/dosfs/%.c src/dosfs/$(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
src/dosfs/$(ARCH)/libdosfs.a: ${libdosfs_OBJS}
$(make-library)
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index b52b5acc6e..2fe7ad0a9b 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,5 +1,9 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Fix libc_OBJS.
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am
index 98e8706c95..1eff660522 100644
--- a/cpukit/libnetworking/Makefile.am
+++ b/cpukit/libnetworking/Makefile.am
@@ -15,7 +15,7 @@ if HAS_NETWORKING
libnetworking_CPPFLAGS = -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
-DDIAGNOSTIC -DBOOTP_COMPAT
-TMP_LIBS = $(ARCH) $(ARCH)/libnetworking.a
+TMP_LIBS = $(ARCH)/libnetworking.a
## poll.h is not in the list because RTEMS does not have poll()
## and installing poll.h confuses autoconf.
@@ -36,7 +36,7 @@ kern_C_FILES = kern/kern_mib.c kern/kern_subr.c kern/kern_sysctl.c \
kern/uipc_socket2.c
libnetworking_OBJS = $(kern_C_FILES:kern/%.c=$(ARCH)/%.$(OBJEXT))
-$(ARCH)/%.$(OBJEXT): kern/%.c
+$(ARCH)/%.$(OBJEXT): kern/%.c $(ARCH)/$(dirstamp)
${COMPILE} $(libnetworking_CPPFLAGS) -o $@ -c $<
EXTRA_DIST = $(kern_C_FILES)
@@ -62,7 +62,7 @@ net_C_FILES = net/if.c net/if_ethersubr.c net/if_loop.c net/radix.c \
net/ppp_tty.c net/pppcompress.c
libnetworking_OBJS += $(net_C_FILES:net/%.c=$(ARCH)/%.$(OBJEXT))
-$(ARCH)/%.$(OBJEXT): net/%.c
+$(ARCH)/%.$(OBJEXT): net/%.c $(ARCH)/$(dirstamp)
${COMPILE} $(libnetworking_CPPFLAGS) -o $@ -c $<
EXTRA_DIST += $(net_C_FILES)
@@ -88,7 +88,7 @@ netinet_C_FILES = netinet/if_ether.c netinet/igmp.c netinet/in.c \
netinet/udp_usrreq.c
libnetworking_OBJS += $(netinet_C_FILES:netinet/%.c=$(ARCH)/%.$(OBJEXT))
-$(ARCH)/%.$(OBJEXT): netinet/%.c
+$(ARCH)/%.$(OBJEXT): netinet/%.c $(ARCH)/$(dirstamp)
${COMPILE} $(libnetworking_CPPFLAGS) -o $@ -c $<
EXTRA_DIST += $(netinet_C_FILES)
@@ -103,7 +103,7 @@ include_nfs_HEADERS = nfs/krpc.h nfs/nfs.h nfs/nfsdiskless.h nfs/nfsproto.h \
nfs_C_FILES = nfs/bootp_subr.c
libnetworking_OBJS += $(nfs_C_FILES:nfs/%.c=$(ARCH)/%.$(OBJEXT))
-$(ARCH)/%.$(OBJEXT): nfs/%.c
+$(ARCH)/%.$(OBJEXT): nfs/%.c $(ARCH)/$(dirstamp)
${COMPILE} $(libnetworking_CPPFLAGS) -o $@ -c $<
EXTRA_DIST += $(nfs_C_FILES)
@@ -123,7 +123,7 @@ rtems_C_FILES = rtems/sghostname.c rtems/issetugid.c rtems/rtems_glue.c \
rtems/mkrootfs.c rtems/rtems_bsdnet_malloc_starvation.c
libnetworking_OBJS += $(rtems_C_FILES:rtems/%.c=$(ARCH)/%.$(OBJEXT))
-$(ARCH)/%.$(OBJEXT): rtems/%.c
+$(ARCH)/%.$(OBJEXT): rtems/%.c $(ARCH)/$(dirstamp)
${COMPILE} $(libnetworking_CPPFLAGS) -o $@ -c $<
EXTRA_DIST += $(rtems_C_FILES)
@@ -169,14 +169,15 @@ man_MANS = libc/addr2ascii.3 libc/byteorder.3 libc/ethers.3 \
libc_CPPFLAGS = -DNOPOLL -DNOSELECT
-libc/$(ARCH):
- @$(mkinstalldirs) $@
-libc/$(ARCH)/%.$(OBJEXT): libc/%.c
+libc/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) libc/$(ARCH)
+ @: > libc/$(ARCH)/$(dirstamp)
+libc/$(ARCH)/%.$(OBJEXT): libc/%.c libc/$(ARCH)/$(dirstamp)
${COMPILE} $(libc_CPPFLAGS) -o $@ -c $<
libc/$(ARCH)/lib.a: $(libc_OBJS)
$(make-library)
-TMP_LIBS += libc/$(ARCH) libc/$(ARCH)/lib.a
+TMP_LIBS += libc/$(ARCH)/lib.a
CLEANDIRS = libc/o-optimize libc/o-debug
@@ -207,14 +208,15 @@ lib_OBJS = $(lib_C_FILES:lib/%.c=lib/$(ARCH)/%.$(OBJEXT))
lib_CPPFLAGS = -DNOPOLL -DNOSELECT
-lib/$(ARCH):
- @$(mkinstalldirs) $@
-lib/$(ARCH)/%.$(OBJEXT): lib/%.c
+lib/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) lib/$(ARCH)
+ @: > lib/$(ARCH)/$(dirstamp)
+lib/$(ARCH)/%.$(OBJEXT): lib/%.c lib/$(ARCH)/$(dirstamp)
${COMPILE} $(lib_CPPFLAGS) -o $@ -c $<
lib/$(ARCH)/lib.a: $(lib_OBJS)
$(make-library)
-TMP_LIBS += lib/$(ARCH) lib/$(ARCH)/lib.a
+TMP_LIBS += lib/$(ARCH)/lib.a
CLEANDIRS += lib/o-optimize lib/o-debug
diff --git a/cpukit/librpc/ChangeLog b/cpukit/librpc/ChangeLog
index a54c222cd4..4e9d9bf7dd 100644
--- a/cpukit/librpc/ChangeLog
+++ b/cpukit/librpc/ChangeLog
@@ -1,5 +1,9 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Add $(dirstamp) to preinstallation rules.
2003-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
diff --git a/cpukit/librpc/Makefile.am b/cpukit/librpc/Makefile.am
index 9c8140d89a..2bc7cdf14d 100644
--- a/cpukit/librpc/Makefile.am
+++ b/cpukit/librpc/Makefile.am
@@ -32,15 +32,16 @@ libxdr_C_O_FILES = \
libxdr_OBJS = $(libxdr_C_O_FILES)
-src/xdr/$(ARCH):
- @$(mkinstalldirs) $@
-src/xdr/$(ARCH)/%.$(OBJEXT): src/xdr/%.c
+src/xdr/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) src/xdr/$(ARCH)
+ @: > src/xdr/$(ARCH)/$(dirstamp)
+src/xdr/$(ARCH)/%.$(OBJEXT): src/xdr/%.c src/xdr/$(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
src/xdr/$(ARCH)/libxdr.a: $(libxdr_OBJS)
$(make-library)
man_MANS += src/xdr/xdr.3
-all-local: src/xdr/$(ARCH) src/xdr/$(ARCH)/libxdr.a
+all-local: src/xdr/$(ARCH)/libxdr.a
endif
librpc_C_FILES = src/rpc/auth_none.c src/rpc/auth_unix.c \
@@ -71,9 +72,10 @@ librpc_OBJS = $(librpc_C_O_FILES)
librpc_a_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
-D_RTEMS_RPC_INTERNAL_
-src/rpc/$(ARCH):
- @$(mkinstalldirs) $@
-src/rpc/$(ARCH)/%.$(OBJEXT): src/rpc/%.c
+src/rpc/$(ARCH)/$(dirstamp):
+ @$(mkinstalldirs) src/rpc/$(ARCH)
+ @: > src/rpc/$(ARCH)/$(dirstamp)
+src/rpc/$(ARCH)/%.$(OBJEXT): src/rpc/%.c src/rpc/$(ARCH)/$(dirstamp)
${COMPILE} $(librpc_a_CPPFLAGS) -o $@ -c $<
src/rpc/$(ARCH)/librpc.a: $(librpc_OBJS)
$(make-library)
@@ -83,7 +85,7 @@ man_MANS += src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \
src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
-all-local: src/rpc/$(ARCH) src/rpc/$(ARCH)/librpc.a
+all-local: src/rpc/$(ARCH)/librpc.a
endif
CLEANDIRS += src/rpc
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index 11736a7dd9..a70d4a72d9 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,5 +1,9 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Remove MACROS.
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index 73a1050f54..d66c91bdf4 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -156,13 +156,13 @@ OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
AM_CPPFLAGS += -I$(top_builddir)
AM_CPPFLAGS += -D__RTEMS_INSIDE__
-all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB)
+all-local: $(PREINSTALL_FILES) $(LIB)
$(LIB): ${OBJS}
$(make-library)
endif
-${ARCH}/%.$(OBJEXT): src/%.c
+${ARCH}/%.$(OBJEXT): src/%.c $(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
# temporary so we can see how many things are left to implement