/*
 * Copyright (C) 1990 Regents of the University of California.
 *
 * Permission to use, copy, modify, distribute, and sell this software and
 * its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation, and that the name of the University of
 * California not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior
 * permission.  the University of California makes no representations
 * about the suitability of this software for any purpose.  It is provided
 * "as is" without express or implied warranty.
 */

LOCAL_LIBRARIES = XawClientLibs
LINTLIBS = -lXaw -lXt -lX11
#ifdef SunArchitecture
           SRCS = main.c top_setup.c logo_setup.c button_setup.c cdrom_callb.c\
                  cdrom_sun.c internals.c shuffle.c program.c leds.c debug.c 

           OBJS = main.o top_setup.o logo_setup.o button_setup.o cdrom_callb.o\
                  cdrom_sun.o internals.o shuffle.o program.o leds.o debug.o
#endif
#ifdef SGIArchitecture
LOCAL_LIBRARIES = XawClientLibs -lcdaudio -lds -laudio -lm
           SRCS = main.c top_setup.c logo_setup.c button_setup.c cdrom_callb.c\
                  cdrom_sgi.c internals.c shuffle.c program.c leds.c debug.c 

           OBJS = main.o top_setup.o logo_setup.o button_setup.o cdrom_callb.o\
                  cdrom_sgi.o internals.o shuffle.o program.o leds.o debug.o
#endif
#ifdef COHERENT
LOCAL_LIBRARIES = XawClientLibs -lmisc -lm
           SRCS = main.c top_setup.c logo_setup.c button_setup.c cdrom_callb.c\
                  cdrom_coh.c internals.c shuffle.c program.c leds.c debug.c 

           OBJS = main.o top_setup.o logo_setup.o button_setup.o cdrom_callb.o\
                  cdrom_coh.o internals.o shuffle.o program.o leds.o debug.o
#endif

       PROGRAMS = xcdplayer

AllTarget(${PROGRAMS})

ComplexProgramTarget(xcdplayer)
NormalProgramTarget(cdinfo, cdinfo.o,,,)
NormalProgramTarget(cdgrab, cdgrab.o,,,)
NormalLintTarget(${SRCS})
InstallAppDefaults(XCdplayer)
