Merge contrib with plugins. Add LICENSE for prtview.

This commit is contained in:
Marco Cawthorne 2021-06-02 14:10:27 +02:00
parent af91433555
commit cf3454caba
31 changed files with 7 additions and 12 deletions

View file

@ -4,7 +4,6 @@ all:
cd radiant && $(MAKE)
cd plugins && $(MAKE)
cd tools && $(MAKE)
cd contrib && $(MAKE)
clean:
-rm -rf ./build
@ -12,4 +11,3 @@ clean:
cd radiant && $(MAKE) clean
cd plugins && $(MAKE) clean
cd tools && $(MAKE) clean
cd contrib && $(MAKE) clean

View file

@ -1,8 +0,0 @@
all:
mkdir -p ../build/plugins
cd brushexport && $(MAKE)
cd prtview && $(MAKE)
clean:
-rm -rf ../build/plugins
cd brushexport && $(MAKE) clean
cd prtview && $(MAKE) clean

Binary file not shown.

View file

@ -8,6 +8,8 @@ all:
cd model && $(MAKE)
cd shaders && $(MAKE)
cd vfspk3 && $(MAKE)
cd brushexport && $(MAKE)
cd prtview && $(MAKE)
clean:
-rm -rf ../build/plugins
cd archivezip && $(MAKE) clean
@ -18,3 +20,5 @@ clean:
cd model && $(MAKE) clean
cd shaders && $(MAKE) clean
cd vfspk3 && $(MAKE) clean
cd brushexport && $(MAKE) clean
cd prtview && $(MAKE) clean

1
plugins/prtview/LICENSE Normal file
View file

@ -0,0 +1 @@

View file

@ -28,7 +28,7 @@ WS_LIBS= ../libs/libcmdlib.a \
../libs/libxmllib.a
WS_CFLAGS=$(CFLAGS) $(GTK_CFLAGS) -I../include -I../libs -DGTK_TARGET=2 $(WS_VERSION) -DPOSIX -DXWINDOWS
WS_LDFLAGS=$(LDFLAGS) -ldl -lm $(GTK_LDFLAGS) -lX11 -lGL -lxml2 -lgdkglext-x11-1.0 -lgtkglext-x11-1.0 -L../lib $(WS_LIBS)
WS_LDFLAGS=$(LDFLAGS) -lm $(GTK_LDFLAGS) -lX11 -lGL -lxml2 -lgdkglext-x11-1.0 -lgtkglext-x11-1.0 -L../lib $(WS_LIBS)
DO_CXX=$(CXX) $(WS_CFLAGS) -o $@ -c $<

View file

@ -12,7 +12,7 @@ WS_VERSION= -DWorldSpawn_VERSION="1" -DWorldSpawn_MAJOR_VERSION="0" -DWorldSpawn
GLIB_CFLAGS=$(shell pkg-config --cflags glib-2.0)
GLIB_LDFLAGS=$(shell pkg-config --libs glib-2.0)
VMAP_CFLAGS=$(CFLAGS) $(GLIB_CFLAGS) -I../include -I./common -I../libs -DPOSIX -Wno-narrowing $(WS_VERSION)
VMAP_LDFLAGS=$(LDFLAGS) $(GLIB_LDFLAGS) -ldl -lm -lpthread -L../lib -lxml2 -ljpeg -lpng -lminizip $(LIBOBJS)
VMAP_LDFLAGS=$(LDFLAGS) $(GLIB_LDFLAGS) -lm -lpthread -L../lib -lxml2 -ljpeg -lpng -lminizip $(LIBOBJS)
DO_CC=$(CC) $(VMAP_CFLAGS) -o $@ -c $<