#include <XView.tmpl>

/**/#########################################################################
/**/# @(#)Imakefile	1.8 28 Apr 1993 SMI
/**/# Imakefile for olwm release 3.0.

DEFINES = -DSHAPE $(XVCLIENTDEFINES)
INCLUDES = -I$(HEADER_DEST) -I$(TOP) $(XVCLIENTINCLUDES)
SYS_LIBRARIES = $(SYSV_CLIENT_LIB)
DEPLIBS = 
LOCAL_LIBRARIES = $(OLGXLIB) $(XLIB) $(XVCLIENTMISCLIB)

CFILES.misc.3          =
CFILES.misc.4          = fontset.c

OFILES.misc.3	= ${CFILES.misc.3:%.c=%.o}
OFILES.misc.4	= ${CFILES.misc.4:%.c=%.o}

HFILES.misc.3          =
HFILES.misc.4          =

#if XvNeedGettext
GETTEXT.H		= gettext.h
GETTEXT.C		= gettext.c
#else
GETTEXT.H		=
GETTEXT.C		=
#endif

GETTEXT.O		= ${GETTEXT.C:%.c=%.o}

HEADERS = cmdstream.h debug.h defaults.h dsdm.h environ.h   \
	  error.h events.h globals.h group.h helpcmd.h i18n.h iconimage.h \
	  iconmask.h kbdfuncs.h list.h mem.h menu.h notice.h olcursor.h \
	  ollocale.h olwm.h properties.h resources.h \
	  screen.h selection.h slots.h st.h win.h ${GETTEXT.H}

INFOFILES = olwm.info
MANPAGES = olwm.man
BITMAPS = iconbitmap.h
SCRIPTS = 
MISC 	= openwin-menu openwin-menu-programs


SRCS	= atom.c client.c cmdstream.c \
	  debug.c defaults.c dsdm.c environ.c error.c evbind.c events.c \
	  fontset.c group.c helpsend.c i18n.c info.c kbdfuncs.c \
	  list.c mem.c menu.c moveresize.c notice.c olwm.c properties.c\
	  resources.c screen.c selection.c services.c slave.c slots.c \
	  st.c states.c usermenu.c usleep.c win.c winbusy.c \
	  winbutton.c wincolor.c winframe.c wingframe.c \
	  winicon.c winipane.c winmenu.c winnofoc.c \
	  winpane.c winpinmenu.c winpush.c winresize.c \
	  winroot.c ${CFILES.misc.XvI18nLevel} ${GETTEXT.C}

OBJS = 	\
	  atom.o client.o cmdstream.o \
	  debug.o defaults.o dsdm.o environ.o error.o evbind.o events.o \
	  fontset.o group.o helpsend.o i18n.o info.o kbdfuncs.o \
	  list.o mem.o menu.o moveresize.o notice.o olwm.o properties.o\
	  resources.o screen.o selection.o services.o slave.o slots.o \
	  st.o states.o usermenu.o usleep.o win.o winbusy.o \
	  winbutton.o wincolor.o winframe.o wingframe.o \
	  winicon.o winipane.o winmenu.o winnofoc.o \
	  winpane.o winpinmenu.o winpush.o winresize.o \
	  winroot.o ${OFILES.misc.XvI18nLevel} ${GETTEXT.O}


ALLFILES = \
	${HEADERS} ${BITMAPS} ${SRCS} \
	${MISC} ${INFOFILES} ${MANPAGES} ${SCRIPTS}

ComplexProgramTarget(olwm)

InstallNonExecList($(MISC),$(LIBRARY_DEST))

#include <XView.prog>
