19ace9065SmrgSUBDIRS = man
29ace9065Smrg
305b261ecSmrgbin_PROGRAMS = Xnest
405b261ecSmrg
505b261ecSmrgAM_CFLAGS = -DHAVE_XNEST_CONFIG_H \
605b261ecSmrg            $(DIX_CFLAGS) \
705b261ecSmrg            $(XNESTMODULES_CFLAGS)
805b261ecSmrg
905b261ecSmrgSRCS =	Args.c \
1005b261ecSmrg	Args.h \
1105b261ecSmrg	Color.c \
1205b261ecSmrg	Color.h \
1305b261ecSmrg	Cursor.c \
1405b261ecSmrg	Display.c \
1505b261ecSmrg	Display.h \
1605b261ecSmrg	Drawable.h \
1705b261ecSmrg	Events.c \
1805b261ecSmrg	Events.h \
1905b261ecSmrg	Font.c \
2005b261ecSmrg	GC.c \
2105b261ecSmrg	GCOps.c \
2205b261ecSmrg	GCOps.h \
2305b261ecSmrg	Handlers.c \
2405b261ecSmrg	Handlers.h \
2505b261ecSmrg	Init.c \
2605b261ecSmrg	Init.h \
2705b261ecSmrg	Keyboard.c \
2805b261ecSmrg	Keyboard.h \
2905b261ecSmrg	Pixmap.c \
3005b261ecSmrg	Pointer.c \
3105b261ecSmrg	Pointer.h \
3205b261ecSmrg	Screen.c \
3305b261ecSmrg	Screen.h \
3405b261ecSmrg	Visual.c \
3505b261ecSmrg	Visual.h \
3605b261ecSmrg	Window.c \
3705b261ecSmrg	XNCursor.h \
3805b261ecSmrg	Xnest.h \
3905b261ecSmrg	XNFont.h \
4005b261ecSmrg	XNGC.h \
4105b261ecSmrg	XNPixmap.h \
4205b261ecSmrg	XNWindow.h \
4305b261ecSmrg	xnest-config.h \
44ed6184dfSmrg	$(top_srcdir)/mi/miinitext.c \
45ed6184dfSmrg	$(top_srcdir)/mi/miinitext.h
4605b261ecSmrg
474642e01fSmrgXNEST_LIBS = \
484642e01fSmrg        @XNEST_LIBS@ \
4935c4bbdfSmrg	$(top_builddir)/Xi/libXistubs.la
504642e01fSmrg
5105b261ecSmrgXnest_SOURCES = $(SRCS)
5205b261ecSmrg
534642e01fSmrgXnest_DEPENDENCIES = $(XNEST_LIBS)
544642e01fSmrgXnest_LDADD = $(XNEST_LIBS) $(XNEST_SYS_LIBS) $(XSERVER_SYS_LIBS)
554642e01fSmrgXnest_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
5605b261ecSmrg
5705b261ecSmrgEXTRA_DIST = icon \
589ace9065Smrg             screensaver
5905b261ecSmrg
6005b261ecSmrgrelink:
616747b715Smrg	$(AM_V_at)rm -f Xnest$(EXEEXT) && $(MAKE) Xnest$(EXEEXT)
62