#ident @(#)Makefile 1.15 04/02/22
###########################################################################
# 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, 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; see the file COPYING. If not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
###########################################################################
SRCROOT= ..
RULESDIR= RULES
include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= bin
TARGET= mkisofs
SYMLINKS= mkhybrid
#CPPOPTS += -DADD_FILES
CPPOPTS += -DUSE_LARGEFILES
#
# Comment out if you do not like to ignore deep directories
# when Rock Ridge is not in use
CPPOPTS += -DABORT_DEEP_ISO_ONLY
CPPOPTS += -DAPPLE_HYB
CPPOPTS += -DUDF
CPPOPTS += -DDVD_VIDEO
CPPOPTS += -DSORTING
CPPOPTS += -I../libhfs_iso/
CPPOPTS += -DHAVE_CONFIG_H -DUSE_LIBSCHILY -DUSE_SCG \
'-DAPPID_DEFAULT="MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING"' \
-I../cdrecord
CFILES= mkisofs.c tree.c write.c hash.c rock.c udf.c multi.c \
joliet.c match.c name.c fnmatch.c eltorito.c boot.c \
getopt.c getopt1.c \
scsi.c \
scsi_cdr.c cd_misc.c \
modes.c \
apple.c volume.c desktop.c mac_label.c stream.c \
ifo_read.c dvd_file.c dvd_reader.c \
defaults.c getnum.c
HFILES= apple.h bootinfo.h config.h defaults.h diskmbr.h exclude.h \
fnmatch.h getopt.h iso9660.h mac_label.h mactypes.h match.h \
mkisofs.h sunlabel.h udf.h udf_fs.h vms.h \
ifo_read.h dvd_file.h dvd_reader.h bswap.h ifo_types.h \
../cdrecord/defaults.h
LIBS= -lhfs -lfile -lunls -lrscg -lscg $(LIB_VOLMGT) -ldeflt -lschily $(SCSILIB) $(LIB_SOCKET)
XMK_FILE= Makefile.man hybridman.mk
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.cmd
###########################################################################
count: $(CFILES) $(HFILES)
count $r1
syntax highlighted by Code2HTML, v. 0.9.1