1/* Imakefile for AfterStep                                             */
2
3/* setup is done entirely in configuration.h now!                      */
4/* You should need to do much in here, excpt maybe add libraries       */
5
6/* I need to get the #define XPM from configuration.h if its in there, */
7/* so that I can tell if I should include -lXpm                        */
8#include <../configure.h>
9
10COMPILER
11
12#ifdef XPM
13XPMLIB = XPMLIBRARY
14#endif
15
16DEPLIBS = $(DEPXLIB) ../lib/libafterstep.a
17
18#if defined(AlphaArchitecture) && !defined(FreeBSDArchitecture)
19LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -ldnet_stub -lm -L../lib -lafterstep
20#else
21#ifdef HPArchitecture
22LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -lV3 -L../lib -lafterstep
23#else
24LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) -lafterstep -L../lib
25#endif /* HPArchitecture */
26#endif /* AlphaArchitecture */
27
28AFTER_BIN_DIR
29
30LINTLIBS = $(LINTXLIB)
31
32SRCS = afterstep.c configure.c events.c borders.c menus.c functions.c resize.c\
33       add_window.c pager.c move.c icons.c windows.c module.c placement.c\
34       decorations.c colormaps.c misc.c style.c stepgfx.c hashtable.c
35
36OBJS = afterstep.o configure.o events.o borders.o menus.o functions.o resize.o\
37       add_window.o pager.o move.o icons.o windows.o module.o placement.o \
38       decorations.o colormaps.o misc.o style.o stepgfx.o hashtable.o
39
40ComplexProgramTarget(afterstep)
41InstallNamedNonExec(../sample.steprc,system.steprc,AFTERDIR)
42
43