comparison lib/Makefile.in @ 68:82fc1441ad84

GNU file utilities
author Jim Meyering <jim@meyering.net>
date Thu, 05 Aug 1993 02:16:29 +0000
parents 9e544a5358a7
children 70c757c74b51
comparison
equal deleted inserted replaced
64:7d7e310c3270 68:82fc1441ad84
1 # Makefile for library files used by GNU fileutils. 1 # Makefile for library files used by GNU fileutils.
2 # Do not use this makefile directly, but only from `../Makefile'. 2 # Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
3 # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
4 3
5 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option) 6 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version. 7 # any later version.
19 SHELL = /bin/sh 18 SHELL = /bin/sh
20 19
21 srcdir = @srcdir@ 20 srcdir = @srcdir@
22 VPATH = @srcdir@ 21 VPATH = @srcdir@
23 22
24 SOURCES = argmatch.c backupfile.c basename.c dirname.c eaccess.c \ 23 CC = @CC@
24 AR = ar
25 RANLIB = @RANLIB@
26 DEFS = @DEFS@
27 CFLAGS = -g
28
29 SOURCES = getdate.y posixtm.y \
30 argmatch.c backupfile.c basename.c dirname.c eaccess.c \
25 error.c filemode.c fsusage.c getopt.c getopt1.c \ 31 error.c filemode.c fsusage.c getopt.c getopt1.c \
26 getversion.c idcache.c isdir.c makepath.c \ 32 getversion.c idcache.c isdir.c makepath.c \
27 modechange.c mountlist.c savedir.c \ 33 modechange.c mountlist.c savedir.c \
28 stripslash.c xgetcwd.c xmalloc.c xstrdup.c userspec.c yesno.c \ 34 stripslash.c xgetcwd.c xmalloc.c xstrdup.c userspec.c yesno.c \
29 getdate.y posixtm.y \
30 fileblocks.c fnmatch.c ftruncate.c mkdir.c mktime.c rename.c stpcpy.c \ 35 fileblocks.c fnmatch.c ftruncate.c mkdir.c mktime.c rename.c stpcpy.c \
31 strdup.c strstr.c alloca.c 36 strdup.c strstr.c alloca.c
32 37
33 OBJECTS = argmatch.o backupfile.o basename.o dirname.o eaccess.o \ 38 OBJECTS = getdate.o posixtm.o \
39 argmatch.o backupfile.o basename.o dirname.o eaccess.o \
34 error.o filemode.o getopt.o getopt1.o \ 40 error.o filemode.o getopt.o getopt1.o \
35 getversion.o idcache.o isdir.o makepath.o \ 41 getversion.o idcache.o isdir.o makepath.o \
36 modechange.o savedir.o \ 42 modechange.o savedir.o \
37 stripslash.o xgetcwd.o xmalloc.o xstrdup.o userspec.o yesno.o \ 43 stripslash.o xgetcwd.o xmalloc.o xstrdup.o userspec.o yesno.o \
38 getdate.o posixtm.o @LIBOBJS@ @ALLOCA@ 44 @LIBOBJS@ @ALLOCA@
39 45
40 DISTFILES = Makefile.in backupfile.h getopt.h modechange.h \ 46 DISTFILES = Makefile.in backupfile.h getopt.h modechange.h \
41 fnmatch.h fsusage.h mountlist.h pathmax.h system.h $(SOURCES) 47 fnmatch.h fsusage.h mountlist.h pathmax.h system.h $(SOURCES)
42 48
43 all: libfu.a 49 all: libfu.a
44 50
45 .c.o: 51 .c.o:
46 $(CC) -c $(DEFS) -I$(srcdir) $(CPPFLAGS) $(CFLAGS) $< 52 $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
47 53
48 install: all 54 install: all
49 55
50 uninstall: 56 uninstall:
51 57
52 TAGS: $(SOURCES) 58 TAGS: $(SOURCES)
53 etags $(SOURCES) 59 etags $(SOURCES)
60
61 check:
54 62
55 clean: 63 clean:
56 rm -f *.a *.o 64 rm -f *.a *.o
57 65
58 mostlyclean: clean 66 mostlyclean: clean