Skip to content

Commit fcb4a4b

Browse files
committed
Makefile: re-generate
1 parent 67bc6c8 commit fcb4a4b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ subdirs:
2727
else $(MAKE); fi) || exit; done
2828

2929
tests: all
30-
cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/pkgconfig.log" "$(OBJDIR)tests/pylint.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log fixme.log pkgconfig.log pylint.log tests.log; fi)
30+
cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/pclint.log" "$(OBJDIR)tests/pkgconfig.log" "$(OBJDIR)tests/pylint.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log fixme.log pclint.log pkgconfig.log pylint.log tests.log; fi)
3131

3232
clean:
3333
@for i in $(SUBDIRS); do (cd "$$i" && \
@@ -119,6 +119,7 @@ dist:
119119
$(PACKAGE)-$(VERSION)/tests/config-noeol.conf \
120120
$(PACKAGE)-$(VERSION)/tests/coverage.sh \
121121
$(PACKAGE)-$(VERSION)/tests/fixme.sh \
122+
$(PACKAGE)-$(VERSION)/tests/pclint.sh \
122123
$(PACKAGE)-$(VERSION)/tests/pkgconfig.sh \
123124
$(PACKAGE)-$(VERSION)/tests/pylint.sh \
124125
$(PACKAGE)-$(VERSION)/tests/python.sh \

tests/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TARGETS = $(OBJDIR)array$(EXEEXT) $(OBJDIR)buffer$(EXEEXT) $(OBJDIR)clint.log $(OBJDIR)config$(EXEEXT) $(OBJDIR)coverage.log $(OBJDIR)error$(EXEEXT) $(OBJDIR)event$(EXEEXT) $(OBJDIR)fixme.log $(OBJDIR)includes$(EXEEXT) $(OBJDIR)parser$(EXEEXT) $(OBJDIR)pkgconfig.log $(OBJDIR)pylint.log $(OBJDIR)string$(EXEEXT) $(OBJDIR)variable$(EXEEXT) $(OBJDIR)tests.log
1+
TARGETS = $(OBJDIR)array$(EXEEXT) $(OBJDIR)buffer$(EXEEXT) $(OBJDIR)clint.log $(OBJDIR)config$(EXEEXT) $(OBJDIR)coverage.log $(OBJDIR)error$(EXEEXT) $(OBJDIR)event$(EXEEXT) $(OBJDIR)fixme.log $(OBJDIR)includes$(EXEEXT) $(OBJDIR)parser$(EXEEXT) $(OBJDIR)pclint.log $(OBJDIR)pkgconfig.log $(OBJDIR)pylint.log $(OBJDIR)string$(EXEEXT) $(OBJDIR)variable$(EXEEXT) $(OBJDIR)tests.log
22
OBJDIR =
33
PREFIX = /usr/local
44
DESTDIR =
@@ -78,6 +78,9 @@ parser_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
7878
$(OBJDIR)parser$(EXEEXT): $(parser_OBJS)
7979
$(CC) -o $(OBJDIR)parser$(EXEEXT) $(parser_OBJS) $(parser_LDFLAGS)
8080

81+
$(OBJDIR)pclint.log: $(OBJDIR)../data/libSystem.pc pclint.sh
82+
./pclint.sh -P "$(PREFIX)" -- "$(OBJDIR)pclint.log"
83+
8184
$(OBJDIR)pkgconfig.log: $(OBJDIR)../data/libSystem.pc pkgconfig.sh
8285
./pkgconfig.sh -P "$(PREFIX)" -- "$(OBJDIR)pkgconfig.log"
8386

@@ -133,6 +136,7 @@ clean:
133136
./clint.sh -c -P "$(PREFIX)" -O CPPFLAGS="-I$(DESTDIR)$(PREFIX)/include -I../include `pkg-config --cflags python-2.7`" -- "$(OBJDIR)clint.log"
134137
./coverage.sh -c -P "$(PREFIX)" -- "$(OBJDIR)coverage.log"
135138
./fixme.sh -c -P "$(PREFIX)" -- "$(OBJDIR)fixme.log"
139+
./pclint.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pclint.log"
136140
./pkgconfig.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pkgconfig.log"
137141
./pylint.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pylint.log"
138142
./tests.sh -c -P "$(PREFIX)" -- "$(OBJDIR)tests.log"

0 commit comments

Comments
 (0)