File: Makefile.linux

package info (click to toggle)
slony1-2 2.0.4-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,716 kB
  • ctags: 4,089
  • sloc: ansic: 17,784; sh: 12,592; xml: 8,185; sql: 7,314; yacc: 2,468; perl: 2,376; lex: 1,321; makefile: 909; awk: 24
file content (20 lines) | stat: -rw-r--r-- 339 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
AROPT = crs
export_dynamic = -Wl,-E
#rpath = -Wl,-rpath,$(pglibdir)
shlib_symbolic = -Wl,-Bsymbolic
allow_nonpic_in_shlib = yes
DLSUFFIX = .so

ifeq "$(findstring sparc,$(host_cpu))" "sparc"
CFLAGS_SL = -fPIC
else
CFLAGS_SL = -fpic
endif

%.so: %.o
	$(CC) -shared -o $@ $<

%.o: %.c
	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<

sqlmansect = 7