##
## Imakefile for fvwm 1.18c
## Thu Aug  5 11:21:36 MET DST 1993, mj@dfv.rwth-aachen.de
##
## fvwm.1 must be renamed to fvwm.man
##

## setup is done entirely in configuration.h now!
## You should need to do much in here, excpt maybe add libraries

## I need to get the #define XPM from configuration.h if its in there,
## so that I can tell if I should include -lXpm
#include <configuration.h>

#ifdef XPM
XPMLIB = -lXpm
#endif

DEPLIBS = $(DEPXLIB) 

#ifdef AlphaArchitecture
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -ldnet_stub
#else 
#ifdef HPArchitecture
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -lV3
#else
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
#endif /* HPArchitecture */
#endif /* AlphaArchitecture */
EXTRA_DEFINES = -Wall 
LINTLIBS = $(LINTXLIB)

SRCS = fvwm.c configure.c events.c borders.c menus.c functions.c resize.c\
       add_window.c pager.c move.c icons.c windows.c module.c placement.c
 
OBJS = fvwm.o configure.o events.o borders.o menus.o functions.o resize.o\
       add_window.o pager.o move.o icons.o windows.o module.o placement.o

ComplexProgramTarget(fvwm)
InstallNonExecFile(../sample.fvwmrc/system.fvwmrc,FVWMDIR)

