[go: up one dir, main page]

Menu

[897c37]: / Makefile  Maximize  Restore  History

Download this file

104 lines (79 with data), 2.0 kB

  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
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
# Generated automatically from Makefile.in by configure.
#
# SWLPC Makefile
#
# Requires "GNU make"
#
# $Id: Makefile,v 1.12 2003/03/24 00:29:11 dredd Exp $
#
# $Source: /cvsroot/swlpc/swlpc/Makefile,v $
# $Revision: 1.12 $
# $Date: 2003/03/24 00:29:11 $
# $State: Exp $
#
# Author: Geoff Wong
# Copyright (C) 1999 Geoff Wong
# geoff@serc.rmit.edu.au
#
include swlpc.mk
include vsn.mk
# Target Name
TARGET=
# What is the path to this directory?
DRIVERSRC=.
# Packing directory
PACK=/tmp/swpack
# Install stuff
INSTALL=./install-sh -c
# What is the path to the shared library directory?
LIB_PATH=$(shell pwd)/lib
#LD_RUN_PATH=$(LIB_PATH)
# What is the path to the mudlib directory?
MUDLIB=$(shell pwd)/M
#
# Some operating system dependent trickery
#
OS=$(shell uname)
#
# Compiler Stuff
#
CC=gcc
INCLUDE=-I. -I../lpvm -I../GC -I../lpc
#CFLAGS=-O3 -g
CFLAGS=-g
#CFLAGS=-fstrict-prototypes -ansi -pedantic -g
YFLAGS=-v -d
all: lpvm lpc runtime modules
install:
$(INSTALL) -m 0755 bin/shat $(bindir)
$(INSTALL) -m 0755 lib/liblpc.so.$(VERSION) $(libdir)
$(INSTALL) -m 0755 lib/liblpvm.so.$(VERSION) $(libdir)
$(INSTALL) -m 0755 lib/libmud.so.$(VERSION) $(libdir)
cd modules; $(MAKE) install
lpvm: .PHONY
cd lpvm; $(MAKE) $(STATIC)
lpc: .PHONY
cd lpc; $(MAKE) $(STATIC)
runtime: .PHONY
cd runtime; $(MAKE) install
modules: .PHONY
cd modules; $(MAKE) install
# Make a clean package for shipment (etc).
package:
-(cd ..; mv swlpc swlpc-$(VERSION); tar --exclude CVS -cf - swlpc-$(VERSION) | bzip2 > /tmp/swlpc-$(VERSION).tar.bz2)
-mv /tmp/swlpc-$(VERSION).tar.bz2 .
-rm -rf $(PACK)
-(cd ..; mv swlpc-$(VERSION) swlpc)
clean: .PHONY
-cd lpvm; $(MAKE) clean
-cd lpc; $(MAKE) clean
-cd runtime; $(MAKE) clean
-cd modules; $(MAKE) clean
veryclean: .PHONY
-cd lpvm; $(MAKE) veryclean
-cd lpc; $(MAKE) veryclean
-cd runtime; $(MAKE) veryclean
-cd modules; $(MAKE) veryclean
-cd lib; rm *.so
-cd bin; rm shat shat~
.PHONY: