File: Makefile

package info (click to toggle)
msql 2.0.3-5
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 3,596 kB
  • ctags: 2,483
  • sloc: ansic: 34,769; sh: 1,309; yacc: 1,084; perl: 328; makefile: 267
file content (41 lines) | stat: -rwxr-xr-x 1,116 bytes parent folder | download
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
############################################################################
#
# Top level Makefile for mSQL.  This only sets up a target tree for the
# current platform.  It doesn't do any other part of the build.
#
#						bambi
############################################################################

#
# Note : If the current box doesn't support sym-links with "ln -s" then
#	 set the ln option required below.  If it doesn't support
#	 sym-links at all, set the option to be nothing. This'll force
#	 hard links.

SYM_OPT= -s


SHELL=/bin/sh

all:
	@ echo ""; echo "You have not read the installation procedures.";\
	echo "Please read the README file for build instructions.";\
	echo

target:
	@ scripts/make-target $(TARG)



dist:
	@ echo; echo -n "Full Distribution - Enter archive file name : " ;\
	read TAR_FILE ;\
	DIR=`pwd | sed "s,.*/,,"` ; \
	cd ..;\
	rm -f /tmp/dist.files ;\
	for FILE in `find ${DIR} ! -type d -print | egrep -v "/targets/|CVS"` ;\
	do \
		echo $$FILE >> /tmp/dist.files ;\
	done ;\
	tar -cvf $$TAR_FILE -I /tmp/dist.files ;\
	echo; echo "Archive of full distribution complete"