From b315528f2f71ab9c67f87a67b49db50e2a3bec2c Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 11 Apr 1995 15:18:57 +0000 Subject: Formerly Makefile.~2~ --- ext2fs/Makefile | 58 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 23 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/Makefile b/ext2fs/Makefile index 599f2ad8..ad3e0e3d 100644 --- a/ext2fs/Makefile +++ b/ext2fs/Makefile @@ -1,31 +1,43 @@ # -# Makefile for the linux ext2-filesystem routines. +# Copyright (C) 1994, 1995 Free Software Foundation, Inc. # -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). +# 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. # -# Note 2! The CFLAGS definitions are now in the main makefile... +# 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. -.c.s: - $(CC) $(CFLAGS) -S $< -.c.o: - $(CC) $(CFLAGS) -c $< -.s.o: - $(AS) -o $*.o $< +dir := ext21fs +makemode := server -OBJS= acl.o balloc.o bitmap.o dir.o file.o fsync.o ialloc.o \ - inode.o ioctl.o namei.o super.o symlink.o truncate.o +SRCS alloc.c consts.c devio.c dir.c hyper.c inode.c main.c pager.c \ + sizes.c subr.c tables.c bmap.c pokeloc.c +OBJS = $(SRCS:.c=.o) exec_server_image.o +LCLHDRS = ext2fs.h fs.h ext2_fs.h ext2_fs_sb.h ext2_fs_i.h +DIST_FILE = BROKEN +REMHDRS = ../hurd/diskfs.h ../hurd/ports.h ../hurd/pager.h\ + ../hurd/ioserver.h ../hurd/fshelp.h +#HURDLIBS = libdiskfs libports libdiskfs libpager libioserver \ +# libfshelp libdiskfs libthreads libports +HURDLIBS = libdiskfs libports libpager libioserver libfshelp libthreads +target = ext2fs -ext2.o: $(OBJS) - $(LD) -r -o ext2.o $(OBJS) +include ../Makeconf -dep: - $(CPP) -M *.c > .depend +exec_server_image.o: ../exec/exec ../mkbootfs/mkbootfs + rsh $(mighost) -n cd `pwd` \; \ + ../mkbootfs/mkbootfs ../exec/exec exec_server_image.o -# -# include a dependency file if one exists -# -ifeq (.depend,$(wildcard .depend)) -include .depend -endif +$(OBJS): ext2fs.h +$(OBJS): $(REMHDRS) + +$(foreach dir,mkbootfs exec,../$(dir)/%): FORCE + $(MAKE) -C $(@D) $(@F) -- cgit v1.2.3