First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xnest / Makefile.am
blob99dba60bdafedfb71e7dff0d8fce27c641eb6e8f
1 bin_PROGRAMS = Xnest
2 noinst_LIBRARIES = libfbcmap.a
4 AM_CFLAGS = -DHAVE_XNEST_CONFIG_H \
5             -DNO_HW_ONLY_EXTS \
6             $(DIX_CFLAGS) \
7             $(XNESTMODULES_CFLAGS)
9 SRCS =  Args.c \
10         Args.h \
11         Color.c \
12         Color.h \
13         Cursor.c \
14         Display.c \
15         Display.h \
16         Drawable.h \
17         Events.c \
18         Events.h \
19         Font.c \
20         GC.c \
21         GCOps.c \
22         GCOps.h \
23         Handlers.c \
24         Handlers.h \
25         Init.c \
26         Init.h \
27         Keyboard.c \
28         Keyboard.h \
29         Pixmap.c \
30         Pointer.c \
31         Pointer.h \
32         Screen.c \
33         Screen.h \
34         Visual.c \
35         Visual.h \
36         Window.c \
37         XNCursor.h \
38         Xnest.h \
39         XNFont.h \
40         XNGC.h \
41         XNPixmap.h \
42         XNWindow.h \
43         xnest-config.h \
44         $(top_srcdir)/Xext/dpmsstubs.c \
45         $(top_srcdir)/Xi/stubs.c \
46         $(top_srcdir)/mi/miinitext.c
48 libfbcmap_a_SOURCES = $(top_srcdir)/fb/fbcmap_mi.c
49 libfbcmap_a_CFLAGS = $(AM_CFLAGS)
51 Xnest_SOURCES = $(SRCS)
53 Xnest_LDADD = $(XORG_CORE_LIBS) \
54               $(XNEST_LIBS) \
55               $(XNESTMODULES_LIBS) \
56               libfbcmap.a
58 EXTRA_DIST = icon \
59              screensaver \
60              Xnest.man.pre
62 # -UDPMSExtension for miinitext? can't put into 
63 # OS_DEFINES???
64 # EXT_DEFINES???
65 # ICONFIGFILES -- SpecialCObjectRule
67 # Man page
68 include $(top_srcdir)/cpprules.in
70 appmandir = $(APP_MAN_DIR)
72 appman_PRE = Xnest.man
73 appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
75 EXTRAMANDEFS = \
76         -D__XCONFIGFILE__=$(__XCONFIGFILE__) \
77         -D__XSERVERNAME__=$(XSERVERNAME)
79 BUILT_SOURCES = $(appman_PRE)
80 CLEANFILES = $(appman_PRE) $(appman_DATA)
82 SUFFIXES += .$(APP_MAN_SUFFIX) .man
84 .man.$(APP_MAN_SUFFIX):
85         -rm -f $@
86         $(LN_S) $< $@
88 relink:
89         rm -f Xnest && $(MAKE) Xnest