/* Imakefile for fvwm 1.18c                                            */
/* Thu Aug  5 11:21:36 MET DST 1993, mj@dfv.rwth-aachen.de             */

/* 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 <../configure.h>

COMPILER

#ifdef XPM
XPMLIB = XPMLIBRARY
#endif

DEPLIBS = $(DEPXLIB) ../libs/libfvwmlib.a

#ifdef AlphaArchitecture
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -ldnet_stub -L../libs -lfvwmlib
#else 
#ifdef HPArchitecture
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -lV3 -L../libs -lfvwmlib
#else
LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -L../libs -lfvwmlib 
#endif /* HPArchitecture */
#endif /* AlphaArchitecture */

FVWM_BIN_DIR 

LINTLIBS = $(LINTXLIB)

SRCS = fvwm.c events.c borders.c menus.c functions.c resize.c\
       add_window.c move.c icons.c windows.c module.c placement.c\
       decorations.c colormaps.c misc.c style.c complex.c builtins.c \
       virtual.c colors.c bindings.c read.c focus.c
 
OBJS = fvwm.o events.o borders.o menus.o functions.o resize.o\
       add_window.o move.o icons.o windows.o module.o placement.o \
       decorations.o colormaps.o misc.o style.o complex.o builtins.o \
       virtual.o colors.o bindings.o read.o focus.o

ComplexProgramTarget(fvwm2)
#ifndef InstallNamedNonExec
#define InstallNamedNonExec(what,as,where) InstallNonExec(what,where/as)
#endif /* InstallNamedNonExec() */

InstallNamedNonExec(../sample.fvwmrc/system.fvwmrc,.fvwmrc,FVWMDIR)

