1#
2# $Id: Makefile.in,v 1.1 2000/10/10 20:40:27 beck Exp $
3#
4## Makefile for mkisofs.
5
6#### Start of system configuration section. ####
7
8srcdir = @srcdir@
9VPATH = @srcdir@
10
11CC = @CC@
12
13INSTALL = @INSTALL@
14INSTALL_PROGRAM = @INSTALL_PROGRAM@
15INSTALL_DATA = @INSTALL_DATA@
16
17LIBS = @LIBS@
18
19prefix = /usr/local
20exec_prefix = $(prefix)
21
22bindir = $(exec_prefix)/bin
23
24# Where to put the manual pages.
25mandir = $(prefix)/man/man8
26# Extension (not including `.') for the manual page filenames.
27manext = 8
28
29#### End of system configuration section. ####
30
31CFLAGS=@CFLAGS@ -I.
32LDFLAGS=@LDFLAGS@
33
34all: dump isodump isovfy isoinfo
35
36install: Makefile isodump isovfy isoinfo isoinfo.8
37	[ -d $(bindir) ] || mkdir $(bindir)
38	[ -d $(mandir) ] || mkdir $(mandir)
39	$(INSTALL_PROGRAM) isodump $(bindir)/isodump
40	$(INSTALL_PROGRAM) isovfy  $(bindir)/isovfy
41	$(INSTALL_PROGRAM) isoinfo $(bindir)/isoinfo
42	-$(INSTALL_DATA) $(srcdir)/isoinfo.8 $(mandir)/isoinfo.$(manext)
43
44config.h: ../configure
45	(cd ..; ./configure)
46
47Makefile: Makefile.in ../configure
48	(cd ..; ./configure)
49
50dump: Makefile ../config.h dump.c
51	${CC} $(CFLAGS) -o dump $(srcdir)/dump.c
52isodump: Makefile ../config.h isodump.c
53	${CC} $(CFLAGS) -o isodump $(srcdir)/isodump.c
54isovfy: Makefile isovfy.c
55	${CC} $(CFLAGS) -o isovfy $(srcdir)/isovfy.c
56isoinfo:Makefile ../config.h isoinfo.c
57	${CC} $(CFLAGS) -o isoinfo $(srcdir)/isoinfo.c
58
59clean:
60	rm -f dump isodump isovfy isoinfo
61