Skip to content

Commit 91b6f95

Browse files
committed
fix build script
Signed-off-by: TTFISH <jiongchiyu@gmail.com>
1 parent c13f20a commit 91b6f95

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

Makefile.am

+7-18
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ doc_DATA = \
1010
COPYING \
1111
CHANGES.md \
1212
CHANGES-1.x.md \
13-
INSTALL \
13+
INSTALL.md \
1414
LICENSE \
1515
NOTICE \
1616
README.md \
@@ -105,7 +105,7 @@ check_PROGRAMS = \
105105
test-pdf \
106106
test-ps \
107107
testfilters
108-
108+
109109
TESTS = \
110110
testdither \
111111
testpdf1 \
@@ -173,6 +173,8 @@ libcupsfilters_la_SOURCES = \
173173
cupsfilters/imagetopdf.c \
174174
cupsfilters/imagetoraster.c \
175175
cupsfilters/ipp.c \
176+
cupsfilters/libcups2.c \
177+
cupsfilters/libcups2-private.h \
176178
cupsfilters/lut.c \
177179
cupsfilters/mupdftopwg.c \
178180
cupsfilters/pack.c \
@@ -240,7 +242,7 @@ libcupsfilters_la_LDFLAGS = \
240242
-version-info 2
241243
if BUILD_DBUS
242244
libcupsfilters_la_CFLAGS += $(DBUS_CFLAGS) -DHAVE_DBUS
243-
libcupsfilters_CXXFLAGS = -std=c++0x $(libcupsfilters_CFLAGS) # -std=c++11
245+
libcupsfilters_la_CXXFLAGS = -std=c++11 $(libcupsfilters_la_CFLAGS) # -std=c++11
244246
libcupsfilters_la_LIBADD += $(DBUS_LIBS)
245247
endif
246248

@@ -315,7 +317,6 @@ test_pdf_LDADD = libcupsfilters.la
315317
test_ps_SOURCES = cupsfilters/fontembed/test-ps.c
316318
test_ps_LDADD = libcupsfilters.la
317319

318-
319320
testfilters_SOURCES = \
320321
cupsfilters/testfilters.c \
321322
$(pkgfiltersinclude_DATA)
@@ -327,7 +328,7 @@ testfilters_LDADD = \
327328
testfilters_LDFLAGS = \
328329
-D_GNU_SOURCE \
329330
-L/usr/lib
330-
331+
331332
EXTRA_DIST += \
332333
$(pkgfiltersinclude_DATA) \
333334
cupsfilters/image.pgm \
@@ -371,16 +372,4 @@ install-data-hook:
371372
uninstall-hook:
372373
$(RM) $(DESTDIR)$(pkgcharsetdir)/pdf.utf-8
373374

374-
SUBDIRS =
375-
376-
#testdestdir := $(shell pwd)/test
377-
#testcases = 3
378-
379-
#$(testdestdir)/cupsfilterssuite.exe: $(testdestdir)/cupsfilterssuite.c
380-
# gcc $< -L -D_GNU_SOURCE -lcupsfilters -lm -ldl -o $@
381-
382-
#.PHONY: check
383-
#check:
384-
# echo "Running the input output test for universal..."
385-
# $(testdestdir)/cupsfilterssuite.exe $(testdestdir)/test-filter-cases.txt $(testcases) &> $(testdestdir)/Test_summary.txt
386-
375+
SUBDIRS =

0 commit comments

Comments
 (0)