File: Jamfile

package info (click to toggle)
epic 3.004-17.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,192 kB
  • ctags: 3,197
  • sloc: ansic: 40,843; makefile: 530; sh: 129; perl: 17
file content (50 lines) | stat: -rw-r--r-- 1,580 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Jamfile.in
# EPIC3 and beyond.
# Copyright 1996 Jeremy Nelson
# You may freely distribute this file
# Pay no attention to the man behind the curtain.
#

HDRS 		default  = ../include ;
CC 		default  = gcc ;
CCFLAGS 	default  = -g -O ;
LINKLIBS 	default	 = -ltermcap  -lnsl -lresolv -lcrypt ;

ObjectCcFlags irc.o 	 : -DIRCLIB=\"$(IRCLIB)/\" -DIRCPATH=\"$(IRCPATH)\" ;
ObjectCcFlags vars.o 	 : -DDEFAULT_HELP_PATH=\"$(HELP_DIR)\" ;
ObjectCcFlags help.o   	 : -DDEFAULT_HELP_PATH=\"$(HELP_DIR)\" ;
ObjectCcFlags server.o 	 : -DIRCSERV_PATH=\"$(INSTALL_IRCSERV)\" ;
ObjectCcFlags translat.o : -DTRANSLATION_PATH=\"$(TRANS_DIR)/\" ;
ObjectCcFlags screen.o 	 : -DWSERV_PATH=\"$(INSTALL_WSERV)\" ;


rule UserObject
{
	switch $(>)
	{
		case *.sh	: Sh $(<) : $(>) ;
		case *		: ECHO "Unknown suffix on" $(<) ;
	}
}

rule Sh { DEPENDS $(<) : $(>) ; }
actions Sh { sh $(>) ; }


Main 		irc 	 : alias.c array.c crypt.c ctcp.c dcc.c edit.c exec.c
			   files.c flood.c funny.c glob.c help.c history.c
			   hold.c hook.c if.c ignore.c input.c irc.c ircaux.c
			   ircsig.c keys.c lastlog.c list.c log.c mail.c
			   menu.c names.c network.c newio.c notice.c notify.c
			   numbers.c output.c parse.c queue.c reg.c scandir.c
			   screen.c server.c stack.c status.c term.c timer.c
			   translat.c vars.c whois.c window.c words.c info.c ;
Main 		ircflush : ircflush.c ircsig.c ;
Main 		ircserv  : ircserv.c newio.c ircsig.c ;
Main 		wserv 	 : wserv.c ircsig.c ;
MainFromObjects wserv 	 : wterm.o ;

Object 		info.o 	 : info.c ;
Object 		info.c 	 : info.c.sh ;
Object 		wterm.o	 : term.c ;