blob: 21d8f9cce19083e3138f9bbed081bfeb4cd91520 (
plain) (
blame)
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
103
104
105
106
107
|
--- Imakefile.orig Sat Mar 1 00:48:57 1997
+++ Imakefile Wed Nov 1 12:11:15 2000
@@ -6,58 +6,58 @@
/* ----------------------------------------------------------------------- */
-/* -------------------- ����1 ���ȡ���������� ----------------------- */
+/* ---------------------- PART1 INSTALL DIRECTORY ------------------------ */
/* ----------------------------------------------------------------------- */
-/* ���ȡ���ǥ��쥯�ȥ� */
-/* ���߸��¤�̵���ȥ��ȡ������ޤ���=> ͷ�٤ʤ���(^^; */
-PIXMAPDIR = /usr/local/games/lib/xsoldier
-SCOREDIR = /usr/local/games/lib/xsoldier
-BINDIR = /usr/local/games
+/* Install Directory */
+/* You can't install without write permission of these. => Unplayable. (^^;*/
+PIXMAPDIR = $(LIBDIR)/xsoldier
+SCOREDIR = $(LIBDIR)/xsoldier
+/* BINDIR = /usr/local/games */
-/* �������ե�����̾��SCOREDIR �ʲ����֤���ޤ��� */
+/* Score File Name. It's under SCOREDIR. */
SCOREFILE = .scorefile
/* ----------------------------------------------------------------------- */
-/* --------------------- ����2 ����ѥ�������� -------------------------- */
+/* ------------------- PART2 COMPILE CONFIGURATION ----------------------- */
/* ----------------------------------------------------------------------- */
-/* xmkmf �� Makefile �� cc �ˤʤä��㤦��� */
+/* What compiler do you want to use? */
/* CC = gcc */
-/* xpm��X�Ȱۤʤ�ǥ��쥯�ȥ�˥��ȡ��뤵��Ƥ����� */
+/* If you have xpm not in the X directory. */
/* XPMINCDIR = /usr/X11R6/include */
/* XPMLIBDIR = /usr/X11R6/lib */
-/* ������ path ��� */
+/* Write path name here and ..... */
/* XPMINCFLAGS = -I$(XPMINCDIR) */
/* XPMLIBFLAGS = -L$(XPMLIBDIR) */
-/* ���2�ĤΥ����Ȥ������Ƥ������� */
+/* Uncomment the upper 2 lines. */
-/* ������������� */
+/* Game Wait */
WAIT = 35000
-/* ����¾����ѥ��륪�ץ���� */
-/* -DDUPSCORE �� Ʊ���ʪ���ϥ���������ʣ������ȥ����� */
-/* -DSYSV �� SystemV �Ϥʤɤ� random �ؿ���̵����硤 */
-/* ������ srand48 �� lrand48 �ؿ�����Ѥ��ޤ� */
+/* The other compile options */
+/* -DDUPSCORE -> Allow multiple entry in the high score */
+/* -DSYSV -> Specify when not have random functions(SystemV etc.) */
+/* Use srand48 and lrand48 instead. */
LOCAL_DEF =
-/* ���祤���ƥ��å���Ȥ���� */
+/* When you use the joystick */
/* #define JOYSTICK */
/* ----------------------------------------------------------------------- */
-/* ------------------ ����3 ���ȡ��륳�ޥ�ɤ����� ------------------- */
+/* ------------------ PART3 INSTALL COMMAND CONFIGURATION ---------------- */
/* ----------------------------------------------------------------------- */
-/* Solaris��openwin����Ѥ��ƥ���ѥ��뤹��Ȥ���ɬ�� */
+/* You need this when you use openwin on Solaris. */
/* INSTALL = /usr/ucb/install */
/* ----------------------------------------------------------------------- */
/* */
-/* ����Ū�ˤ������鲼�Ϥ��¤�ʤ��ƺѤ�ϥ� */
+/* Basically, you don't need change below. */
/* */
/* ----------------------------------------------------------------------- */
@@ -85,7 +85,7 @@
OBJS = $(SRCS:.c=.o)
-ComplexProgramTarget(xsoldier)
+ComplexProgramTargetNoMan(xsoldier)
install:: install.pixmap install.score install.bin
@@ -95,7 +95,7 @@
install.score::
@if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \
else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi
- $(INSTALL) -c -m 600 scorefile.txt $(SCOREDIR)/$(SCOREFILE)
+ $(INSTALL) -c -g games -m 660 scorefile.txt $(SCOREDIR)/$(SCOREFILE)
@echo "install score . done"
install.pixmap::
@@ -109,5 +109,5 @@
install.bin::
@if [ -d $(BINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(BINDIR)); fi
- $(INSTALL) -c -m 4755 $(PROGRAM) $(BINDIR)/$(PROGRAM)
+ $(INSTALL) -c -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM)
@echo "install bin . done"
|