mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 07:31:32 +00:00
108 lines
3.7 KiB
Makefile
108 lines
3.7 KiB
Makefile
#
|
|
# hfsck - tool for checking and repairing the integrity of HFS volumes
|
|
# Copyright (C) 1996-1998 Robert Leslie
|
|
#
|
|
# 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 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# 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.
|
|
#
|
|
# $Id: Makefile.in,v 1.6 1998/04/11 23:40:39 rob Exp $
|
|
#
|
|
|
|
@SET_MAKE@
|
|
src = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
### USER CUSTOMIZATIONS FOLLOW ################################################
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
MANDEST = @mandir@
|
|
|
|
INCDEST = @includedir@
|
|
LIBDEST = @libdir@
|
|
|
|
INSTALL = @INSTALL@
|
|
LIBINSTALL = @INSTALL_DATA@
|
|
|
|
CC = @CC@
|
|
INCLUDES = @CPPFLAGS@ -I.. -I../libhfs
|
|
DEFINES = @DEFS@
|
|
LIBOBJS = @LIBOBJS@ ../suid.o ../version.o
|
|
LIBS = @LIBS@ -L../libhfs -lhfs
|
|
|
|
COPTS = @CFLAGS@
|
|
LDOPTS = @LDFLAGS@
|
|
|
|
### END OF USER CUSTOMIZATION #################################################
|
|
|
|
CFLAGS = $(COPTS) $(INCLUDES) $(DEFINES)
|
|
LDFLAGS = $(LDOPTS)
|
|
|
|
###############################################################################
|
|
|
|
TARGETS = $(HFSCKTARGET)
|
|
|
|
HFSCKTARGET = hfsck
|
|
HFSCKOBJS = ck_mdb.o ck_volume.o ck_btree.o hfsck.o util.o main.o \
|
|
$(LIBOBJS)
|
|
|
|
###############################################################################
|
|
|
|
all :: $(TARGETS)
|
|
|
|
again :: clean all
|
|
|
|
depend ::
|
|
( sed -n '1,/^### DEPEND/p' Makefile.in; \
|
|
echo; \
|
|
$(CC) -MM $(INCLUDES) $(DEFINES) *.c; \
|
|
) > Makefile.in.new
|
|
mv -f Makefile.in.new Makefile.in
|
|
|
|
clean ::
|
|
rm -f $(TARGETS) *.o gmon.* core
|
|
|
|
###############################################################################
|
|
|
|
$(HFSCKTARGET): $(HFSCKOBJS)
|
|
$(CC) $(LDFLAGS) $(HFSCKOBJS) $(LIBS) -o $@
|
|
|
|
### DEPENDENCIES FOLLOW #######################################################
|
|
|
|
ck_btree.o: ck_btree.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h util.h ck_btree.h
|
|
ck_mdb.o: ck_mdb.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h util.h ck_mdb.h
|
|
ck_volume.o: ck_volume.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h ck_volume.h
|
|
hfsck.o: hfsck.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h ck_mdb.h ck_volume.h ck_btree.h
|
|
main.o: main.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h ../suid.h ../version.h
|
|
util.o: util.c hfsck.h ../libhfs/libhfs.h ../libhfs/hfs.h \
|
|
../libhfs/apple.h ../libhfs/data.h ../libhfs/block.h ../libhfs/low.h \
|
|
../libhfs/file.h ../libhfs/btree.h ../libhfs/node.h \
|
|
../libhfs/record.h ../libhfs/volume.h util.h
|