Beginning of patches to add XDarwin support to the modular tree;
special thanks to Torrey Lyons and Peter O'Gorman for making this possible. This is the automake framework for the XDarwin.app interface files.
This commit is contained in:
		
							parent
							
								
									d570ff7c81
								
							
						
					
					
						commit
						3ead1afe78
					
				|  | @ -0,0 +1,35 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Dutchlprojdir = $(resourcesdir)/Dutch.lproj | ||||||
|  | 
 | ||||||
|  | Dutchlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Dutchlprojnibdir = $(Dutchlprojdir)/MainMenu.nib | ||||||
|  | Dutchlprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,35 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Englishlprojdir = $(resourcesdir)/English.lproj | ||||||
|  | Englishlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Englishlprojnibdir = $(Englishlprojdir)/MainMenu.nib | ||||||
|  | Englishlprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp \
 | ||||||
|  | 	InfoPlist.strings.cpp | ||||||
|  | @ -0,0 +1,38 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | 
 | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Frenchlprojdir = $(resourcesdir)/French.lproj | ||||||
|  | 
 | ||||||
|  | Frenchlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Frenchlprojnibdir = $(Frenchlprojdir)/MainMenu.nib | ||||||
|  | Frenchlprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,36 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Germanlprojdir = $(resourcesdir)/German.lproj | ||||||
|  | 
 | ||||||
|  | Germanlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Germanlprojnibdir = $(Germanlprojdir)/MainMenu.nib | ||||||
|  | Germanlprojnib_DATA =  MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,66 @@ | ||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||||||
|  | <plist version="1.0"> | ||||||
|  | <dict> | ||||||
|  | 	<key>CFBundleDevelopmentRegion</key> | ||||||
|  | 	<string>English</string> | ||||||
|  | 	<key>CFBundleDocumentTypes</key> | ||||||
|  | 	<array> | ||||||
|  | 		<dict> | ||||||
|  | 			<key>CFBundleTypeExtensions</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>x11app</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>CFBundleTypeName</key> | ||||||
|  | 			<string>X11 Application</string> | ||||||
|  | 			<key>CFBundleTypeOSTypes</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>****</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>CFBundleTypeRole</key> | ||||||
|  | 			<string>Viewer</string> | ||||||
|  | 		</dict> | ||||||
|  | 		<dict> | ||||||
|  | 			<key>CFBundleTypeExtensions</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>tool</string> | ||||||
|  | 				<string>*</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>CFBundleTypeName</key> | ||||||
|  | 			<string>UNIX Application</string> | ||||||
|  | 			<key>CFBundleTypeOSTypes</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>****</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>CFBundleTypeRole</key> | ||||||
|  | 			<string>Viewer</string> | ||||||
|  | 		</dict> | ||||||
|  | 	</array> | ||||||
|  | 	<key>CFBundleExecutable</key> | ||||||
|  | 	<string>XDarwin</string> | ||||||
|  | 	<key>CFBundleGetInfoString</key> | ||||||
|  | 	<string>XDarwin 1.4.0, X.Org Foundation</string> | ||||||
|  | 	<key>CFBundleIconFile</key> | ||||||
|  | 	<string>XDarwin.icns</string> | ||||||
|  | 	<key>CFBundleIdentifier</key> | ||||||
|  | 	<string>org.x.XDarwin</string> | ||||||
|  | 	<key>CFBundleInfoDictionaryVersion</key> | ||||||
|  | 	<string>6.0</string> | ||||||
|  | 	<key>CFBundleName</key> | ||||||
|  | 	<string>XDarwin</string> | ||||||
|  | 	<key>CFBundlePackageType</key> | ||||||
|  | 	<string>APPL</string> | ||||||
|  | 	<key>CFBundleShortVersionString</key> | ||||||
|  | 	<string>XDarwin 1.4.0</string> | ||||||
|  | 	<key>CFBundleSignature</key> | ||||||
|  | 	<string>????</string> | ||||||
|  | 	<key>CFBundleVersion</key> | ||||||
|  | 	<string></string> | ||||||
|  | 	<key>NSHelpFile</key> | ||||||
|  | 	<string>XDarwinHelp.html</string> | ||||||
|  | 	<key>NSMainNibFile</key> | ||||||
|  | 	<string>MainMenu</string> | ||||||
|  | 	<key>NSPrincipalClass</key> | ||||||
|  | 	<string>XApplication</string> | ||||||
|  | </dict> | ||||||
|  | </plist> | ||||||
|  | @ -0,0 +1,37 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Japaneselprojdir = $(resourcesdir)/Japanese.lproj | ||||||
|  | 
 | ||||||
|  | Japaneselproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Japaneselprojnibdir = $(Japaneselprojdir)/MainMenu.nib | ||||||
|  | Japaneselprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,38 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | SUBDIRS =  English.lproj Dutch.lproj French.lproj German.lproj Japanese.lproj \
 | ||||||
|  | 	ko.lproj Portuguese.lproj Spanish.lproj Swedish.lproj | ||||||
|  | 
 | ||||||
|  | bin_SCRIPTS = startXClients | ||||||
|  | 
 | ||||||
|  | startXClients: $(srcdir)/startXClients.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) -DXINITDIR=$(XINITDIR) -DXBINDIR=$(BINDIR)  $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 	-chmod 755 startXClients | ||||||
|  | 
 | ||||||
|  | contentsdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents | ||||||
|  | resourcesdir = $(contentsdir)/Resources | ||||||
|  | 
 | ||||||
|  | contents_DATA = Info.plist | ||||||
|  | resources_DATA = XDarwin.icns startXClients | ||||||
|  | 
 | ||||||
|  | install-data-hook: | ||||||
|  | 	chmod 755 $(DESTDIR)$(resourcesdir)/startXClients | ||||||
|  | 	echo "APPL????" > $(DESTDIR)$(contentsdir)/PkgInfo | ||||||
|  | 	touch $(DESTDIR)@APPLE_APPLICATIONS_DIR@/XDarwin.app | ||||||
|  | 
 | ||||||
|  | uninstall-hook: | ||||||
|  | 	rm -rf $(DESTDIR)$(contentsdir)/PkgInfo | ||||||
|  | 
 | ||||||
|  | CLEANFILES = startXClients | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	XDarwin.icns \
 | ||||||
|  | 	Info.plist | ||||||
|  | @ -0,0 +1,36 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Portugueselprojdir = $(resourcesdir)/Portuguese.lproj | ||||||
|  | 
 | ||||||
|  | Portugueselproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Portugueselprojnibdir = $(Portugueselprojdir)/MainMenu.nib | ||||||
|  | Portugueselprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,36 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Spanishlprojdir = $(resourcesdir)/Spanish.lproj | ||||||
|  | 
 | ||||||
|  | Spanishlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Spanishlprojnibdir = $(Spanishlprojdir)/MainMenu.nib | ||||||
|  | Spanishlprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,36 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | Swedishlprojdir = $(resourcesdir)/Swedish.lproj | ||||||
|  | 
 | ||||||
|  | Swedishlproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | Swedishlprojnibdir = $(Swedishlprojdir)/MainMenu.nib | ||||||
|  | Swedishlprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
|  | @ -0,0 +1,37 @@ | ||||||
|  | BINDIR = ${bindir} | ||||||
|  | include $(top_srcdir)/cpprules.in | ||||||
|  | XINITDIR = $(libdir)/X11/xinit | ||||||
|  | XDEFS = \
 | ||||||
|  |         -DX_VERSION="$(PLIST_VERSION_STRING)" \
 | ||||||
|  |         -DX_PRE_RELEASE="$(PRE)" \
 | ||||||
|  |         -DX_REL_DATE="$(XORG_DATE)" \
 | ||||||
|  |         -DX_VENDOR_NAME="$(VENDOR_STRING)" \
 | ||||||
|  |         -DX_VENDOR_LINK="$(PLIST_VENDOR_WEB)" | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | resourcesdir = @APPLE_APPLICATIONS_DIR@/XDarwin.app/Contents/Resources | ||||||
|  | 
 | ||||||
|  | kolprojdir = $(resourcesdir)/ko.lproj | ||||||
|  | 
 | ||||||
|  | kolproj_DATA = \
 | ||||||
|  | 		    XDarwinHelp.html \
 | ||||||
|  | 		    InfoPlist.strings \
 | ||||||
|  | 		    Credits.rtf Localizable.strings | ||||||
|  | 
 | ||||||
|  | kolprojnibdir = $(kolprojdir)/MainMenu.nib | ||||||
|  | kolprojnib_DATA = MainMenu.nib/classes.nib MainMenu.nib/objects.nib | ||||||
|  | 
 | ||||||
|  | InfoPlist.strings: $(srcdir)/../English.lproj/InfoPlist.strings.cpp | ||||||
|  | 	 $(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) | $(SED) -e's/__quote__/"/g' > $@ | ||||||
|  | 
 | ||||||
|  | XDarwinHelp.html: XDarwinHelp.html.cpp | ||||||
|  | 	$(RAWCPP) $(RAWCPPFLAGS) $(XDEFS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@ | ||||||
|  | 
 | ||||||
|  | CLEANFILES = XDarwinHelp.html InfoPlist.strings  | ||||||
|  | 
 | ||||||
|  | EXTRA_DIST = \
 | ||||||
|  | 	Credits.rtf Localizable.strings \
 | ||||||
|  | 	Localizable.strings \
 | ||||||
|  | 	MainMenu.nib/classes.nib \
 | ||||||
|  | 	MainMenu.nib/objects.nib \
 | ||||||
|  | 	XDarwinHelp.html.cpp | ||||||
		Loading…
	
		Reference in New Issue