David Korn <dgk at research.att.com> wrote:

> Thats nonsense.  Who really understands the GNU Makefiles?  They

Noboty likes them and the real problem is that people believe that
they are portable by force of automake, while this does not prevent
them from introducing GNUisms.

> are mostly generated and look like an intermediate language
> not a specification on how to build.



How about this which is a part of my makefilesystem that allows compilation
on even more platforms than currently supported by GNU automake:

#ident @(#)Makefile     1.32 06/01/12 Copyr 1995-2006 J. Schilling
###########################################################################
SRCROOT=        ..
RULESDIR=       RULES
include         $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR=         bin
TARGET=         cdrecord
CPPOPTS +=      -DDRV_DVD
CPPOPTS +=      -DFIFO -DAUINFO
CPPOPTS +=      -DHAVE_LIB_EDC_ECC
CPPOPTS +=      -DCLONE_WRITE
CPPOPTS +=      -DUSE_LARGEFILES
CPPOPTS +=      -DGCONF                 # MMC-3 getconf code
CFILES=         cdrecord.c \
                cd_misc.c fifo.c isosize.c audiosize.c auinfo.c \
                cue.c \
                diskid.c \
                wm_session.c wm_track.c wm_packet.c \
                sector.c clone.c \
                movesect.c subchan.c cdtext.c \
                defaults.c \
                cdr_drv.c \
                drv_philips.c drv_sony.c drv_jvc.c drv_7501.c drv_mmc.c \
                drv_dvd.c drv_dvdplus.c \
                drv_simul.c \
                scsi_scan.c scsi_cdr.c scsi_cdr_mmc4.c scsi_mmc.c scsi_mmc4.c \
                scsilog.c \
                modes.c misc.c getnum.c crc16.c xio.c
HFILES=         cdrecord.h iso9660.h auheader.h cdtext.h \
                crc16.h movesect.h mmcvendor.h scsi_scan.h \
                scsimmc.h \
                scsilog.h adip.h \
                xio.h \
                defaults.h \
                ../include/scg/scgio.h ../include/scg/scsidefs.h \
                ../include/scg/scsireg.h ../include/scg/scsitransp.h
LIBS=           -lrscg -lscg $(LIB_VOLMGT) -ledc_ecc -ldeflt -lschily 
$(SCSILIB) $(LIB_SOCKET)
XMK_FILE=       Makefile.man Makefile.dfl

###########################################################################
include         $(SRCROOT)/$(RULESDIR)/rules.cmd
###########################################################################
J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to