summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/ogAdmAgent/Makefile
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-05-19 18:32:44 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-05-19 18:40:36 +0200
commit304152d3f387cb14daf0e4ed960ae0767092de8f (patch)
tree13b21f710a48584de497c70a954eae14a74a465e /admin/Sources/Services/ogAdmAgent/Makefile
parentedf5a2299e31756cfc1312af699a8932b81a34e8 (diff)
#971 remove ogAdmClient and ogAdmAgentdevel-ogadmserver-for-master
ogAdmClient has been replaced by ogClient. ogAdmAgent has been integrated into ogAdmServer.
Diffstat (limited to 'admin/Sources/Services/ogAdmAgent/Makefile')
-rw-r--r--admin/Sources/Services/ogAdmAgent/Makefile42
1 files changed, 0 insertions, 42 deletions
diff --git a/admin/Sources/Services/ogAdmAgent/Makefile b/admin/Sources/Services/ogAdmAgent/Makefile
deleted file mode 100644
index b9d39b9b..00000000
--- a/admin/Sources/Services/ogAdmAgent/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# makefile
-
-# Nombre del proyecto
-PROYECTO := ogAdmAgent
-
-# Directorio de instalaciĆ³n
-INSTALL_DIR := /opt/opengnsys
-
-# Opciones de compilacion
-CFLAGS := $(shell mysql_config --cflags)
-CFLAGS += -g -Wall -I../../Includes
-CPPFLAGS := $(CFLAGS)
-
-# Opciones de linkado
-LDFLAGS := -Wl,--no-as-needed $(shell mysql_config --libs) -lpthread
-
-# Ficheros objetos
-OBJS := ../../Includes/Database.o sources/ogAdmAgent.o
-
-
-all: $(PROYECTO)
-
-$(PROYECTO): $(OBJS)
- g++ $(LDFLAGS) $(OBJS) -o $(PROYECTO)
-
-install: $(PROYECTO)
- cp $(PROYECTO) $(INSTALL_DIR)/sbin
- cp $(PROYECTO).cfg $(INSTALL_DIR)/etc
-
-clean:
- rm -f $(PROYECTO) $(OBJS)
-
-uninstall: clean
- rm -f /usr/local/sbin/$(PROYECTO) /usr/local/etc/$(PROYECTO).cfg
-
-sources/%.o: sources/%.cpp
- g++ $(CPPFLAGS) -c -o"$@" "$<"
-
-sources/%.o: sources/%.c
- gcc $(CFLAGS) -c -o"$@" "$<"
-
-