cdrtools/mkisofs/diag/dump.mk
2025-06-15 04:19:58 +08:00

46 lines
1.7 KiB
Makefile

#ident @(#)dump.mk 1.12 13/04/21
###########################################################################
# 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
###########################################################################
SRCROOT= ../..
RULESDIR= RULES
include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= bin
TARGET= devdump
CPPOPTS += -DUSE_LIBSCHILY
CPPOPTS += -DUSE_LARGEFILES
CPPOPTS += -DUSE_SCG
CPPOPTS += -I..
CPPOPTS += -I../../libscg
CPPOPTS += -I../../libscgcmd
CPPOPTS += -I../../libcdrdeflt
CPPOPTS += -DSCHILY_PRINT
CPPOPTS += -DINS_BASE=\"${INS_BASE}\"
CPPOPTS += -DTEXT_DOMAIN=\"SCHILY_cdrtools\"
CFILES= dump.c \
scsi.c
#
# LIB_CAP is needed for Linux capability support in librscg.
#
LIBS= -lscgcmd -lrscg -lscg $(LIB_VOLMGT) -lcdrdeflt -ldeflt -lschily $(SCSILIB) $(LIB_SOCKET) $(LIB_INTL) $(LIB_CAP)
XMK_FILE= devdump_man.mk
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.cmd
###########################################################################