File: Imakefile

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (27 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
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
/* Imakefile for Xconq library. */

#include "../Local.config"

XCOMM xmkmf takes "/*" to mean "begin comment", so we use /STAR.  Yuck!
#define STAR *

all::

imf.dir:
	./makedir.sh *.imf | sed -e s,./,, >>imf.tmp
	../move-if-change imf.tmp imf.dir

install::
	$(MKDIRHIER) $(GAMELIBDIR)
	@echo copying library files to $(GAMELIBDIR)
	for i in `ls *.dir *.g *.imf news.txt`; do cp $$i $(GAMELIBDIR); done
	chown $(GAMEUID) $(GAMELIBDIR) $(GAMELIBDIR)/STAR
	chgrp $(GAMEGRP) $(GAMELIBDIR) $(GAMELIBDIR)/STAR
	chmod $(DIRPERM) $(GAMELIBDIR)
	chmod $(FILEPERM) $(GAMELIBDIR)/STAR
	$(MKDIRHIER) $(SCORESDIR)
	chown $(GAMEUID) $(SCORESDIR)
	chgrp $(GAMEGRP) $(SCORESDIR)
	chmod $(DIRPERM) $(SCORESDIR)

clean::