Compilation fixes for case-insensitive filesystems (like MacOS X)

This commit is contained in:
Pierre Pronchery 2012-08-30 17:12:40 +00:00
parent 21be3ff170
commit 19c6a05d4e
6 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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

View File

@ -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"

View File

@ -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:

View File

@ -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