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