OBJS            = add_window.o afterstep.o aswindow.o \
                                colormaps.o configure.o cover.o dbus.o decorations.o dirtree.o \
				events.o functions.o housekeeping.o icons.o \
				menuitem.o menus.o misc.o module.o \
                                pager.o placement.o theme.o winstatus.o

# move.o clientwin.o
# resize.o
# style.o - discontinued
# borders.o - discontinued
# frame.o - discontinued

PROG		= afterstep

INCS_PRIVATE	= @DBUS1_CFLAGS@ -DDBUS_API_SUBJECT_TO_CHANGE

LIBS_PRIVATE      = $(LIB_AFTERCONF) $(LIB_AFTERSTEP) \
					$(LIB_AFTERIMAGE) $(LIB_AFTERBASE) $(LIBS_AFTERIMAGE) @DBUS1_LIBS@
LIBS_DEPEND     = $(LIB_AFTERBASE) $(LIB_AFTERIMAGE) $(LIB_AFTERSTEP) \
				  $(LIB_AFTERCONF)

@MAKEFILECOMMON@

$(PROG):        $(OBJS) $(LIBS_DEPEND)
		$(CC) $(OBJS) $(LIBS_ALL) -o $(@)

AfterStepConfig.o:	configure.c
		$(CC) $(CCFLAGS) $(EXTRA_DEFINES) -DAFTERSTEP_CONFIG_TEST $(INCLUDES) $(EXTRA_INCLUDES) -c configure.c -o AfterStepConfig.o

AfterStepConfig:	AfterStepConfig.o
		$(CC) AfterStepConfig.o $(USER_LD_FLAGS) $(LIBS_ALL) -o AfterStepConfig

test_name_change.o:	events.c
		$(CC) $(CCFLAGS) $(EXTRA_DEFINES) -DNAME_CHANGE_TEST $(INCLUDES) $(EXTRA_INCLUDES) -c events.c -o test_name_change.o

test_name_change:	test_name_change.o
		$(CC) test_name_change.o $(USER_LD_FLAGS) $(LIBS_ALL) -o test_name_change


module.clean:
		

install:	install.bin

uninstall:	uninstall.bin
