First import
[xorg_rtime.git] / xorg-server-1.4 / hw / darwin / bundle / Makefile.am
blobdee34fd830b89c7228990bb3de306cb55bdcd1f1
1 BINDIR = ${bindir}
2 include $(top_srcdir)/cpprules.in
3 XINITDIR = $(libdir)/X11/xinit
4 XDEFS = \
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
26 install-data-hook:
27         chmod 755 $(DESTDIR)$(resourcesdir)/startXClients
28         echo "APPL????" > $(DESTDIR)$(contentsdir)/PkgInfo
29         touch $(DESTDIR)@APPLE_APPLICATIONS_DIR@/XDarwin.app
31 uninstall-hook:
32         rm -rf $(DESTDIR)$(contentsdir)/PkgInfo
34 CLEANFILES = startXClients
36 EXTRA_DIST = \
37         XDarwin.icns \
38         Info.plist