xref: /openbsd/gnu/usr.sbin/mkhybrid/src/diag/Makefile (revision f0d9efc0)
1# Generated automatically from Makefile.in by configure.
2#
3# $Id: Makefile,v 1.1 2000/10/10 20:40:26 beck Exp $
4#
5## Makefile for mkisofs.
6
7#### Start of system configuration section. ####
8
9srcdir = .
10
11CC = gcc
12
13INSTALL = /usr/bin/install -c
14INSTALL_PROGRAM = ${INSTALL}
15INSTALL_DATA = ${INSTALL} -m 644
16
17LIBS =
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=-g -O2 -I.
32LDFLAGS=
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