#ident @(#)Makefile 1.32 07/09/11
###########################################################################
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation.
#
# 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 += -DUSE_FIND
CPPOPTS += -I../libfind
#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 += -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
CPPOPTS += -DSCHILY_PRINT
CPPOPTS += -DUSE_NLS
CPPOPTS += -DUSE_ICONV
CPPOPTS += -DINS_BASE=\"${INS_BASE}\"
CFILES= mkisofs.c tree.c write.c hash.c rock.c inode.c udf.c multi.c \
joliet.c match.c name.c eltorito.c boot.c isonum.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 walk.c
HFILES= apple.h bootinfo.h defaults.h diskmbr.h exclude.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 -lsiconv -lrscg -lscg $(LIB_VOLMGT) -ldeflt \
-lfind -lschily \
$(LIB_ACL_TEST) $(SCSILIB) $(LIB_SOCKET) \
$(LIB_ICONV) $(LIB_INTL)
XMK_FILE= Makefile.man hybridman.mk Makefile.doc
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.cmd
###########################################################################
count: $(CFILES) $(HFILES)
count $r1
syntax highlighted by Code2HTML, v. 0.9.1