#define Gui

#ifdef MS_WINDOWS
LOCINCL = -I. -I../../include/base -I../../include/msw
#else
LOCINCL = -I. -I../../include/base -I../../include/x
#endif

#include "Imake.inc"

BINDIR=/prvarch/samples

#if HasGcc
XCOMM STD_INCLUDES=-I/usr/local/lib/g++-include
#endif

DEPLIBS=$(LOCAL_LIBRARIES)

PROGRAMS=minimal

SRCS1=	$(PROGRAMS).cc
OBJS1=	$(SRCS1:.cc=.ExtObj)

NormalLibraryObjectRule()

RES=$(PROGRAMS).rc

Ressource($(PROGRAMS),$(RES))

#if defined(MS_WINDOWS)
#define Res	$(PROGRAMS).res
#else
#define	Res	/**/
#endif

ComplexProgramTarget_1($(PROGRAMS),Res $(LOCAL_LIBRARIES),$(MESLIBS))

PutRessource($(PROGRAMS))

InstallNonExec(aiai.ico,$(BINDIR))
InstallNonExec(aiai.xbm,$(BINDIR))

SRCS=$(SRCS1)

WorldRule()

DoDosSpecial(Imakefile,imakefil)
CpDos(aiai.ico)
CpDos(aiai.xbm)
DoDos(minimal.cc)
DoDos(minimal.def)
DoDos(minimal.rc)
