File: Imakefile

package info (click to toggle)
koules 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,940 kB
  • sloc: ansic: 15,535; makefile: 779; asm: 379; tcl: 362; sh: 134
file content (77 lines) | stat: -rw-r--r-- 1,630 bytes parent folder | download | duplicates (13)
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
#include "../Iconfig"


#XCOMM ***********************************************************
#XCOMM ---> Configuration options was moved indo Iconfig     <----
#XCOMM ***********************************************************

#ifdef I386ASSEMBLY
MEMOBJ = mem.o
MEMSRC = mem.S
ASMDEF = -DASSEMBLY
#endif

#ifdef NETWORK
NET = -DNETSUPPORT
#endif
#ifdef JOYSTICK
JOYSTICK1 = -DJOYSTICK
#endif
#ifdef MITSHM
MITSHM1 = -DMITSHM
#endif
#ifdef HAVEUSLEEP
HAVEUSLEEP1 = -DHAVEUSLEEP
#endif

DEPLIBS = $(DEPXLIB)


#ifndef SOUND
#ifndef NAS_SOUND
#ifndef RSOUND
DEFINES = -DONLYANSI $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
	$(NAMEDEF) $(ASMDEF)
#else
INSTALLSOUND = True

NASLIB = -L/usr/local/lib/rplay -lrplay

SOUNDOBJS = rsound.o

DEFINES = -DONLYANSI -DRSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
	$(NAMEDEF) $(ASMDEF)\
	-DSOUNDDIR=\"$(SOUNDDIR)\" 
#endif
#else
INSTALLSOUND = True

NASLIB = -laudio

SOUNDOBJS = nas_sound.o

DEFINES = -DONLYANSI -DNAS_SOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
	$(NAMEDEF) $(ASMDEF)\
	-DSOUNDDIR=\"$(SOUNDDIR)\" 
#endif 
#else
INSTALLSOUND = True

DEFINES = -DONLYANSI -DSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
	$(NAMEDEF) $(ASMDEF)\
	-DSOUNDSERVER=\"$(KOULESDIR)/$(SOUNDSERVER)\" \
	-DSOUNDDIR=\"$(SOUNDDIR)\" \
	-DSOUNDDEV=\"$(SOUNDDEV)\"
#endif


OBJS = init.o $(MEMOBJ)\
       interface.o shmbitmap.o text.o font8x8.o

SRCS = init.c $(MEMSRC)\
       interface.c shmbitmap.c text.c font8x8.o


NormalLibraryTarget(xlib, $(OBJS))

all::libxlib.a