File: Make.rules.in

package info (click to toggle)
proftpd 1.2.0pre1-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,468 kB
  • ctags: 2,106
  • sloc: ansic: 19,206; sh: 1,640; makefile: 480; perl: 235
file content (54 lines) | stat: -rw-r--r-- 1,776 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
52
53
54
# -*- Makefile -*-
# Automagically generated by configure

# prefix & paths
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
rundir=@localstatedir@/proftpd
mandir=@mandir@

PLATFORM=@OSREL@ @OSTYPE@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@

DEFAULT_PATHS=-DCONFIG_FILE_PATH=\"$(sysconfdir)/proftpd.conf\" -DRUN_DIR=\"$(rundir)\"
CPPFLAGS=@CPPFLAGS@ $(DEFAULT_PATHS) $(PLATFORM) -I.. -I$(top_srcdir)/include
CFLAGS=@CFLAGS@

# Use the following to set the proper options below:
# -DUSESHADOW
#   (use the shadow password suite)
# -DAUTOSHADOW
#   (enable support for automatic run-time shadow detection.
#    NOT recommended except for binary distributions, use
#    configure --enable-autoshadow to force this on)
# -DDEBUG_NOFORK
#   (server in standalone mode will not fork for incoming connections)
# -DDEBUG_NOSIG
#   (server will not catch signals that cause termination)
# -DDEBUG_ENABLE_COREDUMP

#CFLAGS=-g -DUSESHADOW -DDEBUG_NOFORK $(PLATFORM)
# Below is for ANSI c testing, normally not used because system
# header files generate loads o' warnings.
#CFLAGS=-g -pedantic -DUSESHADOW -DDEBUG_NOFORK

OBJS=main.o timers.o sets.o pool.o dirtree.o support.o inet.o log.o \
     io.o ident.o data.o modules.o auth.o fs.o
BUILD_OBJS=src/main.o src/timers.o src/sets.o src/pool.o src/dirtree.o \
           src/support.o src/inet.o src/log.o src/io.o src/ident.o \
           src/data.o src/modules.o src/auth.o src/fs.o

LIB_OBJS=getopt.o getopt1.o fnmatch.o strsep.o vsnprintf.o glob.o pwgrent.o

FTPCOUNT_OBJS=ftpcount.o pool.o log.o utils.o
BUILD_FTPCOUNT_OBJS=src/ftpcount.o src/pool.o src/log.o src/utils.o

FTPSHUT_OBJS=ftpshut.o
BUILD_FTPSHUT_OBJS=src/ftpshut.o

DEFINES=$(OPTIONS) $(PLATFORM)