/* This software is Copyright 1995 by Karl-Johan Johnsson
 *
 * Permission is hereby granted to copy, reproduce, redistribute or otherwise
 * use this software as long as: there is no monetary profit gained
 * specifically from the use or reproduction of this software, it is not
 * sold, rented, traded or otherwise marketed, and this copyright notice is
 * included prominently in any copy made. 
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ANY USE OF THIS
 * SOFTWARE IS AT THE USER'S OWN RISK.
 */
#include "../knews.tmpl"

#ifndef NEED_POSIX_REGEXPS

LOCAL_LIBRARIES	= -L../Widgets -lWidgets $(XMULIB) $(XTOOLLIB) $(XLIB)
DEPLIBS	= $(DEPXLIBS) ../Widgets/libWidgets.a

#else

LOCAL_LIBRARIES	= \
	-L../Widgets -lWidgets -L../regexp -lregexp \
	$(XMULIB) $(XTOOLLIB) $(XLIB)
EXTRA_INCLUDES = -I../regexp
DEPLIBS	= $(DEPXLIBS) ../Widgets/libWidgets.a ../regexp/libregexp.a

#endif

#ifndef BROKEN_SUN_CLIBRARY

SRCS	= \
	actions.c ahead.c connect.c context.c domain.c hash.c kedit.c \
	kill.c main.c misc.c newsrc.c parse.c pedit.c pixmaps.c post.c \
	procs.c read.c save.c search.c server.c tag.c thread.c util.c \
	uudecode.c viewer.c widgets.c xutil.c NntpObject.c GroupObjec.c

OBJS	= \
	actions.o ahead.o connect.o context.o domain.o hash.o kedit.o \
	kill.o main.o misc.o newsrc.o parse.o pedit.o pixmaps.o post.o \
	procs.o read.o save.o search.o server.o tag.o thread.o util.o \
	uudecode.o viewer.o widgets.o xutil.o NntpObject.o GroupObjec.o

#else

SRCS	= \
	actions.c ahead.c connect.c context.c domain.c hash.c kedit.c kill.c \
	main.c memmove.c misc.c newsrc.c parse.c pedit.c pixmaps.c post.c \
	procs.c read.c save.c search.c server.c tag.c thread.c util.c \
	uudecode.c viewer.c widgets.c xutil.c NntpObject.c GroupObjec.c

OBJS	= \
	actions.o ahead.o connect.o context.o domain.o hash.o kedit.o kill.o \
	main.o memmove.o misc.o newsrc.o parse.o pedit.o pixmaps.o post.o \
	procs.o read.o save.o search.o server.o tag.o thread.o util.o \
	uudecode.o viewer.o widgets.o xutil.o NntpObject.o GroupObjec.o

#endif

ComplexProgramTarget(knews)
InstallAppDefaults(Knews)
