2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Add $(dirstamp) to compilation rules.
This commit is contained in:
Ralf Corsepius
2003-11-30 17:35:46 +00:00
parent a3fb105c7b
commit de48a0ea91
10 changed files with 60 additions and 34 deletions

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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 \

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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)

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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