Skip to content

Commit

Permalink
Initial commit by http://pixil.org
Browse files Browse the repository at this point in the history
  • Loading branch information
antonialoytorrens committed Nov 20, 2020
0 parents commit e93e5e6
Show file tree
Hide file tree
Showing 3,122 changed files with 750,942 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
182 changes: 182 additions & 0 deletions Makefile
@@ -0,0 +1,182 @@
####
# Pixil Makefile
# Copyright 2002, Century Software
#
# Written by: Jordan Crouse
# Released under the GPL (see LICENSE.GPL) for details
####

-include config

# Bring in the configuration file

BASE_DIR = ${shell pwd}
STAGE_DIR = $(BASE_DIR)/build
INCLUDE_DIR = $(BASE_DIR)/include
TOOL_DIR = $(BASE_DIR)/scripts/tools
IMAGES_DIR = $(BASE_DIR)/data/images
MCONFIG_DIR = $(BASE_DIR)/scripts/config
SYSDEP_DIR = $(BASE_DIR)/scripts/sysdep

# The base directory for installing
ROOT_DIR = $(strip $(subst ",, $(INSTALL_PREFIX)))

# The basic PDA install dir

ifdef CONFIG_PLATFORM_X86DEMO
INSTALL_DIR = $(ROOT_DIR)/pda
else
INSTALL_DIR=$(ROOT_DIR)
endif

MAKEFILES = $(BASE_DIR)/config

# The filenames for the PAR database files

PAR_CONFIG=$(INSTALL_DIR)/share/par/defaults.xml
PAR_DB=$(INSTALL_DIR)/share/par/pixil.db

# The cross compiler
TARGET_CROSS=$(subst ",, $(strip $(CROSS_COMPILER_PREFIX)))

# The system building the kernel (we're going to assume)
# Intel until somebody proves us wrong

BUILD_SYS=i386-linux

ifeq ($(CROSS_COMPILE),y)
ifeq ($(CONFIG_TARGET_ARM),y)
SYS=arm-linux
endif
ifeq ($(CONFIG_TARGET_I386_UCLIBC),y)
SYS=i386-uclibc-linux
endif
else
SYS=$(BUILD_SYS)
endif

export TARGET_CROSS BASE_DIR STAGE_DIR INCLUDE_DIR PAR_DB PAR_CONFIG
export TOOL_DIR INSTALL_DIR ROOT_DIR SYS BUILD_SYS

# Set up the list of directories based on the configuration
ifdef SUBDIRS
DIRS-y=$(SUBDIRS)
else
DIRS-y=libs sys apps packages
DIRS-$(CONFIG_PIXILDT)+=pixilDT
endif

subdir-build = $(patsubst %,_subdir_%,$(DIRS-y))
subdir-clean = $(patsubst %,_clean_%,$(DIRS-y))
subdir-install = $(patsubst %,_install_%,$(DIRS-y))

# This avoids stripping the debugging information when we choose debugging

STRIP_TARGET=

ifneq ($(CONFIG_DEBUG),y)
STRIP_TARGET=dostrip
endif

##### Toplevel targets #####

all: local-build
install: local-install
clean: local-clean

distclean: local-clean packages-clean
@ rm -rf config

##### Local targets #####

local-build: $(STAGE_DIR) $(INCLUDE_DIR)/pixil_config.h $(subdir-build) platform-build

local-install: $(INSTALL_DIR) $(subdir-install) $(STRIP_TARGET) platform-install
@ mkdir -p $(INSTALL_DIR)/share/images
@ cp -r $(IMAGES_DIR)/* $(INSTALL_DIR)/share/images

local-clean: $(subdir-clean) platform-clean
@ rm -rf $(STAGE_DIR) $(INCLUDE_DIR)/pixil_config.h
@ make -C scripts/config/ clean

dostrip:
@ echo "Stripping binaries..."

@ for fo in `find $(INSTALL_DIR) -type f -perm +111`; do \
if file $$fo | grep "ELF" > /dev/null; then \
$(TARGET_CROSS)strip $$fo; \
fi; \
done

$(subdir-build): dummy
@ $(MAKE) -C $(patsubst _subdir_%,%,$@)

$(subdir-clean): dummy
@ $(MAKE) -C $(patsubst _clean_%,%,$@) clean

$(subdir-install): dummy
@ $(MAKE) -C $(patsubst _install_%,%,$@) install

platform-build:
@ make -C scripts/platforms/

platform-clean:
@ make -C scripts/platforms/ clean

platform-install:
@ make -C scripts/platforms/ install

packages:
@ make -C packages

packages-clean:
@ make -C packages packages-clean

$(STAGE_DIR):
@ mkdir -p $(STAGE_DIR)/lib

$(INSTALL_DIR):
@ mkdir -p $(INSTALL_DIR)/lib
@ mkdir -p $(INSTALL_DIR)/bin
@ mkdir -p $(INSTALL_DIR)/share
@ mkdir -p $(INSTALL_DIR)/share/data

$(INCLUDE_DIR)/pixil_config.h: $(BASE_DIR)/config
@ perl $(TOOL_DIR)/config.pl $(BASE_DIR)/config \
> $(INCLUDE_DIR)/pixil_config.h

# configuration
# ------------------------------

$(MCONFIG_DIR)/conf:
make -C $(MCONFIG_DIR) conf

$(MCONFIG_DIR)/mconf:
make -C $(MCONFIG_DIR) conf mconf

menuconfig: $(BASE_DIR)/config $(MCONFIG_DIR)/mconf
@$(MCONFIG_DIR)/mconf $(SYSDEP_DIR)/Config.in

textconfig: $(BASE_DIR)/config $(MCONFIG_DIR)/conf
@$(MCONFIG_DIR)/conf $(SYSDEP_DIR)/Config.in

oldconfig: $(MCONFIG_DIR)/conf
@$(MCONFIG_DIR)/conf -o $(SYSDEP_DIR)/Config.in

defconfig: $(BASE_DIR)/config

$(BASE_DIR)/config:
@ cp $(SYSDEP_DIR)/defconfig $(BASE_DIR)/config

defconfig_ipaq:
@ cp $(SYSDEP_DIR)/defconfig.ipaq $(BASE_DIR)/config

defconfig_zaurus:
@ cp $(SYSDEP_DIR)/defconfig.zaurus $(BASE_DIR)/config

defconfig_tuxscreen:
@ cp $(SYSDEP_DIR)/defconfig.tuxscreen $(BASE_DIR)/config

dummy:

.PHONY: menuconfig textconfig oldconfig defconfig dummy packages
91 changes: 91 additions & 0 deletions README
@@ -0,0 +1,91 @@
Century Software PIXIL Operating Environment README
v1.2.3 September 10, 2003

**** DESCRIPTION ****

PIXIL is a small footprint operating environment, complete with
PDA PIM applications, a browser and multimedia applications
for small handheld and flat-panel based devices.

The PIXIL Operating Environment and Applications were initially
designed to work within the Microwindows graphical windowing
environment, for an extremely small footprint. The Microwindows
environment can be setup to run directly on framebuffer, or, for
demonstration, on top of the X11 desktop environment, for people
without a working framebuffer system.

For instructions for building and installing PIXIL using Microwindows,
see docs/README.microwindows.

The PIXIL open source site is http://www.pixil.org
The Century Software embedded site is http://embedded.censoft.com

**** LICENSE ****

PIXIL is dual-licensed under the GPL license (see docs/LICENSE.GPL),
as well as Century Software's commercial CCL license (see docs/LICENSE.DUAL).
If your application is open source and fully GPL, then you are
able to use PIXIL under the GPL-only license. Otherwise, a more commercial
oriented license is available from Century Software, Inc. (embedded.censoft.com)
See http://www.pixil.org/license.html or
email cetsales@centurysoftware.com for more information.

**** REQUIREMENTS ****

http://www.microwindows.org Microwindows 0.90 or greater
http://www.w3.org w3c-libwww 5.2.8 or greater (for ViewML)
http://www.fltk.org FLTK 1.0.11 (for PIXIL Desktop)

You will need w3c-libwww if you want to build the ViewML browser.
Grab the libraries here: http://www.w3.org/Library/ (if you are building
on RedHat, you probably already have them installed).

Indicate where your libraries are installed when configuring with menuconfig.

**** CONFIGURING ****

PIXIL is configured by editing the configuration file 'config'.
You may use the configuration system to ensure that your system is
set up correctly. You can either use 'make menuconfig' or
'make oldconfig' to select your desired options.

To use menuconfig, at the prompt type 'make menuconfig'. This will provide
you with a curses based menu. Curses won't run on some systems, for that
you can use 'make oldconfig' which provides a text version of the same
configuration engine.

One last thing, make double sure your paths are correct, otherwise
your build won't get very far. See docs/README.microwindows for
more information.

For cross-compiling information for the ARM processor, see
docs/README.ARM.

**** BUILDING ****

After insuring the that library locations and install locations
are set properly in the config file, type 'make'.

**** INSTALLING ****

Type 'make install' at the prompt, and the PIXIL binaries and libraries
will be copied to the specified installation directory, which defaults
to /usr/local/pixil.

**** RUNNING ****

Change directory to the installation directory, usually /usr/local/pixil.
Typing ./run_pda.sh will start the Microwindows Nano-X server, and
the PIXIL Operating Environment. If you are running Microwindows
on top of X11, and have built the PIXIL Desktop, you may also run
./run_desktop.sh to start PIXIL Desktop (see docs/README.pixilDT for
more information).

**** QUESTIONS and COMMENTS ****
Please email us with questions, comments or patches;
we'd like to hear from you about PIXIL. You can join the mailing
list at http://www.pixil.org/mailinglist.php

Greg Haerr (greg@censoft.com)
Jason Kingan (jasonk@censoft.com)
Jordan Crouse (jordan@cosmicpenguin.net)

0 comments on commit e93e5e6

Please sign in to comment.