Compilation fixes for case-insensitive filesystems (like MacOS X)
This commit is contained in:
parent
21be3ff170
commit
19c6a05d4e
|
@ -3,7 +3,7 @@ PREFIX = /usr/local
|
|||
DESTDIR =
|
||||
BINDIR = $(PREFIX)/bin
|
||||
CC ?= cc
|
||||
CPPFLAGSF= -I ../include
|
||||
CPPFLAGSF?=
|
||||
CPPFLAGS=
|
||||
CFLAGSF = -W `pkg-config --cflags libApp`
|
||||
CFLAGS = -Wall -g -O2 -pedantic
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* $Id$ */
|
||||
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
|
||||
/* Copyright (c) 2011-2012 Pierre Pronchery <khorben@defora.org> */
|
||||
/* This file is part of DeforaOS System VPN */
|
||||
/* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
|
||||
|
||||
#include "VPN.h"
|
||||
#include "../include/VPN.h"
|
||||
|
||||
|
||||
/* types */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
targets=../include/VPN.h,VPN
|
||||
cppflags_force=-I ../include
|
||||
cppflags=
|
||||
cflags_force=-W `pkg-config --cflags libApp`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* $Id$ */
|
||||
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
|
||||
/* Copyright (c) 2010-2012 Pierre Pronchery <khorben@defora.org> */
|
||||
/* This file is part of DeforaOS System VPN */
|
||||
/* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -23,7 +23,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <System.h>
|
||||
#include "VPN.h"
|
||||
#include "../include/VPN.h"
|
||||
#include "vpn.h"
|
||||
#include "../config.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ PREFIX = /usr/local
|
|||
DESTDIR =
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
CC ?= cc
|
||||
CPPFLAGSF= -I ../include
|
||||
CPPFLAGSF?=
|
||||
CPPFLAGS= -I $(PREFIX)/include
|
||||
CFLAGSF = -W -fPIC `pkg-config --cflags libApp`
|
||||
CFLAGS = -Wall -g -O2 -pedantic
|
||||
|
@ -27,7 +27,7 @@ libVPN_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
|||
libVPN.so: $(libVPN_OBJS)
|
||||
$(CCSHARED) -o libVPN.so $(libVPN_OBJS) $(libVPN_LDFLAGS)
|
||||
|
||||
libvpn.o: libvpn.c ../include/VPN.h
|
||||
libvpn.o: libvpn.c ../include/VPN.h ../src/common.c
|
||||
$(CC) $(libVPN_CFLAGS) -c libvpn.c
|
||||
|
||||
clean:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
targets=libVPN
|
||||
cppflags_force=-I ../include
|
||||
cppflags=-I $(PREFIX)/include
|
||||
cflags_force=-W -fPIC `pkg-config --cflags libApp`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
|
@ -13,4 +12,4 @@ sources=libvpn.c
|
|||
install=$(PREFIX)/lib/AppWrapper
|
||||
|
||||
[libvpn.c]
|
||||
depends=../include/VPN.h
|
||||
depends=../include/VPN.h,../src/common.c
|
||||
|
|
Loading…
Reference in New Issue
Block a user