#include "config.h"

NAME 		= ascd
BINDIR		= /usr/local/bin
LIBDIR		= /usr/local/lib
MANDIR		= /usr/local/man/man1
MOREFLAGS	= -I/usr/local/include -I.
CCOPTIONS	= $(MOREFLAGS)
SYS_LIBRARIES	= $(XLIB) -lXpm

#ifdef WMK
WM_LIB = -lm -lpng -lgif -ljpeg -ltiff -lPropList -lwraster -lWINGs
#else
WM_LIB = 
#endif

LOCAL_LIBRARIES = -L../libworkman -lworkman -L/usr/local/lib

SRCS = cdcontrol.c ascd.c
OBJS = cdcontrol.o ascd.o

AllTarget($(NAME))
NormalProgramTarget($(NAME),$(OBJS),NullParameter,$(SYS_LIBRARIES) $(LOCAL_LIBRARIES) $(WM_LIB),NullParameter)
InstallProgram($(NAME),$(BINDIR))
InstallManPage($(NAME),$(MANDIR))
