2 include $(top_srcdir)/cpprules.in
3 XINITDIR = $(libdir)/X11/xinit
5 -DX_VERSION="$(PLIST_VERSION_STRING)" \
6 -DX_PRE_RELEASE="$(PRE)" \
7 -DX_REL_DATE="$(XORG_DATE)" \
8 -DX_VENDOR_NAME="$(VENDOR_STRING)" \
9 -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)"
11 SUBDIRS = English.lproj Dutch.lproj French.lproj German.lproj Japanese.lproj \
12 ko.lproj Portuguese.lproj Spanish.lproj Swedish.lproj
14 bin_SCRIPTS = startXClients
16 startXClients: $(srcdir)/startXClients.cpp
17 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) -DXINITDIR=$(XINITDIR) -DXBINDIR=$(BINDIR) $< | $(CPP_SED_MAGIC) > $@
18 -chmod 755 startXClients
20 contentsdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents
21 resourcesdir = $(contentsdir)/Resources
23 contents_DATA = Info.plist
24 resources_DATA = XDarwin.icns startXClients
27 chmod 755 $(DESTDIR)$(resourcesdir)/startXClients
28 echo "APPL????" > $(DESTDIR)$(contentsdir)/PkgInfo
29 touch $(DESTDIR)@APPLE_APPLICATIONS_DIR@/XDarwin.app
32 rm -rf $(DESTDIR)$(contentsdir)/PkgInfo
34 CLEANFILES = startXClients