11# The following two variables must be set.
22#
33# Directory containing the C client include files.
4- # DIFFUSION_C_CLIENT_INCDIR =
4+ # DIFFUSION_C_CLIENT_INCDIR =
55#
66# Directory containing libdiffusion.a
7- # DIFFUSION_C_CLIENT_LIBDIR =
7+ # DIFFUSION_C_CLIENT_LIBDIR =
8+ #
9+ # Directory that will contain the executables and generated objects
10+ # TARGETDIR =
811
912ifndef DIFFUSION_C_CLIENT_INCDIR
1013$(error DIFFUSION_C_CLIENT_INCDIR is not set)
@@ -18,7 +21,7 @@ ifndef TARGETDIR
1821$(error TARGETDIR is not set)
1922endif
2023
21- # Extra definitions from parent directory, if they exist.
24+ # Extra definitions from current directory, if they exist.
2225-include makefile.defs
2326
2427CFLAGS += $(INCLUDES ) \
@@ -97,6 +100,7 @@ SOURCES = connect-async.c \
97100 manual/fetch_topics.c \
98101 manual/messaging.c \
99102 manual/missing_topic_notification.c \
103+ manual/quick_start_guide.c \
100104 manual/reconnecting.c \
101105 manual/reconnection_strategy.c \
102106 manual/remove_topics.c \
@@ -164,39 +168,7 @@ TARGETS = connect-async \
164168 topics-double \
165169 topics-fetch \
166170 topics-int64 \
167- topics-binary \
168- website-publish-subscribe \
169- website-request-response \
170- website-rest \
171- website-time-series \
172- manual-authentication-control \
173- manual-client-control \
174- manual-connecting-basics \
175- manual-connecting-credentials \
176- manual-connecting-securely \
177- manual-fetch-topics \
178- manual-messaging \
179- manual-missing-topic-notification \
180- manual-reconnecting \
181- manual-reconnection-strategy \
182- manual-remove-topics \
183- manual-security-control \
184- manual-session-locks \
185- manual-session-properties \
186- manual-subscribe-to-json \
187- manual-subscription \
188- manual-subscription-control \
189- manual-subscription-control-filter \
190- manual-system-authentication-control \
191- manual-timeseries-publish \
192- manual-timeseries-subscribe \
193- manual-topic-control \
194- manual-topic-control-create-and-subscribe-json \
195- manual-topic-notifications \
196- manual-topic-update-exclusive \
197- manual-topic-update-json \
198- manual-topic-update-non-exclusive \
199- manual-value-streams
171+ topics-binary
200172
201173.PHONY : all
202174
@@ -337,102 +309,5 @@ topics-int64: features/topics/int64-topics.c
337309topics-binary : features/topics/binary-topics.c
338310 $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
339311
340- website-publish-subscribe : website/publish-subscribe.c
341- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
342-
343- website-request-response : website/request-response.c
344- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
345-
346- website-rest : website/rest.c
347- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
348-
349- website-time-series : website/time-series.c
350- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
351-
352- manual-authentication-control : manual/authentication_control.c
353- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
354-
355- manual-client-control : manual/client_control.c
356- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
357-
358- manual-connecting-basics : manual/connecting_basics.c
359- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
360-
361- manual-connecting-credentials : manual/connecting_credentials.c
362- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
363-
364- manual-connecting-securely : manual/connecting_securely.c
365- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
366-
367- manual-fetch-topics : manual/fetch_topics.c
368- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
369-
370- manual-messaging : manual/messaging.c
371- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
372-
373- manual-missing-topic-notification : manual/missing_topic_notification.c
374- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
375-
376- manual-reconnecting : manual/reconnecting.c
377- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
378-
379- manual-reconnection-strategy : manual/reconnection_strategy.c
380- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
381-
382- manual-remove-topics : manual/remove_topics.c
383- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
384-
385- manual-security-control : manual/security_control.c
386- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
387-
388- manual-session-locks : manual/session_locks.c
389- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
390-
391- manual-session-properties : manual/session_properties.c
392- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
393-
394- manual-subscribe-to-json : manual/subscribe_to_json.c
395- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
396-
397- manual-subscription : manual/subscription.c
398- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
399-
400- manual-subscription-control : manual/subscription_control.c
401- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
402-
403- manual-subscription-control-filter : manual/subscription_control_filter.c
404- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
405-
406- manual-system-authentication-control : manual/system_authentication_control.c
407- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
408-
409- manual-timeseries-publish : manual/timeseries_publish.c
410- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
411-
412- manual-timeseries-subscribe : manual/timeseries_subscribe.c
413- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
414-
415- manual-topic-control : manual/topic_control.c
416- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
417-
418- manual-topic-control-create-and-subscribe-json : manual/topic_control_create_and_subscribe_json.c
419- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
420-
421- manual-topic-notifications : manual/topic_notifications.c
422- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
423-
424- manual-topic-update-exclusive : manual/topic_update_exclusive.c
425- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
426-
427- manual-topic-update-json : manual/topic_update_json.c
428- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
429-
430- manual-topic-update-non-exclusive : manual/topic_update_non_exclusive.c
431- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
432-
433- manual-value-streams : manual/value_streams.c
434- $(CC ) $^ $(CFLAGS ) $(LDFLAGS ) -lm -o $(BINDIR ) /$@
435-
436-
437312clean :
438313 rm -rf $(TARGETS ) $(OBJECTS ) $(TARGETDIR ) core a.out
0 commit comments