1# 2# @(#)make.inc 7.43 04/03/16 3# 4# make.inc for xmcd, cda and libdi 5# 6# xmcd - Motif(R) CD Audio Player/Ripper 7# cda - Command-line CD Audio Player/Ripper 8# libdi - CD Audio Device Interface Library 9# cddb - CD Database Management Library 10# 11# NOTE: You should use this only if you don't have imake! 12# 13# Copyright (C) 1993-2004 Ti Kan 14# E-mail: xmcd@amb.org 15# 16# This program is free software; you can redistribute it and/or modify 17# it under the terms of the GNU General Public License as published by 18# the Free Software Foundation; either version 2 of the License, or 19# (at your option) any later version. 20# 21# This program is distributed in the hope that it will be useful, 22# but WITHOUT ANY WARRANTY; without even the implied warranty of 23# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24# GNU General Public License for more details. 25# 26# You should have received a copy of the GNU General Public License 27# along with this program; if not, write to the Free Software 28# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29# 30 31# 32# This sample make.inc file is set up for compilation on a UnixWare 7 33# system. Modify these as you see fit. You will most certainly need to 34# make some changes here in order to successfully build xmcd/cda 35# on your platform. 36# 37 38# 39# For the MISC= line, you should use any of the following if appropriate 40# for your platform: 41# 42# -DNO_STDLIB_H 43# -DNO_UNISTD_H 44# -DNO_PTHREADS 45# -DNO_LABELH 46# -DHAS_ALSA (Linux only) 47# -DHAS_MME (Tru64 UNIX only) 48# -DFREEBSD_CAM (FreeBSD only) 49# -DSOCKS 50# -DNOREMOTE 51# -DEDITRES 52# 53# For the ENCODERS= line, you should use any of the following to enable 54# the associated functionality. 55# 56# -DHAS_LAME 57# -DHAS_VORBIS 58# -DHAS_FLAC 59# -DHAS_FAAC 60# 61# See the Imakefiles in each of the subdirectories for an explanation of 62# these defines. 63# 64# All other platform-dependent feature configuration is set up in 65# common_d/config.h. 66# 67SHELL= /bin/sh 68MAKE= make 69CC= cc 70RANLIB= /bin/true 71AR= ar cq 72RM= rm -f 73LN= ln -s 74CFLAGS= $(DEBUGFLAGS) $(DEFINES) $(INCDIRS) $(ARCH) $(ENCODERS) $(MISC) 75DEBUGFLAGS= -O 76ARCH= -DSVR4 -Di386 -Kpthread 77MISC= 78ENCODERS= -DHAS_LAME -DHAS_VORBIS -DHAS_FLAC -DHAS_FAAC 79INCDIRS= -I.. -I/usr/X/include -I/usr/local/include 80CDDBLIB= -L../cddb_d -lcddb 81LOCAL_LIBDIR= -L/usr/local/lib 82VORBLIB= -lvorbisenc -lvorbis -logg 83FLACLIB= -lFLAC 84ENCLIBS= $(LOCAL_LIBDIR) $(FLACLIB) $(VORBLIB) 85# AUDIOLIB= -lasound 86XLIBS= -L/usr/X/lib -lXm -lXt -lX11 -lgen 87CURSESLIB= -lcurses 88SOCKETLIB= -lsocket -lnsl 89MATHLIB= -lm 90PTHREADLIB= 91BINDIR= /usr/X/bin 92LIBDIR= /usr/X/lib 93MANDIR= /usr/share/man/man1 94MANSUF= .1 95DEPEND= makedepend 96DEPENDFLAGS= 97TAGS= ctags 98 99