mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Don't build libdecor demos, add generated files to .gitignore
1) We don't need to build the libdecor demo programs for FLTK. 2) The Wayland build process generates some source and header files in the main src/ directory. These files are now ignored by git.
This commit is contained in:
+13
-2
@@ -83,7 +83,18 @@ etc/FLTKConfig.cmake
|
|||||||
/src/*.sav
|
/src/*.sav
|
||||||
/src/*.dylib
|
/src/*.dylib
|
||||||
|
|
||||||
# /test/
|
# Wayland build artifacts (generated files)
|
||||||
# see test/.gitignore
|
|
||||||
|
src/text-input-client-protocol.h
|
||||||
|
src/text-input-protocol.c
|
||||||
|
src/xdg-decoration-client-protocol.h
|
||||||
|
src/xdg-decoration-protocol.c
|
||||||
|
src/xdg-shell-client-protocol.h
|
||||||
|
src/xdg-shell-protocol.c
|
||||||
|
|
||||||
|
# Wayland demo programs (no longer being built)
|
||||||
|
|
||||||
|
# libdecor/build/demo
|
||||||
|
# libdecor/build/egl
|
||||||
|
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
|||||||
@@ -38,11 +38,12 @@ Linux_NOPIE = -no-pie
|
|||||||
FreeBSD_NOPIE =
|
FreeBSD_NOPIE =
|
||||||
NOPIE = ${${UNAME}_NOPIE}
|
NOPIE = ${${UNAME}_NOPIE}
|
||||||
|
|
||||||
all : demo $(GLWLDEMO)
|
# Don't build libdecor demo programs automatically: demo $(GLWLDEMO)
|
||||||
|
all : $(OBJECTS)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
: echo "libdecor/build: make depend..."
|
: echo "libdecor/build: make depend..."
|
||||||
|
|
||||||
fl_libdecor.o : fl_libdecor.c ../src/libdecor.c ../../src/xdg-shell-protocol.c ../../src/xdg-decoration-protocol.c ../../src/text-input-protocol.c
|
fl_libdecor.o : fl_libdecor.c ../src/libdecor.c ../../src/xdg-shell-protocol.c ../../src/xdg-decoration-protocol.c ../../src/text-input-protocol.c
|
||||||
$(CC) $(CFLAGS) $(CFLAGS_DECOR) -c fl_libdecor.c -DLIBDECOR_PLUGIN_API_VERSION=1 -DLIBDECOR_PLUGIN_DIR=\"\"
|
$(CC) $(CFLAGS) $(CFLAGS_DECOR) -c fl_libdecor.c -DLIBDECOR_PLUGIN_API_VERSION=1 -DLIBDECOR_PLUGIN_DIR=\"\"
|
||||||
|
|
||||||
@@ -79,12 +80,12 @@ cursor-settings.o : ../src/cursor-settings.c
|
|||||||
wayland-scanner client-header \
|
wayland-scanner client-header \
|
||||||
$(PROTOCOLS)/unstable/text-input/text-input-unstable-v3.xml \
|
$(PROTOCOLS)/unstable/text-input/text-input-unstable-v3.xml \
|
||||||
../../src/text-input-client-protocol.h
|
../../src/text-input-client-protocol.h
|
||||||
|
|
||||||
demo : ../demo/demo.c $(OBJECTS)
|
demo : ../demo/demo.c $(OBJECTS)
|
||||||
$(CC) -o demo ../demo/demo.c -D_GNU_SOURCE -I../.. -I../src -I. -I../../src $(EXTRA_DECOR) $(OBJECTS) $(LDLIBS) -lm -rdynamic $(NOPIE) -Wl,--defsym=fl_libdecor_using_weston=0
|
$(CC) -o demo ../demo/demo.c -D_GNU_SOURCE -I../.. -I../src -I. -I../../src $(EXTRA_DECOR) $(OBJECTS) $(LDLIBS) -lm -rdynamic $(NOPIE) -Wl,--defsym=fl_libdecor_using_weston=0
|
||||||
|
|
||||||
egl : ../demo/egl.c $(OBJECTS)
|
egl : ../demo/egl.c $(OBJECTS)
|
||||||
$(CC) -o egl ../demo/egl.c -D_GNU_SOURCE -I../.. -I../src -I. -I../../src $(EXTRA_DECOR) $(OBJECTS) $(GLDLIBS) -lm -rdynamic $(NOPIE) -Wl,--defsym=fl_libdecor_using_weston=0
|
$(CC) -o egl ../demo/egl.c -D_GNU_SOURCE -I../.. -I../src -I. -I../../src $(EXTRA_DECOR) $(OBJECTS) $(GLDLIBS) -lm -rdynamic $(NOPIE) -Wl,--defsym=fl_libdecor_using_weston=0
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|||||||
Reference in New Issue
Block a user