#include "../config.h"
#include "../default-dirs"

NAME = ascd

MOREFLAGS= -I/usr/local/include

CCOPTIONS = $(MOREFLAGS)

SYS_LIBRARIES = $(XLIB) -lXpm
#ifdef SHARED_LIBWORKMAN
LOCAL_LIBRARIES = -L../lib -lworkman
#else
LOCAL_LIBRARIES = ../lib/libworkman.a
#endif
DEPLIBS = $(DEPXLIB) ../lib/libworkman.a

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

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