Ticket #3101: patch-makefile.diff

File patch-makefile.diff, 1.6 KB (added by sailgreg@…, 20 years ago)

Makefile

  • Makefile

    old new  
    5454        @echo "make netbsd         NetBSD"
    5555        @echo "make openbsd        OpenBSD"
    5656        @echo "make mint           MiNT on Atari"
     57        @echo "make macosx         MacOSX
    5758        @echo "make generic        try this one if your system isn't listed above"
    5859        @echo ""
    5960        @echo "Please read the file INSTALL for additional information."
     
    149150        @echo "Please read the file INSTALL for additional information."
    150151        @echo ""
    151152
     153macos-help:
     154        @echo ""
     155        @echo "There are several Mac OS X flavours. Choose one:"
     156        @echo ""
     157        @echo "make macosx"
     158        @echo "make macos-esd"
     159        @echo ""
     160        @echo "Please read the file INSTALL for additional information."
     161        @echo ""
     162
    152163linux-devel:
    153164        $(MAKE) OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
    154165         LDFLAGS= \
     
    759770                        -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \
    760771                        -DDONT_CATCH_SIGNALS -DNAS' \
    761772                mpg123-make
     773
     774macosx:
     775        $(MAKE) CC=cc LDFLAGS='$(LDFLAGS)' AUDIO_LIB='-framework CoreAudio' \
     776                OBJECTS='decode.o dct64.o audio_macosx.o term.o' \
     777                CFLAGS='$(CFLAGS) -DINET6 -DTERM_CONTROL -DMAC_OS_X -Wall -O2 -DPPC_ENDIAN' \
     778                mpg123-make
     779
     780macos-generic:
     781        $(MAKE) CC=cc LDFLAGS='$(LDFLAGS)' AUDIO_LIB='-framework CoreAudio' \
     782                OBJECTS='decode.o dct64.o audio_macosx.o term.o' \
     783                CFLAGS='$(CFLAGS) -DINET6 -DTERM_CONTROL -DMAC_OS_X -Wall -O2 -DPPC_ENDIAN' \
     784                mpg123-make
     785
     786macos-esd:
     787        $(MAKE) CC=cc LDFLAGS='$(LDFLAGS)' AUDIO_LIB='-lesd -laudiofile' \
     788                OBJECTS='decode.o dct64.o audio_esd.o' \
     789                CFLAGS='$(CFLAGS) -O -DDARWIN -Wall -O2 -DPPC_ENDIAN -DUSE_ESD' \
     790                mpg123-make     
    762791
    763792mint:
    764793        $(MAKE)  LDFLAGS= \