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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
#
# Creation Date: <1999/03/28 04:20:31 samuel>
# Time-stamp: <2001/08/25 23:08:20 samuel>
#
# <Makefile>
#
# Main makefile
#
# Copyright (C) 1999, 2000, 2001 Samuel Rydh (samuel@ibrium.se)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation
#
#
# >>>>>>> Check the paths in the file Rules.make! <<<<<<<
#
VERSION = $(shell scripts/version.pl sinclude/version.h patchlevel.h)
PATCH_LEVEL = $(shell cat patchlevel.h | awk -- '{ print $$(NF) }')
################################################################################
# Install directories
################################################################################
BUILD_ROOT =
DOC_DIR = $(BUILD_ROOT)/usr/share/doc/mol
BIN_DIR = $(BUILD_ROOT)/usr/bin
ETC_DIR = $(BUILD_ROOT)/etc
LIB_DIR = $(BUILD_ROOT)/usr/lib/mol
DEV_DIR = $(BUILD_ROOT)/dev
MAN_DIR = $(BUILD_ROOT)/usr/share/man
INST_FILE = install --mode=664
INST_BIN = install --mode=775
TAR = tar
RPMDIR =
REDHAT = $(shell true && \
(test -d /usr/src/redhat && echo /usr/src/redhat ) || \
(test -d /usr/src/RPM && echo /usr/src/RPM ) || \
(test -d /usr/src/rpm && echo /usr/src/rpm ) || \
(test -d /usr/src/packages && echo /usr/src/packages ) || \
echo "RPM_BUILD_DIR_IS_MISSING" )
SUB_DIRS = buildtools
CLEAN_FILES =
CLEAN_DIRS = include sinclude scripts
INCLUDE_ST_RULES = yes
##############################################################################
# Rules
##############################################################################
all: patchlevel.h starting
starting: dummy
@echo ++ BUILDING ++
dist: distclean
install: dummy
_install: dummy
rpm: dummy
rpms: rpm dummy
-include Makefile.mol
include Rules.make
-include Makefile.st
all:
@echo ++ BUILD COMPLETE ++
distclean: dummy clean
patchlevel.h:
bk -r co ; true
get: dummy
bk -r co ; true
version: dummy
@echo $(VERSION)
|