File: Makefile.am

package info (click to toggle)
ircd-ratbox 3.0.6.dfsg-2+squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 12,632 kB
  • ctags: 11,261
  • sloc: ansic: 123,099; sh: 26,517; makefile: 775; yacc: 258; lex: 246; perl: 93
file content (51 lines) | stat: -rw-r--r-- 1,143 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
42
43
44
45
46
47
48
49
50
51
# $Id: Makefile.am 26062 2008-09-09 20:03:31Z androsyn $
# 
# okay so i've flattened out the build stuff here.
# this is really for the best since so many things depend
# on each other now..

AUTOMAKE_OPTIONS = foreign subdir-objects 

prefix		= @prefix@
libcoredir 	= @libdir@
modulesdir	= @moduledir@/autoload
coredir		= @moduledir@
servicesdir	= @moduledir@/autoload


AM_CFLAGS = $(WARNFLAGS)

ircd_SOURCES = main.c
bin_PROGRAMS = ircd

if MINGW
EXTRA_FLAGS = -no-undefined -Wl,--enable-runtime-pseudo-reloc -export-symbols-regex '*'
endif

if !STATIC_MODULES

SUBDIRS = libratbox src modules tools doc help bandb ssld resolver

ircd_LDADD = libratbox/src/libratbox.la src/libcore.la $(LIBLTDL)
ircd_LDFLAGS = $(EXTRA_FLAGS) -dlopen self

else

SUBDIRS = libratbox modules src tools doc help bandb ssld resolver
ircd_LDADD = libratbox/src/libratbox.la modules/libmodules.la src/libcore.la modules/static_modules.o $(LIBLTDL) $(DLOPEN)


endif

build_contrib:
	cd contrib && $(MAKE)

install_contrib: build_contrib
	cd contrib && $(MAKE) install

distclean_contrib: build_contrib
	cd contrib && $(MAKE) distclean
	
contrib: build_contrib