|
|
@@ -10,6 +10,8 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) |
|
|
|
|
|
|
|
export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS |
|
|
|
|
|
|
|
NUMJOBS := -j$(shell nproc) |
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode. |
|
|
|
#export DH_VERBOSE=1 |
|
|
|
|
|
|
@@ -58,7 +60,7 @@ fltk-stamp: |
|
|
|
(cd fltk-*;DSOFLAGS="$(filter-out -fPIE -pie,$(LDFLAGS))" \ |
|
|
|
./configure --enable-shared=no --enable-cairo --enable-cp936 \ |
|
|
|
--with-optim="$(CFLAGS) $(XCFLAGS)" --libdir=$(libdir)) |
|
|
|
make -C fltk-* |
|
|
|
make $(NUMJOBS) -C fltk-* |
|
|
|
touch fltk-stamp |
|
|
|
|
|
|
|
configure: config-stamp |
|
|
@@ -145,8 +147,8 @@ build-arch-stamp: |
|
|
|
# Add here command to compile/build the package. |
|
|
|
# Build first things. |
|
|
|
# Build Xvnc |
|
|
|
make LDFLAGS="-lpng" |
|
|
|
(cd unix/xserver;make) |
|
|
|
make $(NUMJOBS) LDFLAGS="-lpng" |
|
|
|
make $(NUMJOBS) -C unix/xserver |
|
|
|
|
|
|
|
touch build-arch-stamp |
|
|
|
|