aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 18:34:21 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 18:34:21 +0000
commit5406eab4f3e101162b2d8c9ef4e9ea66333e2462 (patch)
treee0c955134d3be535e7dc4c3423b7351e8cfd63d7 /code/tools
parent1f56a39f925eba4140d78883fb646f17aeab9e54 (diff)
downloadioquake3-aero-5406eab4f3e101162b2d8c9ef4e9ea66333e2462.tar.gz
ioquake3-aero-5406eab4f3e101162b2d8c9ef4e9ea66333e2462.zip
* Added install/uninstall rules to the lcc and q3asm Makefiles
* Moved the q3asm dir to asm so that is doesn't clash with the binary when installed git-svn-id: svn://svn.icculus.org/quake3/trunk@136 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools')
-rw-r--r--code/tools/asm/Makefile (renamed from code/tools/q3asm/Makefile)5
-rw-r--r--code/tools/asm/README.Id (renamed from code/tools/q3asm/README.Id)0
-rw-r--r--code/tools/asm/cmdlib.c (renamed from code/tools/q3asm/cmdlib.c)0
-rw-r--r--code/tools/asm/cmdlib.h (renamed from code/tools/q3asm/cmdlib.h)0
-rw-r--r--code/tools/asm/lib.txt (renamed from code/tools/q3asm/lib.txt)0
-rw-r--r--code/tools/asm/mathlib.h (renamed from code/tools/q3asm/mathlib.h)0
-rw-r--r--code/tools/asm/notes.txt (renamed from code/tools/q3asm/notes.txt)0
-rw-r--r--code/tools/asm/ops.txt (renamed from code/tools/q3asm/ops.txt)0
-rw-r--r--code/tools/asm/opstrings.h (renamed from code/tools/q3asm/opstrings.h)0
-rw-r--r--code/tools/asm/q3asm.c (renamed from code/tools/q3asm/q3asm.c)0
-rw-r--r--code/tools/asm/q3asm.sln (renamed from code/tools/q3asm/q3asm.sln)0
-rw-r--r--code/tools/asm/q3asm.vcproj (renamed from code/tools/q3asm/q3asm.vcproj)0
-rw-r--r--code/tools/asm/qfiles.h (renamed from code/tools/q3asm/qfiles.h)0
-rw-r--r--code/tools/lcc/makefile20
14 files changed, 11 insertions, 14 deletions
diff --git a/code/tools/q3asm/Makefile b/code/tools/asm/Makefile
index 504bcdd..67bfbd4 100644
--- a/code/tools/q3asm/Makefile
+++ b/code/tools/asm/Makefile
@@ -11,3 +11,8 @@ q3asm: q3asm.c cmdlib.c
clean:
rm -f q3asm *~ *.o
+install: default
+ install -s -m 0755 q3asm ../
+
+uninstall:
+ -rm ../q3asm
diff --git a/code/tools/q3asm/README.Id b/code/tools/asm/README.Id
index adacb50..adacb50 100644
--- a/code/tools/q3asm/README.Id
+++ b/code/tools/asm/README.Id
diff --git a/code/tools/q3asm/cmdlib.c b/code/tools/asm/cmdlib.c
index f3d8554..f3d8554 100644
--- a/code/tools/q3asm/cmdlib.c
+++ b/code/tools/asm/cmdlib.c
diff --git a/code/tools/q3asm/cmdlib.h b/code/tools/asm/cmdlib.h
index f2436a1..f2436a1 100644
--- a/code/tools/q3asm/cmdlib.h
+++ b/code/tools/asm/cmdlib.h
diff --git a/code/tools/q3asm/lib.txt b/code/tools/asm/lib.txt
index 737a030..737a030 100644
--- a/code/tools/q3asm/lib.txt
+++ b/code/tools/asm/lib.txt
diff --git a/code/tools/q3asm/mathlib.h b/code/tools/asm/mathlib.h
index f88bf58..f88bf58 100644
--- a/code/tools/q3asm/mathlib.h
+++ b/code/tools/asm/mathlib.h
diff --git a/code/tools/q3asm/notes.txt b/code/tools/asm/notes.txt
index 63297f3..63297f3 100644
--- a/code/tools/q3asm/notes.txt
+++ b/code/tools/asm/notes.txt
diff --git a/code/tools/q3asm/ops.txt b/code/tools/asm/ops.txt
index e897f49..e897f49 100644
--- a/code/tools/q3asm/ops.txt
+++ b/code/tools/asm/ops.txt
diff --git a/code/tools/q3asm/opstrings.h b/code/tools/asm/opstrings.h
index f611b3e..f611b3e 100644
--- a/code/tools/q3asm/opstrings.h
+++ b/code/tools/asm/opstrings.h
diff --git a/code/tools/q3asm/q3asm.c b/code/tools/asm/q3asm.c
index b19c361..b19c361 100644
--- a/code/tools/q3asm/q3asm.c
+++ b/code/tools/asm/q3asm.c
diff --git a/code/tools/q3asm/q3asm.sln b/code/tools/asm/q3asm.sln
index 48438df..48438df 100644
--- a/code/tools/q3asm/q3asm.sln
+++ b/code/tools/asm/q3asm.sln
diff --git a/code/tools/q3asm/q3asm.vcproj b/code/tools/asm/q3asm.vcproj
index 76bdc0b..76bdc0b 100644
--- a/code/tools/q3asm/q3asm.vcproj
+++ b/code/tools/asm/q3asm.vcproj
diff --git a/code/tools/q3asm/qfiles.h b/code/tools/asm/qfiles.h
index b2fd455..b2fd455 100644
--- a/code/tools/q3asm/qfiles.h
+++ b/code/tools/asm/qfiles.h
diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile
index 26efed4..178e86c 100644
--- a/code/tools/lcc/makefile
+++ b/code/tools/lcc/makefile
@@ -231,22 +231,14 @@ testclean:
$(RM) $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
install:: all
- install -d /usr/local/lib/lcc
- install -d /usr/local/lib/lcc/gcc
- install $Bq3lcc$E /usr/local/bin
- install $Bq3cpp$E /usr/local/lib/lcc/gcc
- install $Bq3rcc$E /usr/local/lib/lcc
- install $Bliblcc$A /usr/local/lib/lcc
- install $Blibrcc$A /usr/local/lib/lcc
+ install -s -m 0755 $Bq3lcc$E ../
+ install -s -m 0755 $Bq3cpp$E ../
+ install -s -m 0755 $Bq3rcc$E ../
uninstall::
- $(RM) /usr/local/lib/lcc/librcc$A
- $(RM) /usr/local/lib/lcc/liblcc$A
- $(RM) /usr/local/lib/lcc/q3rcc$E
- $(RM) /usr/local/lib/lcc/gcc/q3cpp$E
- $(RM) /usr/local/bin/lcc$E
- $(RMDIR) /usr/local/lib/lcc/gcc
- $(RMDIR) /usr/local/lib/lcc
+ -$(RM) ../q3lcc$E
+ -$(RM) ../q3cpp$E
+ -$(RM) ../q3rcc$E
clean:: testclean
$(RM) $B*$O