forked from jedsoft/bbftp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (29 loc) · 893 Bytes
/
Makefile
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
CONFIGOPTS = --prefix=/usr/local
BBFTPC_ENV_OPTS =
BBFTPD_ENV_OPTS = CFLAGS="$$CFLAGS -Bstatic"
#
usage:
@cat INSTALL
build:
cd bbftp-client/bbftpc && $(MAKE)
cd bbftp-server/bbftpd && $(MAKE)
config:
cd bbftp-client/bbftpc && ./configure $(CONFIGOPTS)
cd bbftp-server/bbftpd && $(BBFTPD_ENV_OPTS) ./configure $(CONFIGOPTS)
install:
cd bbftp-client/bbftpc && $(MAKE) install
cd bbftp-server/bbftpd && $(MAKE) install
version:
update_changes_version changes.txt bbftp-client/includes/version.h bbftp-server/includes/version.h
clean:
cd bbftp-client/bbftpc && $(MAKE) clean
cd bbftp-server/bbftpd && $(MAKE) clean
cd tests && $(MAKE) clean
rm -f *~
distclean: clean
cd bbftp-client/bbftpc && $(MAKE) distclean
cd bbftp-server/bbftpd && $(MAKE) distclean
cd tests && $(MAKE) distclean
check: all
cd tests && $(MAKE) check
.PHONY: all install clean config check distclean version