        INCLUDES = -I./ -I$(BUILDINCDIR)
         DEFINES = -D$(MAS_ENDIANNESS) $(ARCHDEFS)

            SRCS = play.c wav.c
            OBJS = play.o wav.o $(ARCHOBJS)

#ifdef LinuxArchitecture
ARCHREQUIREDLIBS = 
        ARCHDEFS = 
        ARCHOBJS = 
        ARCHSRCS = 
#endif

#ifdef SunArchitecture
ARCHREQUIREDLIBS = -R/usr/ucblib:/opt/SUNWspro/lib -L/usr/ucblib -L/opt/SUNWspro/lib -lnsl -lsocket -lucb -lresolv -lelf -lmp -lCrun -lrt -lmas_jrtp
        ARCHDEFS = -D_POSIX_C_SOURCE=199309L -D__EXTENSIONS__ -D_POSIX_SOURCE -D_XOPEN_SOURCE -DREAL_TIME_PRI=50
        ARCHOBJS = 
        ARCHSRCS = 
#endif

XCOMM # This linking order is important...  -lmas MUST be first
 LOCAL_LIBRARIES = 
   SYS_LIBRARIES = 
         DEPLIBS = 
    REQUIREDLIBS = -L $(BUILDLIBDIR) -lmas -lmasc $(ARCHREQUIREDLIBS)

AllTarget(ProgramTargetName(maswavplay))
NormalProgramTarget(maswavplay,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYS_LIBRARIES) $(REQUIREDLIBS))
InstallProgram(maswavplay,$(BINDIR))

DependTarget()
LintTarget()
