Fix the build with OBJDIR set
This commit is contained in:
parent
306342d242
commit
3c374dbb51
|
@ -1,6 +1,7 @@
|
|||
targets=VPN.h
|
||||
dist=Makefile
|
||||
|
||||
#targets
|
||||
[VPN.h]
|
||||
type=script
|
||||
script=../data/appbroker.sh
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
|
||||
#include "../include/VPN.h"
|
||||
#include "VPN.h"
|
||||
|
||||
|
||||
/* types */
|
||||
|
|
|
@ -5,10 +5,13 @@ ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic -lsocket
|
|||
ldflags=
|
||||
dist=Makefile,common.c,vpn.h
|
||||
|
||||
#targets
|
||||
[VPN]
|
||||
type=binary
|
||||
cppflags=-I $(OBJDIR)../include
|
||||
sources=vpn.c,main.c
|
||||
install=$(BINDIR)
|
||||
|
||||
#sources
|
||||
[vpn.c]
|
||||
depends=$(OBJDIR)../include/VPN.h
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <System.h>
|
||||
#include "../include/VPN.h"
|
||||
#include "VPN.h"
|
||||
#include "vpn.h"
|
||||
#include "../config.h"
|
||||
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
targets=libVPN
|
||||
cppflags=-I $(PREFIX)/include
|
||||
cflags_force=-W -fPIC `pkg-config --cflags libApp`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
ldflags_force=`pkg-config --libs libApp`
|
||||
ldflags=
|
||||
dist=Makefile
|
||||
|
||||
#targets
|
||||
[libVPN]
|
||||
type=plugin
|
||||
cppflags=-I $(OBJDIR)../include
|
||||
sources=libvpn.c
|
||||
install=$(LIBDIR)/AppWrapper
|
||||
|
||||
#sources
|
||||
[libvpn.c]
|
||||
depends=$(OBJDIR)../include/VPN.h,../src/common.c
|
||||
|
|
Loading…
Reference in New Issue
Block a user