/* $Id: Imakefile,v 1.2 94/04/28 18:15:14 leon Exp $ */


/* give the location where you want to install the k-lendar binaries */
#define InstallBinDir /net/koala/bin/sun4

/* give the location where you want to install the k-lendar mail scripts */
#define InstallScriptDir /net/koala/bin/sh

/* give the location where you want to install the app-defaults file */
#define InstallAppDefaultsDir /net/koala/lib/X11/app-defaults


#include "config/project.rules"


EXTRA_DEFINES	= '-DAPP_NAME="k-lendars"'


#ifndef MipsArchitecture
CC      	=  gcc
CCOPTIONS  	= -ansi
CDEBUGFLAGS	= -g /*-Wall -DGCC_SUCKS  -DDebug  -DTrace */
#else
CC		= cc -non_shared
CDEBUGFLAGS	= -g /*-DDebug*/ -DNEED_STRDUP -DNEED_CUSERID
#endif

/* ------ DO NOT EDIT BELOW ------ */


OBJS    = date.o cal.o Day.o Year.o main.o error.o agenda.o misc.o\
	  noteD.o note.o cm.o group.o appointment.o easym.o actions.o\
	  options.o rangeD.o range.o install.o spin.o alarmD.o alarm.o\
	  xt_misc.o
SRCS    = date.c cal.c Day.c Year.c main.c error.c agenda.c misc.c\
	  noteD.c note.c cm.c group.c appointment.c easym.c actions.c\
	  options.c rangeD.c range.c install.c spin.c alarmD.c alarm.c\
	  xt_misc.c



SYS_LIBRARIES	= -lXm -lXt -lXmu -lX11 

AllTarget(k-lendars K-Lendars)
ComplexProgramTarget(k-lendars)
InstallScript(cm-dispatch, InstallScriptDir)
InstallScript(cm-admin, InstallScriptDir)
InstallNonExec(K-Lendars, InstallAppDefaultsDir)


EgeriaDialogTarget(noteD)
EgeriaDialogTarget(rangeD)
EgeriaDialogTarget(alarmD)





DIALOG_FILES = noteD.dlg rangeD.dlg alarmD.dlg

K-Lendars: Resources.ad $(DIALOG_FILES) k-lendars.help Messages.ad
	cp  Resources.ad K-Lendars
	cat $(DIALOG_FILES) >>K-Lendars
	cat k-lendars.help >>K-Lendars
	cat Messages.ad >>K-Lendars


