2006-11-26 11:13:41 -07:00
|
|
|
bin_PROGRAMS = Xnest
|
2007-11-24 10:55:21 -07:00
|
|
|
noinst_LIBRARIES = libfbcmap.a
|
|
|
|
|
|
|
|
AM_CFLAGS = -DHAVE_XNEST_CONFIG_H \
|
|
|
|
-DNO_HW_ONLY_EXTS \
|
|
|
|
$(DIX_CFLAGS) \
|
|
|
|
$(XNESTMODULES_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
SRCS = Args.c \
|
|
|
|
Args.h \
|
|
|
|
Color.c \
|
|
|
|
Color.h \
|
|
|
|
Cursor.c \
|
|
|
|
Display.c \
|
|
|
|
Display.h \
|
|
|
|
Drawable.h \
|
|
|
|
Events.c \
|
|
|
|
Events.h \
|
|
|
|
Font.c \
|
|
|
|
GC.c \
|
|
|
|
GCOps.c \
|
|
|
|
GCOps.h \
|
|
|
|
Handlers.c \
|
|
|
|
Handlers.h \
|
|
|
|
Init.c \
|
|
|
|
Init.h \
|
|
|
|
Keyboard.c \
|
|
|
|
Keyboard.h \
|
|
|
|
Pixmap.c \
|
|
|
|
Pointer.c \
|
|
|
|
Pointer.h \
|
|
|
|
Screen.c \
|
|
|
|
Screen.h \
|
|
|
|
Visual.c \
|
|
|
|
Visual.h \
|
|
|
|
Window.c \
|
|
|
|
XNCursor.h \
|
|
|
|
Xnest.h \
|
|
|
|
XNFont.h \
|
|
|
|
XNGC.h \
|
|
|
|
XNPixmap.h \
|
|
|
|
XNWindow.h \
|
|
|
|
xnest-config.h \
|
|
|
|
$(top_srcdir)/Xext/dpmsstubs.c \
|
|
|
|
$(top_srcdir)/Xi/stubs.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
$(top_srcdir)/mi/miinitext.c
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
libfbcmap_a_SOURCES = $(top_srcdir)/fb/fbcmap_mi.c
|
|
|
|
libfbcmap_a_CFLAGS = $(AM_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
XNEST_LIBS = \
|
|
|
|
@XNEST_LIBS@ \
|
|
|
|
libfbcmap.a
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
Xnest_SOURCES = $(SRCS)
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
Xnest_DEPENDENCIES = $(XNEST_LIBS)
|
|
|
|
Xnest_LDADD = $(XNEST_LIBS) $(XNEST_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
|
|
|
Xnest_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
EXTRA_DIST = icon \
|
2006-11-26 11:13:41 -07:00
|
|
|
screensaver \
|
|
|
|
Xnest.man.pre
|
|
|
|
|
|
|
|
# -UDPMSExtension for miinitext? can't put into
|
|
|
|
# OS_DEFINES???
|
|
|
|
# EXT_DEFINES???
|
|
|
|
# ICONFIGFILES -- SpecialCObjectRule
|
|
|
|
|
|
|
|
# Man page
|
|
|
|
include $(top_srcdir)/cpprules.in
|
|
|
|
|
|
|
|
appmandir = $(APP_MAN_DIR)
|
|
|
|
|
|
|
|
appman_PRE = Xnest.man
|
|
|
|
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
|
|
|
|
|
|
|
|
EXTRAMANDEFS = \
|
|
|
|
-D__XCONFIGFILE__=$(__XCONFIGFILE__) \
|
|
|
|
-D__XSERVERNAME__=$(XSERVERNAME)
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(appman_PRE)
|
|
|
|
CLEANFILES = $(appman_PRE) $(appman_DATA)
|
|
|
|
|
|
|
|
SUFFIXES += .$(APP_MAN_SUFFIX) .man
|
|
|
|
|
|
|
|
.man.$(APP_MAN_SUFFIX):
|
2010-07-27 13:02:24 -06:00
|
|
|
-$(AM_V_at)rm -f $@
|
|
|
|
$(AM_V_at)$(LN_S) $< $@
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
relink:
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_at)rm -f Xnest$(EXEEXT) && $(MAKE) Xnest$(EXEEXT)
|