Lines 41-53
Link Here
|
41 |
|
41 |
|
42 |
# If your system needs extra libraries loaded in, define them here. |
42 |
# If your system needs extra libraries loaded in, define them here. |
43 |
# In particular, add -lresolv if you are running bind 4.9.5 |
43 |
# In particular, add -lresolv if you are running bind 4.9.5 |
44 |
LOADLIBS = @LIBS@ @INTLLIBS@ @LEXLIB@ |
44 |
LOADLIBS = @LIBS@ @LEXLIB@ |
45 |
# LOADLIBS = -lsocket3r -lunix3r # QNX |
45 |
# LOADLIBS = -lsocket3r -lunix3r # QNX |
46 |
|
46 |
|
47 |
# Extra sources/objects for library functions not provided on the host system. |
47 |
# Extra sources/objects for library functions not provided on the host system. |
48 |
EXTRASRC = @EXTRASRC@ |
48 |
EXTRASRC = @EXTRASRC@ |
49 |
# EXTRASRC = $(srcdir)/strcasecmp.c $(srcdir)/alloca.c # QNX |
49 |
# EXTRASRC = $(srcdir)/strcasecmp.c $(srcdir)/alloca.c # QNX |
50 |
EXTRAOBJ = @EXTRAOBJ@ @INTLOBJS@ |
50 |
EXTRAOBJ = @EXTRAOBJ@ |
51 |
# EXTRAOBJ = strcasecmp.o alloca.o getopt.o getopt1.o |
51 |
# EXTRAOBJ = strcasecmp.o alloca.o getopt.o getopt1.o |
52 |
|
52 |
|
53 |
DESTDIR = |
53 |
DESTDIR = |
Lines 114-136
Link Here
|
114 |
.SUFFIXES: |
114 |
.SUFFIXES: |
115 |
.SUFFIXES: .o .c .h .y .l .ps .dvi .info .texi |
115 |
.SUFFIXES: .o .c .h .y .l .ps .dvi .info .texi |
116 |
|
116 |
|
117 |
all: fetchmail po |
117 |
all: fetchmail |
118 |
|
118 |
|
119 |
# Some makes apparently use .PHONY as the default goal if it is before `all'. |
119 |
# Some makes apparently use .PHONY as the default goal if it is before `all'. |
120 |
.PHONY: all |
120 |
.PHONY: all |
121 |
|
121 |
|
122 |
fetchmail: $(objs) @INTLDEPS@ |
122 |
fetchmail: $(objs) |
123 |
$(CC) $(LDEFLAGS) $(LDFLAGS) $(objs) $(LOADLIBS) -o fetchmail |
123 |
$(CC) $(LDEFLAGS) $(LDFLAGS) $(objs) $(LOADLIBS) -o fetchmail |
124 |
|
124 |
|
125 |
intl: |
|
|
126 |
@INTLDEPS@: dummy |
127 |
cd intl; $(MAKE) |
128 |
|
129 |
po: dummy |
130 |
cd po; $(MAKE) |
131 |
|
132 |
dummy: |
133 |
|
134 |
# Tester for address parsing |
125 |
# Tester for address parsing |
135 |
rfc822: rfc822.c |
126 |
rfc822: rfc822.c |
136 |
gcc -DMAIN -g rfc822.c -o rfc822 |
127 |
gcc -DMAIN -g rfc822.c -o rfc822 |
Lines 169-177
Link Here
|
169 |
$(INSTALL_DATA) $(srcdir)/fetchmail.man $(DESTDIR)$(mandir)/fetchmail.$(manext) |
160 |
$(INSTALL_DATA) $(srcdir)/fetchmail.man $(DESTDIR)$(mandir)/fetchmail.$(manext) |
170 |
rm -f $(DESTDIR)$(mandir)/fetchmailconf.$(manext) |
161 |
rm -f $(DESTDIR)$(mandir)/fetchmailconf.$(manext) |
171 |
cd $(DESTDIR)$(mandir) && ln -s fetchmail.$(manext) fetchmailconf.$(manext) |
162 |
cd $(DESTDIR)$(mandir) && ln -s fetchmail.$(manext) fetchmailconf.$(manext) |
172 |
@echo "Installing language catalogs..." |
|
|
173 |
-cd intl; $(MAKE) install |
174 |
cd po; $(MAKE) install |
175 |
|
163 |
|
176 |
uninstall: |
164 |
uninstall: |
177 |
rm -f $(DESTDIR)$(bindir)/fetchmail $(DESTDIR)$(bindir)/fetchmailconf |
165 |
rm -f $(DESTDIR)$(bindir)/fetchmail $(DESTDIR)$(bindir)/fetchmailconf |