/**** Optional defines:  Change as you see fit. *****************************
*
* -DBSDCOMPAT
*      Compiling under BSD-derived or BSD-like OS
*
* -DNO_STDLIB_H
*      The system does not support <stdlib.h>
*/
#if defined(SYSTYPE_BSD43) || defined(BSD43) || defined(BSD) || \
   defined(FreeBSDArchitecture) || defined(OsfArchitecture) || \
   (defined(SunArchitecture) && OSMajorVersion == 4)
DEFINES= -DLINUX
#else
DEFINES= -DLINUX

#endif

# CC = gcc -g -Wall -O2  -L/usr/X11R6/lib
CC = gcc -g -Wall -O2  -L/usr/X11R6/lib

ALLINCLUDES =

/*
* libs to link with
*/

LOCAL_LIBRARIES= -lforms -lXpm -lX11 -lm

/*
* C Source files
*/
SRCS=   xfw.c \
       xfw_main.c \
       xfw_cb.c \
       decor.c \
       premptive.c \
       add_specials.c

/*
* Objects
*/
OBJS=   xfw.o \
       xfw_main.c \
       xfw_cb.o \
       decor.o \
       premptive.o \
       add_specials.o

/*
* Build rule for the main module
*/
#ifdef InstallProgram
#undef InstallProgram
#define InstallProgram(program, dest)
#endif
ComplexProgramTarget(xfw)