summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/ext2fs/Makefile b/ext2fs/Makefile
index 64205513..efeca28a 100644
--- a/ext2fs/Makefile
+++ b/ext2fs/Makefile
@@ -1,6 +1,6 @@
# Makefile for ext2fs
#
-# Copyright (C) 1994, 1995 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996 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
@@ -17,16 +17,17 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dir := ext2fs
-makemode := server
+makemode := servers
-target = ext2fs
+target = ext2fs ext2fs.static
SRCS = balloc.c bitmap.c dir.c ext2fs.c getblk.c hyper.c ialloc.c \
inode.c pager.c pokel.c truncate.c storeinfo.c msg.c
OBJS = $(SRCS:.c=.o)
LCLHDRS = ext2fs.h ext2_fs.h ext2_fs_i.h
-LDFLAGS += -static
-
-ext2fs: $(OBJS) ../libdiskfs/libdiskfs.a ../libpager/libpager.a ../libioserver/libioserver.a ../libfshelp/libfshelp.a ../libports/libports.a ../libthreads/libthreads.a ../libihash/libihash.a ../libshouldbeinlibc/libshouldbeinlibc.a
+ext2fs.static-LDFLAGS += -static
include ../Makeconf
+
+ext2fs ext2fs.static: $(OBJS) ../libdiskfs/libdiskfs.a ../libpager/libpager.a ../libioserver/libioserver.a ../libfshelp/libfshelp.a ../libports/libports.a ../libthreads/libthreads.a ../libihash/libihash.a ../libshouldbeinlibc/libshouldbeinlibc.a
+