mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
programs/dtappbuilder: add automake files
This commit is contained in:
parent
4984f3db19
commit
41d3e651b4
3 changed files with 63 additions and 0 deletions
7
cde/programs/dtappbuilder/Makefile.am
Normal file
7
cde/programs/dtappbuilder/Makefile.am
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
.NO_PARALLEL:
|
||||||
|
endif
|
||||||
|
|
||||||
|
SUBDIRS = src
|
28
cde/programs/dtappbuilder/src/Makefile.am
Normal file
28
cde/programs/dtappbuilder/src/Makefile.am
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
.NO_PARALLEL:
|
||||||
|
endif
|
||||||
|
|
||||||
|
SUBDIRS = libAButil libABobj libABobjXm libABil abmf ab
|
||||||
|
|
||||||
|
dtbuilder::
|
||||||
|
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
|
||||||
|
for i in libAButil libABobj libABobjXm libABil ab ;\
|
||||||
|
do \
|
||||||
|
(cd $$i ; echo "making" dtbuilder "in $(CURRENT_DIR)/$$i..."; \
|
||||||
|
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'FIRST_LIBPATH=$(FIRST_LIBPATH)' 'FIRST_INCLUDES=$(FIRST_INCLUDES)' dtbuilder); \
|
||||||
|
done
|
||||||
|
|
||||||
|
dtcodegen::
|
||||||
|
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
|
||||||
|
for i in libAButil libABobj libABobjXm libABil abmf ;\
|
||||||
|
do \
|
||||||
|
(cd $$i ; echo "making" dtcodegen "in $(CURRENT_DIR)/$$i..."; \
|
||||||
|
$(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'FIRST_LIBPATH=$(FIRST_LIBPATH)' 'FIRST_INCLUDES=$(FIRST_INCLUDES)' dtcodegen); \
|
||||||
|
done
|
||||||
|
|
||||||
|
bin_PROGRAMS = dtcodegen dtbuilder
|
||||||
|
|
||||||
|
clean::
|
||||||
|
$(RM) -rf include
|
28
cde/programs/dtappbuilder/src/ab/Makefile.am
Normal file
28
cde/programs/dtappbuilder/src/ab/Makefile.am
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
# Since dtcodegen depends on libXm, libDtWidget, and other libs,
|
||||||
|
# it will not be built properly during make includes.
|
||||||
|
# So, when 'all' is made in this directory, redo make includes/depend.
|
||||||
|
# An imake hack no doubt, but it is necessary for now.
|
||||||
|
|
||||||
|
|
||||||
|
all:: generated_includes abdepend
|
||||||
|
|
||||||
|
include "../ab.tmpl"
|
||||||
|
include "../ab.rules"
|
||||||
|
|
||||||
|
bin_PROGRAMS = dtbuilder
|
||||||
|
|
||||||
|
if BSD
|
||||||
|
UTILLIB = -lutil
|
||||||
|
endif
|
||||||
|
|
||||||
|
dtbuilder_LDADD = ../libABil/libABil.a ../libABobjXm/libABobjXm.a \
|
||||||
|
../libABobj/libABobj.a ../libAButil/libAButil.a \
|
||||||
|
$(LIBWIDGET) $(LIBTERM) $(LIBHELP) $(LIBSVC) \
|
||||||
|
$(LIBTT) -lUil $(MRESOURCELIB) -lXm $(XTOOLLIB) ${X_LIB} \
|
||||||
|
$(UTILLIB) -lm
|
||||||
|
|
||||||
|
dtbuilder_CFLAGS = -DPIXMAP_WORKAROUND -I$(ABINCLUDES)
|
||||||
|
|
||||||
|
dtbuilder_SOURCES =
|
Loading…
Reference in a new issue