Permalink
Browse files

transitioned back to Sinan

  • Loading branch information...
1 parent c27a3d4 commit 1e3393bdb28aa5ff22e404f8665cbda70f170629 Martin Logan committed Jun 8, 2008
Showing with 35 additions and 1,264 deletions.
  1. +0 −11 Makefile
  2. +10 −0 _build.cfg
  3. +2 −2 release/faxien/epkg.src → bin/epkg
  4. +2 −2 release/faxien/faxien.src → bin/faxien
  5. +0 −18 build/buildtargets.mk
  6. +0 −24 build/colors.mk
  7. +0 −12 build/docs.mk
  8. +0 −148 build/otp.mk
  9. 0 release/faxien/faxien.config.src → config/sys.config
  10. 0 {release/faxien → }/control
  11. +0 −12 lib/Makefile
  12. +0 −7 lib/epkg/Makefile
  13. +10 −3 lib/epkg/{src/epkg.app.src → ebin/epkg.app}
  14. +0 −93 lib/epkg/src/Makefile
  15. +0 −1 lib/epkg/src/epkg.appup.src
  16. +1 −0 lib/epkg/src/epkg.includes
  17. +0 −9 lib/faxien/Makefile
  18. +10 −3 lib/faxien/{src/faxien.app.src → ebin/faxien.app}
  19. +0 −93 lib/faxien/src/Makefile
  20. +0 −1 lib/faxien/src/faxien.appup.src
  21. +0 −10 release/Makefile
  22. +0 −164 release/faxien/Makefile
  23. +0 −22 release/faxien/faxien.rel.src
  24. +0 −46 release/faxien/install.sh
  25. +0 −1 release/faxien/vsn.mk
  26. 0 {release/faxien → }/smoke_test.sh
  27. +0 −7 tools/.appgen/blank_app/Makefile
  28. 0 tools/.appgen/blank_app/include/blank_app.hrl
  29. +0 −112 tools/.appgen/blank_app/src/Makefile
  30. +0 −40 tools/.appgen/blank_app/src/blank_app.app.src
  31. +0 −1 tools/.appgen/blank_app/src/blank_app.appup.src
  32. +0 −1 tools/.appgen/blank_app/vsn.mk
  33. +0 −141 tools/.appgen/blank_app_rel/Makefile
  34. +0 −27 tools/.appgen/blank_app_rel/blank_app.config.src
  35. +0 −14 tools/.appgen/blank_app_rel/blank_app.rel.src
  36. +0 −20 tools/.appgen/blank_app_rel/blank_app.src
  37. +0 −1 tools/.appgen/blank_app_rel/vsn.mk
  38. +0 −25 tools/.appgen/rename.sh
  39. +0 −33 tools/.appgen/substitute.sh
  40. +0 −60 tools/application_generator
  41. +0 −51 tools/clean_release
  42. +0 −49 tools/release_generator
View
@@ -1,11 +0,0 @@
-SIDES = lib release
-
-all clean package install:
- @for dir in $(SIDES); do \
- (cd $$dir; ${MAKE} $@); \
- if [ "$$?" -ne "0" ]; then ERROR=$$?; echo "Error Code $$ERROR"; exit $$ERROR; fi; \
- done
-
-docs:
- (cd lib; ${MAKE} $@); \
- if [ "$$?" -ne "0" ]; then ERROR=$$?; echo "Error Code $$ERROR"; exit $$ERROR; fi;
View
@@ -0,0 +1,10 @@
+project : {
+ name : faxien
+ vsn : "0.29.7.0"
+},
+
+repositories : ["http://repo.martinjlogan.com/pub", "http://repo.erlware.org/pub"],
+
+dist : {
+ include_dirs : ["bin"]
+}
@@ -6,8 +6,8 @@ PREFIX=$(cd $(dirname $(dirname $PROG)); pwd)
#### Fill in values for these variables ####
REL_NAME=faxien
-REL_VSN=%REL_VSN%
-ERTS_VSN=%TARGET_ERTS_VSN%
+REL_VSN=0.3.10.0
+ERTS_VSN=5.6.2
INVOCATION_SUFFIX="-s epkg_cmdln epkg_apply epkg $@ -s init stop -noshell -prefix $PREFIX"
###########################################
@@ -6,8 +6,8 @@ PREFIX=$(cd $(dirname $(dirname $PROG)); pwd)
#### Fill in values for these variables ####
REL_NAME=faxien
-REL_VSN=%REL_VSN%
-ERTS_VSN=%TARGET_ERTS_VSN%
+REL_VSN=0.29.7.0
+ERTS_VSN=5.6.2
INVOCATION_SUFFIX="-s fax_cmdln faxien_apply faxien $@ -s init stop -noshell -prefix $PREFIX"
###########################################
View
@@ -1,18 +0,0 @@
-EBIN=../ebin
-EMULATOR=beam
-
-ERLC_WFLAGS = -W
-ERLC_EX=$(shell ERLC=$(which erlc); if [ "$${ERLC}" = "" ];then ERLC=$(ERLWARE_HOME)/bin/erlc; fi; echo "erlc vsn $${ERLC}")
-ERLC = $(ERLC_EX) $(ERLC_WFLAGS) $(ERLC_FLAGS)
-
-ERL_EX=$(shell ERL=$(which erl); if [ "$${ERL}" = "" ];then ERL=$(ERLWARE_HOME)/bin/erl; fi; echo $${ERL})
-ERL = $(ERL_EX) -boot start_clean
-
-ESRC = .
-
-$(EBIN)/%.beam: $(ESRC)/%.erl
- $(ERLC) $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
-
-.erl.beam:
- $(ERLC) $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(dir $@) $<
-
View
@@ -1,24 +0,0 @@
-# Colors to assist visual inspection of make output.
-
-# Colors
-LGRAY=$$'\e[0;37m'
-DGRAY=$$'\e[1;30m'
-LGREEN=$$'\e[1;32m'
-LBLUE=$$'\e[1;34m'
-LCYAN=$$'\e[1;36m'
-LPURPLE=$$'\e[1;35m'
-LRED=$$'\e[1;31m'
-NO_COLOR=$$'\e[0m'
-DEFAULT=$$'\e[0m'
-BLACK=$$'\e[0;30m'
-BLUE=$$'\e[0;34m'
-GREEN=$$'\e[0;32m'
-CYAN=$$'\e[0;36m'
-RED=$$'\e[0;31m'
-PURPLE=$$'\e[0;35m'
-BROWN=$$'\e[0;33m'
-YELLOW=$$'\e[1;33m'
-WHITE=$$'\e[1;37m'
-
-BOLD=$$'\e[1;37m'
-OFF=$$'\e[0m'
View
@@ -1,12 +0,0 @@
-EDOC_PATH=../../../tools/utilities
-
-#single place to include docs from.
-docs:
- @mkdir -p ../doc
- @echo -n $${MY_BLUE:-$(BLUE)}; \
- $(EDOC_PATH)/edoc $(APP_NAME); \
- if [ $$? -eq 0 ]; then \
- echo $${MY_LRED:-$(LRED)}"$$d Doc Failed"; \
- fi; \
- echo -n $(OFF)$(NO_COLOR)
-
View
@@ -1,148 +0,0 @@
-# otp.mk
-# - to be included in all OTP Makefiles
-# installed to /usr/local/include/erlang/otp.mk
-
-# gmake looks in /usr/local/include - that's hard-coded
-# users of this file will use include erlang/top.mk
-
-# most interface files will be installed to $ERL_RUN_TOP/app-vsn/include/*.hrl
-
-# The erts version to use when running your release
-ifndef TARGET_ERTS_VSN
-TARGET_ERTS_VSN=5.6.2
-endif
-
-# The location of systemwide installed packages.
-ifndef ERLWARE_HOME
-ERLWARE_HOME=/usr/local/erlware
-endif
-
-# The location of the erlang runtime system.
-ifndef ERL_RUN_TOP
-ERL_RUN_TOP=$(ERLWARE_HOME)/erts_packages
-endif
-
-# Compile flags to be passed to erlc
-ERL_COMPILE_FLAGS+=-W0
-
-#=================================================================
-# You will probably not need to change anything beneith this point
-#=================================================================
-
-# OS_TYPE is FreeBSD, NetBSD, OpenBSD, Linux, SCO_SV, SunOS.
-OS_TYPE=${shell uname}
-
-# MHOST is the host where this Makefile runs.
-MHOST=${shell hostname -s}
-#
-# Edit to reflect local environment.
-# ifeq (${OS_TYPE},Linux)
-# ERL_RUN_TOP=/usr/local/lib/erlang
-# Note* ERL_RUN_TOP can be determined by starting an
-# erlang shell and typing code:root_dir().
-# ERL_TOP=a symbolic link to the actual source top, which changes from version to version
-# Note* ERL_TOP is the directory where the erlang
-# source files reside. Make sure to run ./configure there.
-# TARGET=i686-pc-linux-gnu
-# Note* Target can be found in $ERL_TOP/erts
-# endif
-
-# See above for directions.
-ifeq (${OS_TYPE},Linux)
-ERL_TOP=/opt/OTP_SRC
-TARGET=i686-pc-linux-gnu
-endif
-
-ERLANG_OTP=/usr/local/erlang/otp
-VAR_OTP=/var/otp
-
-
-# Aliases for common binaries
-# Note - CFLAGS is modified in erlang.conf
-
-
-################################
-# SunOS
-################################
-ifeq (${OS_TYPE},SunOS)
-
- CC=gcc
- CXX=g++
- AR=/usr/ccs/bin/ar
- ARFLAGS=-rv
- CXXFLAGS+=${CFLAGS} -I/usr/include/g++
- LD=/usr/ccs/bin/ld
- RANLIB=/usr/ccs/bin/ranlib
-
-CFLAGS+=-Wall -pedantic -ansi -O
-CORE=*.core
-endif
-
-
-################################
-# FreeBSD
-################################
-ifeq (${OS_TYPE},FreeBSD)
-
- ifdef LINUXBIN
- COMPAT_LINUX=/compat/linux
- CC=${COMPAT_LINUX}/usr/bin/gcc
- CXX=${COMPAT_LINUX}/usr/bin/g++
- AR=${COMPAT_LINUX}/usr/bin/ar
- ARFLAGS=-rv
- CXXFLAGS+=-fhandle-exceptions ${CFLAGS} -I${COMPAT_LINUX}/usr/include/g++
- LD=${COMPAT_LINUX}/usr/bin/ld
- RANLIB=${COMPAT_LINUX}/usr/bin/ranlib
- BRANDELF=brandelf -t Linux
- else
- CC=gcc
- CXX=g++
- AR=/usr/bin/ar
- ARFLAGS=-rv
- CXXFLAGS+=-fhandle-exceptions ${CFLAGS} -I/usr/include/g++
- LD=/usr/bin/ld
- RANLIB=/usr/bin/ranlib
- BRANDELF=@true
-
- ifdef USES_PTHREADS
- CFLAGS+=-D_THREAD_SAFE
- LDFLAGS+=-lc_r
-
- # -pthread flag for 3.0+
- ifneq (${shell uname -r | cut -d. -f1},2)
- CFLAGS+=-pthread
- endif
- endif
- endif
-
-CFLAGS+=-Wall -pedantic -ansi -O -DFREEBSD
-CORE=*.core
-endif
-
-################################
-# OpenBSD
-################################
-ifeq (${OS_TYPE},OpenBSD)
-
- CC=gcc
- CXX=g++
- AR=/usr/bin/ar
- ARFLAGS=-rv
- CXXFLAGS+=${CFLAGS} -I/usr/include/g++
- LD=/usr/bin/ld
- RANLIB=/usr/bin/ranlib
-
- ifdef USES_PTHREADS
- CFLAGS+=-D_THREAD_SAFE
- LDFLAGS+=-lc_r
-
- # -pthread flag for 3.0+
- ifneq (${shell uname -r | cut -d. -f1},2)
- CFLAGS+=-pthread
- endif
- endif
-
-CFLAGS+=-Wall -pedantic -ansi -O -DOPENBSD
-CORE=*.core
-endif
-
File renamed without changes.
File renamed without changes.
View
@@ -1,12 +0,0 @@
-include ../build/colors.mk
-
-MODULES=$(shell ls . | grep "[^(Makefile)]")
-
-package install: all
-
-all clean docs:
- @for dir in $(MODULES); do \
- (cd $$dir; if [ -e "SKIP" ]; then echo $${MY_LRED:-$(LRED)}"skipping \"make $@\" for $$dir"; else ${MAKE} $@; fi); \
- if [ "$$?" -ne "0" ]; then ERROR=$$?; echo "Error Code $$ERROR"; exit $$ERROR; fi; \
- echo -n $(OFF)$(NO_COLOR); \
- done
View
@@ -1,7 +0,0 @@
-MODULES = \
- src
-
-all clean docs:
- for dir in $(MODULES); do \
- (cd $$dir; ${MAKE} $@); \
- done
@@ -1,16 +1,23 @@
%%% -*- mode:erlang -*-
-{application, '%APP_NAME%',
+{application, epkg,
[
% A quick description of the application.
{description, "Manages local erlang/OTP packages. Faxien depends on this for local operations."},
% The version of the applicaton
- {vsn, "%VSN%"},
+ {vsn, "0.3.10.0"},
% All modules used by the application.
{modules,
[
- %MODULES%
+ epkg_cmdln,
+ epkg,
+ epkg_installed_paths,
+ epkg_install,
+ epkg_manage,
+ epkg_package_paths,
+ epkg_util,
+ epkg_validation
]},
% A list of the registered processes in your application. Used to prevent collisions.
View
@@ -1,93 +0,0 @@
-# $Id: Makefile,v 1.3 2004/08/13 16:35:59 mlogan Exp $
-#
-include ../../../build/otp.mk
-include ../../../build/colors.mk
-include ../../../build/buildtargets.mk
-
-# ----------------------------------------------------
-# Application version
-# ----------------------------------------------------
-
-include ../vsn.mk
-APP_NAME=epkg
-PFX=epkg
-VSN=$(EPKG_VSN)
-
-# ----------------------------------------------------
-# Target Specs
-# ----------------------------------------------------
-
-ERLWARE_LIB_PATH=$(ERLWARE_HOME)/application_packages/$(TARGET_ERTS_VSN)/lib
-FSLIB_DIR=$(ERLWARE_LIB_PATH)/$(shell ls $(ERLWARE_LIB_PATH) | grep fslib | sort -r | head -n 1)
-
-MODULES = $(shell ls *.erl | sed s/.erl//)
-MODULES_COMMA = $(shell ls *.erl | sed s/\\.erl/,/)
-
-HRL_FILES=
-INTERNAL_HRL_FILES= $(APP_NAME).hrl
-ERL_FILES= $(MODULES:%=%.erl)
-DOC_FILES=$(ERL_FILES)
-
-APP_FILE= $(APP_NAME).app
-APPUP_FILE= $(APP_NAME).appup
-
-APP_SRC= $(APP_FILE).src
-APPUP_SRC= $(APPUP_FILE).src
-
-APP_TARGET= $(EBIN)/$(APP_FILE)
-APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
-
-BEAMS= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
-TARGET_FILES= $(BEAMS) $(APP_TARGET) $(APPUP_TARGET)
-
-# ----------------------------------------------------
-# FLAGS
-# ----------------------------------------------------
-
-ERL_FLAGS +=
-ERL_COMPILE_FLAGS += -I../include $(shell cat $(APP_NAME).includes)
-
-# ----------------------------------------------------
-# Targets
-# ----------------------------------------------------
-
-all debug opt: $(APP_NAME).includes $(EBIN) $(TARGET_FILES)
-
-include ../../../build/docs.mk
-
-# Note: In the open-source build clean must not destroy the preloaded
-# beam files.
-clean:
- rm -f $(TARGET_FILES)
- rm -f core
- rm -rf $(EBIN)
- rm -rf *html
- rm -f erl_crash.dump
- rm -f *~*
- rm -f $(APP_NAME).includes
-
-$(EBIN):
- mkdir $(EBIN)
-
-# ----------------------------------------------------
-# Special Build Targets
-# ----------------------------------------------------
-
-$(APP_NAME).includes:
- $(ERL) -pz $(FSLIB_DIR)/ebin -noshell -s fs_lib commandline_apply fs_boot_smithe write_out_include_dirs \
- [\"$(ERLWARE_LIB_PATH)/*\",\"../../*\"] \"$(APP_NAME).app.src\" \"$@\" -s init stop
-
-$(APP_TARGET): $(APP_SRC) ../vsn.mk $(BEAMS)
- sed -e 's;%VSN%;$(VSN);' \
- -e 's;%PFX%;$(PFX);' \
- -e 's;%APP_NAME%;$(APP_NAME);' \
- -e 's;%MODULES%;%MODULES%$(MODULES_COMMA);' \
- $< > $<".tmp"
- sed -e 's/%MODULES%\(.*\),/\1/' \
- $<".tmp" > $@
- rm $<".tmp"
-
-
-$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
- sed -e 's;%VSN%;$(VSN);' $< > $@
-
@@ -1 +0,0 @@
-{"%VSN%",[],[]}.
@@ -0,0 +1 @@
+ -I /usr/local/erlware/application_packages/5.6.2/lib/eunit-2.0/include -I /usr/local/erlware/application_packages/5.6.2/lib/kernel-2.12.2/include -I /usr/local/erlware/application_packages/5.6.2/lib/stdlib-1.15.2/include -I /usr/local/erlware/application_packages/5.6.2/lib/ewrepo-0.16.6.1/include -I /usr/local/erlware/application_packages/5.6.2/lib/ewlib-0.7.4.0/include -I /usr/local/erlware/application_packages/5.6.2/lib/gas-5.3.0/include -I /usr/local/erlware/application_packages/5.6.2/lib/fslib-5.4.0/include
Oops, something went wrong.

0 comments on commit 1e3393b

Please sign in to comment.