|
Revision 8350, 1.6 kB
(checked in by BrainSlayer, 2 years ago)
|
forgot something
|
| Line | |
|---|
| 1 |
openvpn-configure: |
|---|
| 2 |
cd lzo && ./configure --host=$(ARCH)-linux CFLAGS="$(COPTS)" |
|---|
| 3 |
ifeq ($(CONFIG_NEWMEDIA),y) |
|---|
| 4 |
cd openvpn && ./configure --host=$(ARCH)-linux CPPFLAGS="-I../lzo/include -I../openssl/include -L../lzo -L../openssl -L../lzo/src/.libs" --enable-static --disable-shared --disable-pthread --disable-plugins --disable-debug --enable-password-save --enable-management --enable-lzo --enable-small --enable-server CFLAGS="$(COPTS)" LDFLAGS="-L../openssl -L../lzo -L../lzo/src/.libs" |
|---|
| 5 |
else |
|---|
| 6 |
cd openvpn && ./configure --host=$(ARCH)-linux CPPFLAGS="-I../lzo/include -I../openssl/include -L../lzo -L../openssl -L../lzo/src/.libs" --enable-static --disable-shared --disable-pthread --disable-plugins --disable-debug --disable-management --disable-socks --enable-lzo --enable-small --enable-server --enable-http --enable-password-save CFLAGS="$(COPTS)" LDFLAGS="-L../openssl -L../lzo -L../lzo/src/.libs" |
|---|
| 7 |
endif |
|---|
| 8 |
|
|---|
| 9 |
openvpn: |
|---|
| 10 |
make -C lzo clean |
|---|
| 11 |
make -C lzo |
|---|
| 12 |
# rm -f openssl/*.so* |
|---|
| 13 |
ifeq ($(CONFIG_NEWMEDIA),y) |
|---|
| 14 |
make -C openvpn clean |
|---|
| 15 |
else |
|---|
| 16 |
make -C openvpn clean |
|---|
| 17 |
endif |
|---|
| 18 |
make -C openvpn |
|---|
| 19 |
|
|---|
| 20 |
openvpn-install: |
|---|
| 21 |
install -D openvpn/openvpn $(INSTALLDIR)/openvpn/usr/sbin/openvpn |
|---|
| 22 |
ifneq ($(CONFIG_NEWMEDIA),y) |
|---|
| 23 |
install -D openvpn/config/openvpn.nvramconfig $(INSTALLDIR)/openvpn/etc/config/openvpn.nvramconfig |
|---|
| 24 |
install -D openvpn/config/openvpn.webservices $(INSTALLDIR)/openvpn/etc/config/openvpn.webservices |
|---|
| 25 |
else |
|---|
| 26 |
install -D openvpn/config2/openvpn.nvramconfig $(INSTALLDIR)/openvpn/etc/config/openvpn.nvramconfig |
|---|
| 27 |
install -D openvpn/config2/openvpn.webservices $(INSTALLDIR)/openvpn/etc/config/openvpn.webservices |
|---|
| 28 |
endif |
|---|
| 29 |
|
|---|
| 30 |
openvpn-clean: |
|---|
| 31 |
if test -e "openvpn/Makefile"; then make -C openvpn clean; fi |
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|