aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/loader/Makefile.am
blob: 0e5b304a45d76067675d7c067f5a6965871a9a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
noinst_LTLIBRARIES = libloader.la

INCLUDES = $(XORG_INCS) -I$(srcdir)/../parser -I$(top_srcdir)/miext/cw \
	   -I$(srcdir)/../ddc -I$(srcdir)/../i2c -I$(srcdir)/../modes \
	   -I$(srcdir)/../ramdac

#AM_LDFLAGS = -r
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)

EXTRA_DIST = \
	loader.h \
	loaderProcs.h \
	sdksyms.sh

nodist_libloader_la_SOURCES = \
	sdksyms.c

libloader_la_SOURCES = \
	loader.c \
	loaderProcs.h \
	loadext.c \
        loadmod.c \
	os.c

libloader_la_LIBADD = $(DLOPEN_LIBS)

CLEANFILES = sdksyms.c sdksyms.dep

sdksyms.dep sdksyms.c: sdksyms.sh $(top_builddir)/include/do-not-use-config.h
	CPP='$(CPP)' AWK='$(AWK)' $(srcdir)/sdksyms.sh $(top_srcdir) $(AM_CFLAGS) $(CFLAGS) $(INCLUDES)

SDKSYMS_DEP = sdksyms.dep
include $(SDKSYMS_DEP)