mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 16:55:38 +02:00
change library layout
This commit is contained in:
parent
c7f9164d44
commit
985995cb0f
17 changed files with 531 additions and 495 deletions
|
@ -1 +1,3 @@
|
||||||
*.o
|
*.o
|
||||||
|
*.so
|
||||||
|
*.a
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
LIST=CPU
|
LIST=ALL
|
||||||
ifndef QRECURSE
|
ifndef QRECURSE
|
||||||
QRECURSE=recurse.mk
|
QRECURSE=recurse.mk
|
||||||
ifdef QCONFIG
|
ifdef QCONFIG
|
||||||
|
|
8
core/org.eclipse.cdt.core.qnx/library/pty/Makefile
Normal file
8
core/org.eclipse.cdt.core.qnx/library/pty/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LIST=CPU
|
||||||
|
ifndef QRECURSE
|
||||||
|
QRECURSE=recurse.mk
|
||||||
|
ifdef QCONFIG
|
||||||
|
QRDIR=$(dir $(QCONFIG))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
include $(QRDIR)$(QRECURSE)
|
|
@ -3,8 +3,6 @@ QCONFIG=qconfig.mk
|
||||||
endif
|
endif
|
||||||
include $(QCONFIG)
|
include $(QCONFIG)
|
||||||
|
|
||||||
NAME=spawner
|
|
||||||
|
|
||||||
include $(MKFILES_ROOT)/qtargets.mk
|
include $(MKFILES_ROOT)/qtargets.mk
|
||||||
|
|
||||||
ifeq ($(OS),nto)
|
ifeq ($(OS),nto)
|
|
@ -55,6 +55,7 @@ int
|
||||||
ptym_open(char * pts_name)
|
ptym_open(char * pts_name)
|
||||||
{
|
{
|
||||||
char *ptr1, *ptr2;
|
char *ptr1, *ptr2;
|
||||||
|
int fdm;
|
||||||
|
|
||||||
strcpy(pts_name, "/dev/ptyXY");
|
strcpy(pts_name, "/dev/ptyXY");
|
||||||
/* array index: 012345689 (for references in following code) */
|
/* array index: 012345689 (for references in following code) */
|
||||||
|
@ -81,7 +82,7 @@ ptym_open(char * pts_name)
|
||||||
int
|
int
|
||||||
ptys_open(int fdm, char * pts_name)
|
ptys_open(int fdm, char * pts_name)
|
||||||
{
|
{
|
||||||
int gid;
|
int gid, fds;
|
||||||
struct group *grptr;
|
struct group *grptr;
|
||||||
|
|
||||||
grptr = getgrnam("tty");
|
grptr = getgrnam("tty");
|
||||||
|
|
8
core/org.eclipse.cdt.core.qnx/library/spawner/Makefile
Normal file
8
core/org.eclipse.cdt.core.qnx/library/spawner/Makefile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LIST=CPU
|
||||||
|
ifndef QRECURSE
|
||||||
|
QRECURSE=recurse.mk
|
||||||
|
ifdef QCONFIG
|
||||||
|
QRDIR=$(dir $(QCONFIG))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
include $(QRDIR)$(QRECURSE)
|
14
core/org.eclipse.cdt.core.qnx/library/spawner/common.mk
Normal file
14
core/org.eclipse.cdt.core.qnx/library/spawner/common.mk
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
ifndef QCONFIG
|
||||||
|
QCONFIG=qconfig.mk
|
||||||
|
endif
|
||||||
|
include $(QCONFIG)
|
||||||
|
|
||||||
|
include $(MKFILES_ROOT)/qtargets.mk
|
||||||
|
|
||||||
|
ifeq ($(OS),nto)
|
||||||
|
ifeq ($(IVEHOME),)
|
||||||
|
IVEHOME:=/opt/vame/ive/bin
|
||||||
|
endif
|
||||||
|
EXTRA_INCVPATH+=$(IVEHOME)/include
|
||||||
|
endif
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
LIST=VARIANT
|
||||||
|
ifndef QRECURSE
|
||||||
|
QRECURSE=recurse.mk
|
||||||
|
ifdef QCONFIG
|
||||||
|
QRDIR=$(dir $(QCONFIG))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
include $(QRDIR)$(QRECURSE)
|
|
@ -0,0 +1 @@
|
||||||
|
include ../../common.mk
|
|
@ -1,4 +0,0 @@
|
||||||
iostream.o
|
|
||||||
libspawner.so
|
|
||||||
libspawnerS.a
|
|
||||||
spawner.o
|
|
Loading…
Add table
Reference in a new issue