xenocara/app/xdm/config/Makefile.am

63 lines
1.6 KiB
Makefile
Raw Normal View History

2006-11-25 13:07:29 -07:00
#
include $(top_srcdir)/cpprules.in
xdmscriptdir = $(XDMSCRIPTDIR)
xdmconfigdir = $(XDMCONFIGDIR)
dist_xdmconfig_DATA = \
Xaccess
xdmconfig_DATA = \
xdm-config \
Xresources \
Xservers
xdmscript_SCRIPTS = \
2007-08-05 13:00:25 -06:00
Xreset \
Xsession \
Xstartup
2006-11-25 13:07:29 -07:00
dist_xdmscript_SCRIPTS = \
GiveConsole \
TakeConsole \
Xsetup_0 \
Xwilling
pixmapdir = $(XDM_PIXMAPDIR)
dist_pixmap_DATA = xorg-bw.xpm xorg.xpm
2007-08-05 13:00:25 -06:00
BUILT_SOURCES = Xservers.ws xdm-config Xreset Xresources Xsession Xstartup
2006-11-25 13:07:29 -07:00
CLEANFILES = $(BUILT_SOURCES) Xservers
EXTRA_DIST = Xservers.ws.cpp Xservers.fs \
2007-08-05 13:00:25 -06:00
xdm-config.cpp Xreset.cpp Xresources.cpp Xsession.cpp Xstartup.cpp
2006-11-25 13:07:29 -07:00
Xservers: Xservers.$(SERVERSTYPE)
ln -s Xservers.$(SERVERSTYPE) Xservers
# Defines used when cpp'ing config files to replace settings in the files
#if USE_XPM
XPMDEFINES = -DXPM -DBITMAPDIR=$(XDM_PIXMAPDIR) -DXDM_PIXMAP=$(XDM_PIXMAP) \
-DXDM_BWPIXMAP=$(XDM_BWPIXMAP)
#endif
#if HAVE_MKTEMP_COMMAND
MKTEMP_DEFINES = -DMKTEMP_COMMAND=$(MKTEMP_COMMAND)
#endif
2007-08-05 13:00:25 -06:00
CPP_FILES_FLAGS = -DBINDIR="$(bindir)" -DDEFAULTVT="$(DEFAULTVT)" \
2010-03-28 03:33:02 -06:00
-DUTMP_FILE="$(UTMP_FILE)" -DWTMP_FILE="$(WTMP_FILE)" \
2007-08-05 13:00:25 -06:00
-DXDMDIR="$(XDMLIBDIR)" -DXDMLOGDIR="$(XDMLOGDIR)" \
2010-03-28 03:33:02 -06:00
-DXDMXAUTHDIR="$(XDMXAUTHDIR)" \
2007-08-05 13:00:25 -06:00
-DXDMPIDDIR="$(XDMPIDDIR)" -DXDMCONFIGDIR="$(XDMCONFIGDIR)" \
-DXDMSCRIPTDIR="$(XDMSCRIPTDIR)" -DSU="$(SU)" \
-DCHOOSERPATH="$(XDMLIBDIR)/chooser" $(XPMDEFINES) \
-DSHELL_CMD="$(SHELL_CMD)" $(MKTEMP_DEFINES)
2006-11-25 13:07:29 -07:00
Xservers.ws: $(srcdir)/Xservers.ws.cpp
2010-03-28 03:33:02 -06:00
$(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC) > $@