42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
|
#ident @(#)Makefile 1.18 13/04/21
|
||
|
###########################################################################
|
||
|
SRCROOT= ..
|
||
|
RULESDIR= RULES
|
||
|
include $(SRCROOT)/$(RULESDIR)/rules.top
|
||
|
###########################################################################
|
||
|
|
||
|
INSDIR= bin
|
||
|
TARGET= scgskeleton
|
||
|
CPPOPTS += -DUSE_LARGEFILES
|
||
|
CPPOPTS += -DSCHILY_PRINT
|
||
|
CPPOPTS += -DNO_DOIT
|
||
|
CPPOPTS += -I../libscg
|
||
|
CPPOPTS += -I../libcdrdeflt
|
||
|
CPPOPTS += -I../cdrecord
|
||
|
CPPOPTS += -I../readcd
|
||
|
CPPOPTS += -DINS_BASE=\"${INS_BASE}\"
|
||
|
CPPOPTS += -DTEXT_DOMAIN=\"SCHILY_cdrtools\"
|
||
|
|
||
|
CFILES= skel.c \
|
||
|
io.c cd_misc.c scsi_cdr.c \
|
||
|
scsi_scan.c \
|
||
|
misc.c
|
||
|
|
||
|
#HFILES= cdrecord.h iodefs.h scsi_scan.h scsimmc.h
|
||
|
#
|
||
|
# 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= Makefile.man
|
||
|
|
||
|
cd_misc.c scsi_cdr.c scsi_scan.c io.c misc.c:
|
||
|
@echo " ==> MAKING SYMLINKS in ." && sh ./MKLINKS
|
||
|
$(ALLTARGETS): cd_misc.c scsi_cdr.c scsi_scan.c io.c misc.c
|
||
|
|
||
|
###########################################################################
|
||
|
include $(SRCROOT)/$(RULESDIR)/rules.cmd
|
||
|
###########################################################################
|
||
|
count: $(CFILES) $(HFILES)
|
||
|
count $r1
|
||
|
|