File: Makefile.in

package info (click to toggle)
proftpd-mod-sftp-ldap 0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 508 kB
  • sloc: sh: 3,020; ansic: 996; makefile: 107
file content (65 lines) | stat: -rw-r--r-- 1,670 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
CC=@CC@
@SET_MAKE@

top_builddir=../../..
top_srcdir=../../..
module_srcdir=..
srcdir=@srcdir@
VPATH=@srcdir@

include $(top_srcdir)/Make.rules

# Necessary redefinitions
INCLUDES=-I. -I.. -I$(module_srcdir)/include -I../../.. -I../../../include @INCLUDES@
TEST_CPPFLAGS=$(ADDL_CPPFLAGS) -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
TEST_LDFLAGS=-L$(top_srcdir)/lib @LIBDIRS@

EXEEXT=@EXEEXT@

TEST_API_DEPS=\
  $(top_srcdir)/lib/prbase.a \
  $(top_srcdir)/src/pool.o \
  $(top_srcdir)/src/privs.o \
  $(top_srcdir)/src/str.o \
  $(top_srcdir)/src/sets.o \
  $(top_srcdir)/src/table.o \
  $(top_srcdir)/src/netacl.o \
  $(top_srcdir)/src/class.o \
  $(top_srcdir)/src/event.o \
  $(top_srcdir)/src/timers.o \
  $(top_srcdir)/src/stash.o \
  $(top_srcdir)/src/modules.o \
  $(top_srcdir)/src/cmd.o \
  $(top_srcdir)/src/configdb.o \
  $(top_srcdir)/src/parser.o \
  $(top_srcdir)/src/regexp.o \
  $(top_srcdir)/src/fsio.o \
  $(top_srcdir)/src/netio.o \
  $(top_srcdir)/src/inet.o \
  $(top_srcdir)/src/netaddr.o \
  $(top_srcdir)/src/response.o \
  $(top_srcdir)/src/auth.o \
  $(top_srcdir)/src/env.o \
  $(top_srcdir)/src/trace.o \
  $(top_srcdir)/src/support.o \
  $(top_srcdir)/src/error.o \
  $(module_srcdir)/keys.o

TEST_API_LIBS=-lcheck -lm

TEST_API_OBJS=\
  api/keys.o \
  api/stubs.o \
  api/tests.o

dummy:

api/.c.o:
	$(CC) $(CPPFLAGS) $(TEST_CPPFLAGS) $(CFLAGS) -c $<

api-tests$(EXEEXT): $(TEST_API_OBJS) $(TEST_API_DEPS)
	$(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) $(TEST_LDFLAGS) -o $@ $(TEST_API_DEPS) $(TEST_API_OBJS) $(TEST_API_LIBS) $(LIBS)
	./$@

clean:
	$(LIBTOOL) --mode=clean $(RM) *.o api/*.o api-tests$(EXEEXT) api-tests.log