Fixed build

This commit is contained in:
Pierre Pronchery 2011-03-28 00:02:42 +00:00
parent 8ee83a923b
commit aa070387fd
4 changed files with 10 additions and 9 deletions

View File

@ -5,9 +5,9 @@ BINDIR = $(PREFIX)/bin
CC = cc
CPPFLAGSF= -I ../include
CPPFLAGS=
CFLAGSF = -W `pkg-config --cflags libSystem`
CFLAGSF = -W `pkg-config --cflags libApp`
CFLAGS = -Wall -g -O2 -pedantic
LDFLAGSF= `pkg-config --libs libSystem` -Wl,--export-dynamic
LDFLAGSF= `pkg-config --libs libApp` -Wl,--export-dynamic
LDFLAGS =
RM = rm -f
LN = ln -f

View File

@ -1,9 +1,9 @@
targets=../data/Splasher.h,Splasher
cppflags_force=-I ../include
cppflags=
cflags_force=-W `pkg-config --cflags libSystem`
cflags_force=-W `pkg-config --cflags libApp`
cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libSystem` -Wl,--export-dynamic
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic
ldflags=
dist=Makefile,appbroker.sh,splasher.h

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS System Splasher */
/* 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,13 +15,14 @@
# include <string.h>
# include <errno.h>
#include <string.h>
#include <errno.h>
#ifdef __NetBSD__
# include <sys/ioctl.h>
# include <fcntl.h>
# include <unistd.h>
#endif
#include <System.h>
#include "splasher.h"
#include "../config.h"

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS System Splasher */
/* 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
@ -18,7 +18,7 @@
#ifndef SPLASHER_SPLASHER_H
# define SPLASHER_SPLASHER_H
# include <System.h>
# include <System/App.h>
/* Splasher */