File: Makefile.simple

package info (click to toggle)
libapache-mod-encoding 0.0.20021209-11
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 2,668 kB
  • ctags: 284
  • sloc: ansic: 94,392; sh: 13,778; makefile: 113
file content (34 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (5)
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

APXS = apxs -Wc,-Wall

# with bundled iconv_hook extension
# - recommended, but may not compile easily yet
INCS = -I/usr/local/include/iconv_hook
DEFS = -DMOD_ENCODING_DEBUG=1
LIBS = -L/usr/local/lib -liconv_hook #-liconv

# without bundled iconv_hook extension (iconv in libc or libiconv)
#INCS = -I/usr/local/include
#DEFS = -DMOD_ENCODING_DEBUG=1
#LIBS = -L/usr/local/lib #-liconv

RM = rm -f
CP = cp

.SUFFIXES:
.SUFFIXES: .so .c

all: mod_encoding.so
	@echo "If possible, use of libiconv_hook in lib/ is recommended."

mod_encoding.so: mod_encoding.c
	$(APXS) -c $(DEFS) $(INCS) $< $(LIBS)

install: all
	$(APXS) -i $^

clean:
	$(RM) *.so *.o

distclean: clean
	$(RM) *~ *.old *.bak