1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
<?php
include getenv("PHPMAKE_LIBPATH") . "library.php";
phpmake_makefile_rules();
?>
# Makefile for Open Sound System module main
CC=cc -ffreestanding
HOSTCC=cc
CPLUSPLUS=g++ -fno-rtti -fno-exceptions -I.
OSFLAGS=-fno-common -fno-stack-protector -Wall -Werror -DOSS_LITTLE_ENDIAN
OS=Linux
ARCH=x86_64
TOPDIR=.
OBJDIR=$(TOPDIR)/target/objects
TMPDIR=.
MODDIR=$(TOPDIR)/target/modules
BINDIR=$(TOPDIR)/target/bin
LIBDIR=$(TOPDIR)/target/lib
SBINDIR=$(TOPDIR)/target/sbin
OSSLIBDIR="/usr/lib/oss"
THISOS=kernel/OS/Linux
CFLAGS=-O
SUBDIRS=lib cmd kernel os_cmd kernel/OS/Linux
TARGETS=main
DEPDIR=
include .makefile
all: subdirs
lint: lint_subdirs
dep: dep_subdirs
include $(TOPDIR)/make.defs
clean: clean_local clean_subdirs
include setup/Linux/make.local
|