mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
programs/dtfile: add automake files
This commit is contained in:
parent
407153b0f3
commit
febc0c45c1
2 changed files with 61 additions and 0 deletions
49
cde/programs/dtfile/Makefile.am
Normal file
49
cde/programs/dtfile/Makefile.am
Normal file
|
@ -0,0 +1,49 @@
|
|||
configdir = ${prefix}/config/C
|
||||
|
||||
SUBDIRS = dtcopy
|
||||
|
||||
bin_PROGRAMS = dtfile
|
||||
|
||||
dist_config_DATA = dtfile.config
|
||||
|
||||
dist_bin_SCRIPTS = dtfile_error
|
||||
|
||||
dtfile_CPPFLAGS = -I./dtcopy -I(TIRPCINC) -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
||||
-DUSE_XINERAMA -DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||
-DKORNSHELL=\"$(KSH)\" -I${x_includes}/freetype2
|
||||
|
||||
dtfile_LDADD = $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) $(LIBSVC) $(LIBTT) -lXm \
|
||||
$(XTOOLLIB) ${X_LIBS} -lXinerama dtcopy/sharedFuncs.o \
|
||||
dtcopy/fsrtns.o
|
||||
|
||||
if OPENBSD
|
||||
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
||||
endif
|
||||
|
||||
if LINUX
|
||||
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
||||
endif
|
||||
|
||||
if SUN
|
||||
dtfile_CFLAGS += -xF
|
||||
dtfile_LDADD += -lintl -lresolv
|
||||
endif
|
||||
|
||||
dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
|
||||
Desktop.c Directory.c Encaps.c File.c \
|
||||
FileDialog.c FileManip.c FileMgr.c FileOp.c \
|
||||
Filter.c FilterP.c Find.c FindP.c \
|
||||
Help.c HelpCB.c HelpP.c IconWindow.c \
|
||||
IconicPath.c Main.c Menu.c MkDir.c \
|
||||
ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
|
||||
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
|
||||
ToolTalk.c Trash.c Utils.c fsDialog.c
|
||||
|
||||
CPPSRC = dtfile.config.cpp
|
||||
CPPTARGET = dtfile.config
|
||||
include $(srcdir)/include/cppfile.tmpl
|
||||
|
||||
CPPSRC = dtfile_error
|
||||
CPPTARGET = dtfile_error
|
||||
include $(srcdir)/include/cppfile.tmpl
|
12
cde/programs/dtfile/dtcopy/Makefile.am
Normal file
12
cde/programs/dtfile/dtcopy/Makefile.am
Normal file
|
@ -0,0 +1,12 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = dtfile_copy
|
||||
|
||||
dtfile_copy_CFLAGS = -DSHAPE
|
||||
|
||||
if SUN
|
||||
dtfile_copy_CFLAGS += -xF
|
||||
endif
|
||||
|
||||
dtfile_copy_SOURCES = main_dtcopy.c copydialog.c overwrtdialog.c dosync.c \
|
||||
fsrtns.c utils.c errordialog.c sharedFuncs.c
|
Loading…
Reference in a new issue