File: globalmakeflags.in

package info (click to toggle)
cdebconf 0.10-7.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 884 kB
  • ctags: 642
  • sloc: ansic: 5,072; makefile: 285; sh: 274; sql: 51
file content (25 lines) | stat: -rw-r--r-- 494 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
prefix=@prefix@
etcdir=@sysconfdir@
bindir=${prefix}/bin
sbindir=${prefix}/sbin
libdir=${prefix}/lib
moddir=${libdir}/cdebconf
sharedir=${prefix}/share/debconf
incdir=${prefix}/include/cdebconf

srcdir=@TOPDIR@/src
builddir=@BUILDDIR@/src

DBMODULES=@DBMODULES@
FRONTENDMODULES=@FRONTENDMODULES@

CC=@CC@
CFLAGS=@CFLAGS@

%.o: %.c
	@echo "Compiling $< to $@"
	@$(CC) $(CFLAGS) -I$(builddir) -o $@ -c $<

%.opic: %.c
	@echo "Compiling $< to $@"
	@$(CC) $(CFLAGS) -I$(builddir) -fPIC -o $@ -c $<