/* Imakefile for AfterStep                                             */

/* 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) ../lib/libafterstep.a

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

AFTER_BIN_DIR 

LINTLIBS = $(LINTXLIB)

SRCS = afterstep.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\
       decorations.c colormaps.c misc.c style.c stepgfx.c hashtable.c\
       hotedge.c
 
OBJS = afterstep.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 \
       decorations.o colormaps.o misc.o style.o stepgfx.o hashtable.o \
       hotedge.o

ComplexProgramTarget(afterstep)
InstallNamedNonExec(../sample.steprc,system.steprc,AFTERDIR)

