libApp: partially fix the build with OBJDIR

This commit is contained in:
Pierre Pronchery 2025-03-13 12:21:54 +01:00
parent 092937a5d0
commit 10513104f0
5 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
targets=libApp targets=libApp
cppflags_force=-I ../include cppflags_force=-I ../include -I ${OBJDIR}../include/App
cflags_force=-fPIC `pkg-config --cflags libSystem libMarshall` cflags_force=-fPIC `pkg-config --cflags libSystem libMarshall`
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libSystem libMarshall` ldflags_force=`pkg-config --libs libSystem libMarshall`

View File

@ -1,5 +1,5 @@
targets=self,tcp,tcp4,tcp6,template,udp,udp4,udp6 targets=self,tcp,tcp4,tcp6,template,udp,udp4,udp6
cppflags_force=-I ../../include cppflags_force=-I ../../include -I ${OBJDIR}../../include/App
cppflags= cppflags=
cflags_force=-fPIC `pkg-config --cflags libSystem` cflags_force=-fPIC `pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector

View File

@ -20,7 +20,8 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <System.h> #include <System.h>
#include "App.h" #include "App/appserver.h"
#include "App/apptransport.h"
#ifndef PROGNAME_APPBROKER #ifndef PROGNAME_APPBROKER
# define PROGNAME_APPBROKER "AppBroker" # define PROGNAME_APPBROKER "AppBroker"

View File

@ -22,7 +22,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <System.h> #include <System.h>
#include "App.h" #include "App/appclient.h"
#ifndef PROGNAME_APPCLIENT #ifndef PROGNAME_APPCLIENT
# define PROGNAME_APPCLIENT "AppClient" # define PROGNAME_APPCLIENT "AppClient"

View File

@ -1,5 +1,5 @@
targets=AppBroker,AppClient,AppTransport targets=AppBroker,AppClient,AppTransport
cppflags_force=-I ../include cppflags_force=-I ../include -I $(OBJDIR)../include/App
cppflags= cppflags=
cflags_force=`pkg-config --cflags libSystem libMarshall` cflags_force=`pkg-config --cflags libSystem libMarshall`
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector